- scaling to many production environments
- metrics about deployments
- dashboards
- automating new env creation, no GUIs required
Deployments are currently initiated and managed using Bamboo's deployment plans.
| // Download this script into a file, ex. nessus_scan.js | |
| // install nodejs $ brew install node | |
| // install packages | |
| // $ npm install -g jsdom | |
| // $ npm install -g jquery | |
| // rename the by host scan to "by_host.html" | |
| // run this script with lots of extra memory | |
| // $ node --max_old_space_size=15000 nessus_scan.js | |
| // the vulnerable ips are stored in the file "vuln" |
Dashing widget to display the number of cases in your Desk.com account. This widget uses Desk.com’s API and some code from the beautiful Hotness Widget by rowanu.
| libtest/.libs/libtest.a(libtest_libtest_la-memcached.o): In function `Memcached::ping()': | |
| /var/lib/gems/1.9.1/gems/memcache-1.4.1/ext/libmemcached-0.51/libtest/memcached.cc:128: undefined reference to `libmemcached_util_ping' | |
| /var/lib/gems/1.9.1/gems/memcache-1.4.1/ext/libmemcached-0.51/libtest/memcached.cc:133: undefined reference to `memcached_strerror' | |
| /var/lib/gems/1.9.1/gems/memcache-1.4.1/ext/libmemcached-0.51/libtest/memcached.cc:124: undefined reference to `libmemcached_util_ping' | |
| libtest/.libs/libtest.a(libtest_libtest_la-memcached.o): In function `Memcached::get_pid(bool)': | |
| /var/lib/gems/1.9.1/gems/memcache-1.4.1/ext/libmemcached-0.51/libtest/memcached.cc:95: undefined reference to `libmemcached_util_getpid' | |
| /var/lib/gems/1.9.1/gems/memcache-1.4.1/ext/libmemcached-0.51/libtest/memcached.cc:100: undefined reference to `memcached_strerror' | |
| /var/lib/gems/1.9.1/gems/memcache-1.4.1/ext/libmemcached-0.51/libtest/memcached.cc:91: undefined reference to `libmemcached_util_getpid' | |
| collect2: ld returned 1 exi |
| require 'circuitizer' | |
| describe DotWriter do | |
| it "writes a board to a file" do | |
| b = Board.new do | |
| source 's1', true | |
| source 's2', true | |
| and_gate 'AND' | |
| reading 'OUT' | |
| trace 's1', 'AND' |
| require 'circuitizer' | |
| describe DotWriter do | |
| it "writes a board to a file" do | |
| b = Board.new do | |
| source 's1', true | |
| source 's2', true | |
| and_gate 'AND' | |
| reading 'OUT' | |
| trace 's1', 'AND' |
| attr_accessor :jmessage | |
| def initialize(message=nil, options={}) | |
| if message.kind_of? org.jgroups.Message | |
| @jmessage = message | |
| else | |
| @jmessage = org.jgroups.Message.new(options[:destination], | |
| options[:source], | |
| message) | |
| end |
| class Channel < org.jgroups.JChannel | |
| alias_method :old_send, :send | |
| def initialize | |
| super | |
| # if options | |
| # @jchannel = org.jgroups.JChannel.new(options) | |
| # else | |
| # @jchannel = org.jgroups.JChannel.new |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer