Skip to content

Instantly share code, notes, and snippets.

View dysbulic's full-sized avatar
💭
📆 ― 2023⁄01⁄31 ⩮ 1444⁄07⁄09 ⩮ -6⁄♒⁄16 ― 📆

δυς dysbulic

💭
📆 ― 2023⁄01⁄31 ⩮ 1444⁄07⁄09 ⩮ -6⁄♒⁄16 ― 📆
View GitHub Profile
@dysbulic
dysbulic / plan.md
Last active August 29, 2015 14:07
Creeper Trail Plan
@dysbulic
dysbulic / gist:d53c01187da7e051edda
Created September 20, 2014 01:26
Theoretical mechanism for selecting values
- { yes: :✔, no: :– }.try( product.sold_by_amazon? ? :first : :last ) do |sold?, text|
%td.sba{ class: sold? }= text
/* Put your CSS here */
html, body {
margin: 20px;
}
/* Put your CSS here */
html, body {
margin: 20px;
}

Keybase proof

I hereby claim:

  • I am wholcomb on github.
  • I am wholcomb (https://keybase.io/wholcomb) on keybase.
  • I have a public key whose fingerprint is F459 21AB 27C8 930A B913 B3FB 4151 87C3 BF19 BAEB

To claim this, I am signing this object:

@dysbulic
dysbulic / gist:8498521
Created January 18, 2014 23:55
Pull the sqlite db for an android application off the device and open it.
#!/bin/bash
adb shell "mount -o remount rw /sdcard"
adb shell "run-as com.synaptian.smoketracker.habits cat databases/habits.db > /sdcard/habits.db"
adb pull /sdcard/habits.db
[ -f habits.db ] && sqlitebrowser habits.db
@dysbulic
dysbulic / gist:8492588
Last active January 3, 2016 16:59
Compares two data dumps and prints ids in one not in the other.
#!/usr/bin/env ruby
require 'json'
require 'spreadsheet'
if ARGV.length < 2
puts 'Usage: compare_dumps.rb [json|xls]{2}'
puts 'Outputs asset_numbers present in each file not in the other'
throw 'Input needed'
end