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
function mdopen | |
set tempfile "/tmp/temp_"(date +%s)".html" | |
pandoc $argv > $tempfile | |
open -a 'Google Chrome' $tempfile | |
sleep 2s | |
rm $tempfile | |
end |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
curl -s https://api.github.com/orgs/twitter/repos\?per_page\=200 | perl -ne 'print "$1\n" if (/"ssh_url": "([^"]+)/)' | xargs -n 1 git clone |
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
─ bob@kurapika [~] [ruby-2.2.0] | |
└─ $ curl -iv https://looker.production.posrip.com | |
* Rebuilt URL to: https://looker.production.posrip.com/ | |
* Hostname was NOT found in DNS cache | |
* Trying 54.88.117.162... | |
* Connected to looker.production.posrip.com (54.88.117.162) port 443 (#0) | |
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | |
* Server certificate: *.posrip.com | |
* Server certificate: Trustwave Organization Validation SHA256 CA, Level 1 | |
* Server certificate: SecureTrust CA |
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
root@sk-backoffice-production-webserver-ip-10-8-13-208:~# lsof -p 8299 |grep sock | |
ruby 8299 deploy mem REG 202,1 927642 661948 /usr/local/rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/x86_64-linux/socket.so | |
ruby 8299 deploy 10u sock 0,7 0t0 134080826 can't identify protocol | |
ruby 8299 deploy 14u unix 0xffff88003712f380 0t0 81730661 /srv/backoffice/shared/backoffice.sock | |
root@sk-backoffice-production-webserver-ip-10-8-13-208:~# |
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
ubuntu@sk-backoffice-production-webserver-ip-10-8-13-208:~$ ps auxfww |grep puma | |
ubuntu 5036 0.0 0.0 10464 924 pts/2 S+ 16:41 0:00 \_ grep --color=auto puma | |
deploy 25862 1.6 10.3 1185508 399032 ? Sl 16:21 0:19 puma: cluster worker 2: 25837 [20150226110954] | |
ubuntu@sk-backoffice-production-webserver-ip-10-8-13-208:~$ date |
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
ubuntu@sk-backoffice-production-webserver-ip-10-8-13-208:~$ ls -all /srv/backoffice/shared/backoffice.sock | |
srwxrwxrwx 1 deploy deploy 0 Feb 25 20:41 /srv/backoffice/shared/backoffice.sock | |
ubuntu@sk-backoffice-production-webserver-ip-10-8-13-208:~$ ls -all /srv/backoffice/shared/backoffice.sock | |
srwxrwxrwx 1 deploy deploy 0 Feb 26 16:42 /srv/backoffice/shared/backoffice.sock | |
ubuntu@sk-backoffice-production-webserver-ip-10-8-13-208:~$ |
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
/* body: #f7f7f7 #676767 #1682B9 | |
c1: #fff #858585 #FFFFFF | |
c2: #f7f7f7 #DDDDDD #66bc29 | |
*/ | |
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } | |
form { margin: 0; } | |
label { cursor: pointer; } | |
button, input { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; line-height: normal; *overflow: visible; } | |
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } |
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
File.dirname(__FILE__) | |
user = ENV['OPSCODE_USER'] || ENV['USER'] | |
node_name user | |
client_key "#{ENV['HOME']}/.chef/#{user}.pem" | |
validation_client_name "#{ENV['ORGNAME']}-validator" | |
validation_key "#{ENV['HOME']}/.chef/#{ENV['ORGNAME']}-validator.pem" | |
chef_server_url "https://api.opscode.com/organizations/#{ENV['ORGNAME']}" | |
syntax_check_cache_path "#{ENV['HOME']}/.chef/syntax_check_cache" | |
cookbook_path ["#{current_dir}/../cookbooks"] |
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 bobeckert on github. | |
* I am bobeckert (https://keybase.io/bobeckert) on keybase. | |
* I have a public key whose fingerprint is A7D3 C50D 99F1 AC1E 9101 664B 7A1D 7F12 AA3B 5C65 | |
To claim this, I am signing this object: |
NewerOlder