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
root@app-vbox-nj1-001:/var/lib/tomcat7/webapps$ service tomcat7 start | |
* Starting Tomcat servlet engine tomcat7 Oct 15, 2013 4:25:09 PM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["http-bio-8080"] | |
Oct 15, 2013 4:25:09 PM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 1245 ms | |
Oct 15, 2013 4:25:09 PM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Catalina | |
Oct 15, 2013 4:25:09 PM org.apache.catalina.core.StandardEngine startInternal | |
INFO: Starting Servlet Engine: Apache Tomcat/7.0.26 | |
Oct 15, 2013 4:25:09 PM org.apache.catalina.startup.HostConfig deployDescriptor |
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@analyzer-vbox-nj1-001:/var/lib/tomcat7/webapps$ Oct 15, 2013 2:37:56 PM org.apache.catalina.startup.HostConfig deployWARs | |
SEVERE: Error waiting for multi-thread deployment of WAR files to complete | |
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space | |
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) | |
at java.util.concurrent.FutureTask.get(FutureTask.java:111) | |
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:751) | |
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471) | |
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1453) | |
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:295) | |
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) |
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
stats realm HAProxyPortalStats | |
stats uri /stats | |
stats auth mimedia:stats |
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
w1-ma1#show int gi5/1 | |
GigabitEthernet5/1 is up, line protocol is up (connected) | |
Hardware is C6k 1000Mb 802.3, address is 000f.f7be.dea8 (bia 000f.f7be.dea8) | |
Description: "SDS1-MA1" | |
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, | |
reliability 255/255, txload 1/255, rxload 1/255 | |
Encapsulation ARPA, loopback not set | |
Keepalive set (10 sec) | |
Full-duplex, 1000Mb/s, media type is LH | |
input flow-control is off, output flow-control is on |
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@analyzer-aws-use-001:/var/log/mimedia$ cat indexer.log.2013-09-17-AM | |
2013-09-17 00:07:07,836 - INFO - com.jolbox.bonecp.BoneCP [Thread-1] - Shutting down connection pool... | |
2013-09-17 00:07:07,899 - INFO - com.jolbox.bonecp.BoneCP [Thread-1] - Connection pool has been shutdown. | |
root@analyzer-aws-use-001:/var/log/mimedia$ |
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:~# |
NewerOlder