Skip to content

Instantly share code, notes, and snippets.

View airhorns's full-sized avatar
🎯
Workin' on Gadget at https://gadget.dev

Harry Brundage airhorns

🎯
Workin' on Gadget at https://gadget.dev
View GitHub Profile

Keybase proof

I hereby claim:

  • I am airhorns on github.
  • I am airhorns (https://keybase.io/airhorns) on keybase.
  • I have a public key ASAZpCdV24beL4Nq1fCKJv-VtUv2vxyuWdB3J6AIdjpa7go

To claim this, I am signing this object:

@airhorns
airhorns / 1_todo.rb
Last active June 12, 2019 23:48
Example Ruby files for RnD Camp Style Exercise
class Todo
def initialize(*argv)
@argv = argv
begin
send(@argv[0])
rescue TypeError
list
rescue NoMethodError
puts "Command #{@argv[0]} not found.\n\n"
class window.Tween
constructor: (@id, @format, @prevalue="") ->
@current = 0
@actual = undefined
@startTime = new Date
window.setInterval =>
if !@actual?
return
class Object
def const_missing?(name)
puts "object const missing called for #{name}"
super
end
end
# outputs nothing :(
class Klass; end
oration /o/dev (integration-tests*) ➜ dev test test/integration/first_bootstrap_test.rb
running
3255
clearing
prestdout: fish: handle_curses() called in response to 'TERM' changing
prestdout: fish: curses var TERM='ansi'
prestdout: fish: sourcing /usr/local/Cellar/fish/2.3.1/share/fish/config.fish
prestdout: fish: Exec job 'builtin source /usr/local/Cellar/fish/2.3.1/share/fish/config.fish' with id 1
prestdout: fish: Exec job 'set -g IFS \n\ \t' with id 2
prestdout: fish: Set status of set -g IFS \n\ \t to 0 using short circuit
ERROR [RepairJobTask:2] 2016-01-09 16:33:33,712 RepairJob.java (line 143) Error occurred during snapshot phase
java.lang.RuntimeException: Could not create snapshot at /172.16.126.34
at org.apache.cassandra.repair.SnapshotTask$SnapshotCallback.onFailure(SnapshotTask.java:81)
at org.apache.cassandra.net.MessagingService$5$1.run(MessagingService.java:344)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
ERROR [AntiEntropySessions:25] 2016-01-09 16:33:33,717 RepairSession.java (line 288) [repair #9f5026d0-b6ee-11e5-ace8-99786793f7ff] session completed with the following error
while true; do hdfs dfs -touchz "/$(date +%s)" && date || echo "Failure"; sleep 1; done
+ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find otool
2015-10-16 02:08:02.871 xcodebuild[32918:668252] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-7714/DVTFoundation/DeveloperStructure/DVTPlatform.m:500
Details: The OS X platform is missing - cannot set a default platform.
Object: <DVTPlatform>
Method: +loadAllPlatformsReturningError:
Thread: <NSThread: 0x7fc373302520>{number = 1, name = main}
Hints: None
Backtrace:
0 0x000000010c375c07 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x000000010c37565f _DVTAssertionHandler (in DVTFoundation)
div.content-container > h1 { display: none; }
h2 { color: blue; }
  • add first name and last name to all forms
  • build listings form in hubspot