I hereby claim:
- I am marcotc on github.
- I am marcotc (https://keybase.io/marcotc) on keybase.
- I have a public key whose fingerprint is 6B1F CA39 AC19 BE19 E647 2978 1A41 253C 9FF0 32BB
To claim this, I am signing this object:
val klass = classOf[java.lang.Object] | |
val loc = ClassLoader.getSystemClassLoader.getResource(klass.getName().replace('.', '/') + ".class").toString() |
rsync -azP -e ssh /path/to/local/file remoteuser@remotehost:/remote/dir/ |
Host * | |
User my_desired_user |
#AUTHOR: MARK KHAITMAN | |
from datetime import datetime, timedelta | |
from urlparse import urlparse | |
from csv import reader | |
fields = ('timestamp','elb','ip','backend:port','req_pt','bpt', | |
'res_pt','elb_status','backend_status','rec_bytes','sent_bytes', | |
'req','ua','ssl_cipher','ssl_protocol') | |
INACTIVITY_WINDOW = 60 |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.0</real> | |
<key>Green Component</key> | |
<real>0.0</real> |
MAX_BUILDS = 10 | |
for (job in Jenkins.instance.items) { | |
println job.name | |
def recent = job.builds.limit(MAX_BUILDS) | |
for (build in job.builds) { | |
if (!recent.contains(build)) { | |
println "Preparing to delete: " + build |
ActiveRecord::Base.logger = Logger.new(STDOUT) |
I hereby claim:
To claim this, I am signing this object:
meta: | |
id: nbt | |
file-extension: nbt | |
endian: be | |
application: Named Binary Tag (NBT) | |
seq: | |
- id: tag_compound | |
type: tag_compound | |
types: | |
tag_byte: |
ActiveRecord::Base.connection.exec_query("select * from TABLE") |