View gist:4ac229ec076910814bd31bcdd18ef274
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am gregburek on github. | |
* I am gregburek (https://keybase.io/gregburek) on keybase. | |
* I have a public key ASAcdCj-CcnUVWdMJ84MHSEosEOWnx1LOGGiXSaLzYVEowo | |
To claim this, I am signing this object: |
View PHD_event_types.csv
This file contains 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
Category | Code | Service | ||
---|---|---|---|---|
EVENTTYPES | issue | AWS_ABUSE_EC2_BOTNET_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_CC_FRAUD_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_COPYRIGHT_DMCA_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_COPYRIGHT_NON_DMCA_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_DOS_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_EMAIL_SPAM_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_FORUM_SPAM_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_ILLEGAL_CONTENT_REPORT | ABUSE | |
EVENTTYPES | issue | AWS_ABUSE_EC2_INTRUSION_ATTEMPT_REPORT | ABUSE |
View gist:32b999496b522f84ce3d8d7d0ca6c4fc
This file contains 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
[3370077.979925] carbon-cache.py[69842]: segfault at 24 ip 0000000000537388 sp 00007ffd105d0ed0 error 6 in python2.7[400000+2bc000] | |
[3370077.981359] carbon-cache.py[69810]: segfault at 24 ip 00000000004c4bce sp 00007ffc0f523a90 error 6 in python2.7[400000+2bc000] | |
[3370077.987527] Process 70244(apport) has RLIMIT_CORE set to 1 | |
[3370077.987531] Aborting core | |
[3370077.987869] carbon-cache.py[69802]: segfault at 24 ip 00000000004c4bce sp 00007ffd9893b8e0 error 6 in python2.7[400000+2bc000] | |
[3370077.988510] carbon-cache.py[69898]: segfault at 24 ip 0000000000537388 sp 00007ffdf3594470 error 6 in python2.7[400000+2bc000] | |
[3370077.988915] Core dump to |/usr/share/apport/apport 69802 11 0 69802 pipe failed | |
[3370077.988926] Core dump to |/usr/share/apport/apport 69898 11 0 69898 pipe failed | |
[3370077.991585] carbon-cache.py[69874]: segfault at 24 ip 00000000004c4bce sp 00007ffd4bc78d00 error 6 in python2.7[400000+2bc000] | |
[3370077.991813] Core dump to |/usr/share/apport/apport 69874 11 0 69874 pipe failed |
View gist:cb9d808f5a4b339cd6fd
This file contains 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
> ObjectSpace.dump_all(output: File.open("heap.json", "w")) | |
> `file heap.json` | |
=> "heap.json: ASCII text, with very long lines\n" | |
> `ls -al heap.json` | |
=> "-rw------- 1 u47788 47788 985808896 Mar 10 05:29 heap.json\n" | |
> `du -sh heap.json` | |
=> "941M\theap.json\n" | |
> `cat heap.json | ruby -rjson -ne ' obj = JSON.parse($_).values_at("file","line","type"); puts obj.join(":") if obj.first '> /dev/null` | |
/app/vendor/bundle/ruby/2.2.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse': 757: unexpected token at '{"address":"0x7f9dd68e3f20", "type":"STRING", "class":"0x7f9dc82b0ee0", "embedded":true, "bytesiz' (JSON::ParserError) | |
from /app/vendor/bundle/ruby/2.2.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse' |
View gist:0341d8f2757562ed8368
This file contains 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
vmstat | |
dstat | |
mpstat | |
htop | |
iostat | |
sar | |
uptime | |
pidstat | |
pstree | |
iptraf |
View .zshrc
This file contains 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
gifify() { | |
if [[ -n "$1" ]]; then | |
if [[ $2 == '--good' ]]; then | |
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
rm out-static*.png | |
else | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
fi | |
else |
View -
This file contains 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
install ack | |
install autojump | |
install bazaar | |
install brew-cask | |
install coreutils | |
install ctags | |
install docker | |
install ec2-api-tools | |
install fftw | |
install gawk |
View gist:7472711
This file contains 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
For someone that is rather technical, you should be able to just pound the online exams and take the exam. | |
As for a radio, HRO (http://hamradio.com) has stores in Sunnyvale and Oakland | |
# Study Materials | |
- http://www.eham.net/exams/ | |
- http://qrz.com/hamtest/ | |
- https://ssl.qrz.com/bookstore (The Gordon West Book is used qute a bit) | |
# Register for an Exam |
View whisper-clean.py
This file contains 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
import os | |
import os.path | |
import sys | |
from graphite.render.hashing import ConsistentHashRing | |
instances = [] | |
unwelcome_instances = [] | |
for arg in sys.argv[1:]: | |
unwelcome = False |
View caveatPatchor.js
This file contains 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
// ~/Library/Application Support/Propane/unsupported/caveatPatchor.js | |
var mapping = {}; | |
var loadEmotes = function(response) { | |
response.forEach(function(a){a.emoticons.forEach(function(b){mapping[b.code] = b.image})}); | |
window.chat.speaker.filters.unshift( | |
function(m){ | |
var match; | |
if(match=m.match(/^:(.*):$/)){ | |
return mapping[match[0]]; |
NewerOlder