repositories
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fba92e
)
add cloogle client
author
Mart Lubbers
<mart@martlubbers.net>
Fri, 12 May 2017 07:48:09 +0000
(09:48 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Fri, 12 May 2017 07:48:09 +0000
(09:48 +0200)
x/.local/bin/cloo.gl
[new file with mode: 0755]
patch
|
blob
diff --git a/x/.local/bin/cloo.gl
b/x/.local/bin/cloo.gl
new file mode 100755
(executable)
index 0000000..
e9abf88
--- /dev/null
+++ b/
x/.local/bin/cloo.gl
@@ -0,0
+1,3
@@
+#!/bin/sh
+perl -pe 's/([^a-zA-Z0-9_.!~*()'\''-])/sprintf("%%%02X",ord($1))/ge' |
+ xargs -I{} curl -X POST -d "type=regular&token=a&url={}" http://cloo.gl