I hereby claim:
- I am donfanning on github.
- I am donfanning (https://keybase.io/donfanning) on keybase.
- I have a public key whose fingerprint is 5956 5B21 E0C0 6236 50C1 B9EA FFAE C9DE AC60 2A71
To claim this, I am signing this object:
#! /bin/bash | |
# Batch Convert Script by StevenTrux | |
# The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility | |
# this script only convert necessary tracks if the video is already | |
# in H.264 format it won't convert it saving your time! | |
# Put all video files need to be converted in a folder! | |
# the name of files must not have " " Space! | |
# Rename the File if contain space |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2.7 | |
# Matt's DNS management tool | |
# Manage DNS using DDNS features | |
# | |
# See http://planetfoo.org/blog/archive/2012/01/24/a-better-nsupdate/ | |
# | |
# Usage: dnsupdate -s server -k key -t ttl add _minecraft._tcp.mc.example.com SRV 0 0 25566 mc.example.com. | |
# -h HELP! | |
# -s the server | |
# -k the key |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
#!/usr/bin/env python | |
#Copyright (C) 2009 Allen Sanabria | |
#This program is free software; you can redistribute it and/or modify it under | |
#the terms of the GNU General Public License as published by the Free Software Foundation; | |
#either version 2 of the License, or (at your option) any later version. | |
#This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | |
#without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
#See the GNU General Public License for more details. You should have received a copy of i |
docker-machine create --driver virtualbox dev
docker-machine env dev
(add values to ~/.zshrc
)
echo eval "$(docker-machine env dev)" >> ~/.zshrc
docker-machine ls
docker ps
(might need to re-source .zshrc
file; e.g. . ~/.zshrc
)docker run hello-world
docker-machine ip dev
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup
var s3 = require('s3'); | |
var AWS = require('aws-sdk'); | |
var async = require('async'); | |
var syncClient = s3.createClient({ | |
maxAsyncS3: 20, | |
}); | |
tmpDir = "/tmp/sitecopy"; | |
dstBucket = "aemtos3test" |
var WebPageTest = require('webpagetest'); | |
var AWS = require('aws-sdk'); | |
var zlib = require('zlib'); | |
AWS.config.update({region:'us-east-1'}); | |
var s3 = new AWS.S3(); | |
var cloudwatch = new AWS.CloudWatch(); |