Skip to content

Instantly share code, notes, and snippets.

View gazz's full-sized avatar

Janis Dancis gazz

  • Denver, Colorado
View GitHub Profile
#!/usr/bin/env bash
jq -r '
.["stats"]["history"]['$2']["stages"]["race1"]["results"] as $results
| $results[0].attributes["TotalTime"] as $winner_time
| $results[0].attributes["Lap"] as $winner_laps
| $results[0].attributes["FastestLapTime"] as $winner_lap_time
| $results
| map([.name, .refid, .attributes["Lap"],
(.attributes["TotalTime"] + ($winner_laps - .attributes["Lap"]) * $winner_lap_time - $winner_time)
/ 1000.0])
@gazz
gazz / gist:ed5e67897c10c4e23027
Created August 13, 2014 11:49
Reset iOS Simulator
try
tell application "iPhone Simulator"
activate
end tell
tell application "System Events" to tell process "iPhone Simulator"
click (menu item 1 where its name starts with "Reset Content") of menu "iOS Simulator" of menu bar 1
tell window 1 to click button "Reset"
end tell

Seeking Junior Android Developer

###We are

  • FullContact is solving the world’s contact information problem.
  • We are the team that built award winning iOS & Mac contact management apps Cobook.

###What we look for

  • You have participated at creating at least one published Android application
  • You believe that coding is an art, you love to learn new stuff and try it out immediately
  • Can show off your past achievements, can be tech demos or prototypes or just give us the link to your github account