This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/etherpad/src/static/css/ace2/editor.less b/etherpad/src/static/css/ace2/editor.less | |
| index 28524a9..31d4a9a 100644 | |
| --- a/etherpad/src/static/css/ace2/editor.less | |
| +++ b/etherpad/src/static/css/ace2/editor.less | |
| @@ -338,7 +338,7 @@ div.ace-line { | |
| padding-left: @new_left_padding; | |
| padding-right: @new_right_padding; | |
| border-left: @left_border solid white; | |
| - font-size: 17px; | |
| + font-size: 14px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "crypto/rsa" | |
| "fmt" | |
| "log" | |
| "strings" | |
| "golang.org/x/crypto/openpgp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // based on drupal_array_merge_deep_array | |
| function MergeDeep($arrays, $filterFn = null) { | |
| return _merge_deep_array($arrays, "", 1, $filterFn); | |
| } | |
| function _merge_deep_array($arrays, $path, $depth, $filterFn) { | |
| // detect if associative or sequential array | |
| if (array_values($arrays) !== $arrays) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/binr/Makefile b/binr/Makefile | |
| index e9876a2..ef0e7d6 100644 | |
| --- a/binr/Makefile | |
| +++ b/binr/Makefile | |
| @@ -14,6 +14,8 @@ BINS=rax2 rasm2 rabin2 rahash2 radiff2 radare2 rafind2 rarun2 ragg2 r2agent | |
| # this command needs more love to bring it back | |
| #BINS+=ranal2 | |
| +LIBR2=$(call libname-version,libr2.$(EXT_SO),${LIBVERSION}) | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export GOROOT=/usr/local/go | |
| export PATH=$PATH:$GOROOT/bin/ | |
| export GOPATH=/opt/cloudpings/ | |
| cd /opt/cloudpings/ | |
| tmux new-session -d "go run *.go --port 80" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /usr/local/src/ | |
| yum install -y tmux vim | |
| yum groupinstall 'Development Tools' | |
| yum install libicu-devel libpng-devel libjpeg-turbo-devel freetype-devel | |
| yum install gperf libX11-devel | |
| wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-source.zip | |
| unzip phantomjs-2.0.0-source.zip | |
| cd phantomjs-2.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X PUT 'http://localhost:9200/proxy/pairs/_mapping' -d \'{ | |
| "pairs": { | |
| "properties": { | |
| "request" : { | |
| "properties" : { | |
| "headers" : { | |
| "properties" : { | |
| "Authorization": { | |
| "type": "string", | |
| "fields": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > aws ec2 describe-instances --query 'Reservations[*].Instances[*][Placement.AvailabilityZone,InstanceType]' --filters Name=instance-state-code,Values=16 --output text|sort|uniq -c | |
| 1 eu-west-1a m3.medium | |
| 2 eu-west-1a t2.large | |
| 4 eu-west-1a t2.medium | |
| 3 eu-west-1a t2.micro | |
| 3 eu-west-1a t2.nano | |
| 2 eu-west-1b m3.medium | |
| 2 eu-west-1b t2.medium | |
| 1 eu-west-1c t2.large | |
| 1 eu-west-1c t2.small |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| timestamp=$1 | |
| spot = "" | |
| if (match($0, /Probe Request \((.*)\)/, arr)) { | |
| spot = arr[1] | |
| } | |
| bssid = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| check process elasticsearch with pidfile /var/run/elasticsearch/elasticsearch.pid | |
| start program = "/etc/init.d/elasticsearch start" | |
| stop program = "/etc/init.d/elasticsearch stop" |