I hereby claim:
- I am justinholmes on github.
- I am justinholmes29 (https://keybase.io/justinholmes29) on keybase.
- I have a public key whose fingerprint is CC04 6EF2 279A 6EAE 71F4 48A4 2603 C3C7 D7B8 E904
To claim this, I am signing this object:
absl-py==0.6.1 | |
adal==1.2.0 | |
alembic==0.8.10 | |
amqp==2.4.0 | |
apache-airflow===1.10.2 | |
asn1crypto==0.24.0 | |
astor==0.7.1 | |
Babel==2.6.0 | |
bcrypt==3.1.6 | |
billiard==3.5.0.5 |
import threading | |
from concurrent.futures import ThreadPoolExecutor | |
from time import sleep | |
class ProcessingBackgroundThread: | |
def __init__(self): | |
thread = threading.Thread(target=self.process) | |
thread.daemon = True | |
thread.start() |
dig TXT _cloud-netblocks{1..6}.googleusercontent.com +short | grep ip4 | awk -F 'ip4:' '{for (i=2; i<=NF; i++) print $i}' | sed 's/\?all//g' | sed 's/ip6:.*//g'| sed 's/\"//g' | sed 's/^ *//;s/ *$//' |
package google | |
import ( | |
"fmt" | |
"github.com/hashicorp/terraform/helper/schema" | |
"google.golang.org/api/cloudbuild/v1" | |
"log" | |
"strings" | |
) |
I hereby claim:
To claim this, I am signing this object:
exec /usr/lib/jvm/java-8-oracle/bin/java -server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Dgo.database.provider=com.XXXXXXXXX.gocd.db.mysql.MySQLDatabase -Ddb.host=gocd-server-framework-goserverdbcluster-hwzqvavxum2d.cluster-XXXXXXXXXX.us-east-1.rds.amazonaws.com -Ddb.port=3306 -Ddb.name=goserverdb -Ddb.user=gouser -Ddb.password=XXXXXXX -Duser.language=en -Djruby.rack.request.size.threshold.bytes=30000000 -Duser.country=US -Dcruise.config.dir=/etc/go -Dcruise.config.file=/etc/go/cruise-config.xml -Dcruise.server.port=8153 -Dcruise.server.ssl.port=8154 -Djava.security.egd=file:/dev/./urandom -jar /usr/share/go-server/go.jar |
java.security.Security.setProperty("networkaddress.cache.ttl" , "60"); |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'json' | |
require 'net/http' | |
url = URI.parse("http://marathon.apps.company.com/v2/tasks") | |
req = Net::HTTP::Get.new(url.path) | |
req.add_field("Accept", "application/json") | |
res = Net::HTTP.new(url.host, url.port).start do |http| | |
http.request(req) |
# Documentation for HAProxy | |
# http://code.google.com/p/haproxy-docs/w/list | |
# http://haproxy.1wt.eu/download/1.2/doc/architecture.txt | |
# NOTES: | |
# open files limits need to be > 256000, use ulimit -n to set (on most POSIX systems) | |
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice |
sudo du -h | grep "[\0-9\]G" | |
find -name *.war -exec scp '{}' [email protected]:webapps ';' | |
find -name *.jmx -exec sh ${JENKINS_HOME}/jmeter/bin/jmeter -n -t {} -l ${WORKSPACE}/{}.jtl ';' | |
awk '/MemTotal:/{total=$2} \ | |
/MemFree:/{free=$2} \ | |
END{ \ | |
print "free:"(free*100/total)","; |