Skip to content

Instantly share code, notes, and snippets.


Cameron Stokes clstokes

View GitHub Profile
clstokes / gist:4472989
Created Jan 7, 2013
Groovy script for the Jenkins Script Console to GitHub repositories. Will throw exceptions for builds with other trigger types.
View gist:4472989
import hudson.model.*
import hudson.triggers.*
import com.cloudbees.jenkins.GitHubTrigger
for(item in Hudson.instance.items) {
item.triggers.each{ k,v ->
println it
View gist:4574026
import org.gradle.plugins.javascript.coffeescript.CoffeeScriptCompile
apply plugin: 'coffeescript-base'
repositories {
mavenRepo name: "Gradle", url: ""
task compileCoffeeScript(type: CoffeeScriptCompile) {
clstokes / gist:4587942
Created Jan 21, 2013
dasin-cloud-aws compilation errors
View gist:4587942
macbook-air:dasein-cloud-aws clstokes$ mvn clean install -DskipTests=true
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building dasein-cloud-aws 2013.04-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ dasein-cloud-aws ---
[INFO] Deleting /Users/clstokes/Desktop/dasein-cloud-aws/target
clstokes / gist:4961765
Created Feb 15, 2013
One-liner for openssl...
View gist:4961765
# Saving here for future use...
# from, see follow-up tweet about '-days' option.
openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout lumberjack.key -out lumberjack.crt
View gist:4996752
class webserver {
package {
ensure => latest,
clstokes /
Last active Dec 18, 2015
Collection of links related to the DNS Issue that affected LinkedIn and many others on June 19, 2013.

Main Article

Updates from Companies Involved

Network Solutions

From :

In the process of resolving a Distributed Denial of Service (DDoS) incident on Wednesday night, the websites of a small number of Network Solutions customers were inadvertently affected for up to several hours. We are proactively working with these customers and have resolved most issues, none of which involved malicious activity. No confidential data was compromised, including passwords, credit card information, or cookies. If you are a Network Solutions customer and are experiencing problems with your website, please call us at (866) 391-4357 so we can help to quickly resolve the issue. Thank you for your patience and support as we work to fully resolve this situation.


ASUS RT-N16 vs. Apple Airport Extreme (2013)

test setup

Tested with 13-inch, Mid 2012 Macbook Air running 802.11n. Latest firmware on both devices.

Run iperf with -d Do a bidirectional test simultaneously.

asus rt-n16 wifi (sitting next to router)

cstokes-ml:~ clstokes$ iperf -c -d

ASUS RT-N16 vs. Apple Airport Extreme (2013)

test setup

Everything running 802.11n - a 13-inch, Mid 2012 Macbook Air running iperf to a hard-wired iMac. Latest firmware on both the ASUS and Airport.

Run iperf with -d Do a bidirectional test simultaneously.

sitting next to router

ASUS RT-N16                                         Apple Airport Extreme (2013)
[  5]  0.0-10.0 sec  76.1 MBytes  63.8 Mbits/sec    [  5]  0.0-10.0 sec   175 MBytes   147 Mbits/sec

Senior Platform Engineer

Send questions, resumes, referrals, etc. to

The Senior Platform Engineer will be part of a group of advanced technologists building a next-generation computing platform, providing assistance and input to other developers, architects and system administrators. He or she will develop internal services, APIs, tools, and user interfaces as well as researching new trends in software design, development tools and operational techniques to maximize our performance and ability to deliver new features to customers and partners.

The tools and services developed by this position will be used by all major products and divisions of The Weather Channel -,, mobile apps, professional services, etc.


  • Experience designing and developing highly available, distributed systems.
View gist:7602673

How can I combine these two JSON documents...

  variables: {
    frontendPort: "80",
    backendPort: "8080"