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
| <?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"> | |
| <!-- This file is stored in ~/Library/LaunchAgents --> | |
| <!-- type in terminal: launchctl load ~/Library/LaunchAgents/com.me.photoshop_backup --> | |
| <!-- Or you can log out and log in (launchagents are added automatically) --> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.me.corey.photoshop_backup</string> | |
| <key>LowPriorityIO</key> |
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
| 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 |
| 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 |
| 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' |
| 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 |
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.