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 / 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
@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

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:

/* Put your CSS here */
html, body {
margin: 20px;
}
/* Put your CSS here */
html, body {
margin: 20px;
}
@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
@dysbulic
dysbulic / plan.md
Last active August 29, 2015 14:07
Creeper Trail Plan
@dysbulic
dysbulic / forward.md
Last active August 29, 2015 14:12
forward narration

I keep remembering a sci-fi short story I read years ago.

A capsule appears in a laboratory with an old insane man in it. As time passes they recognize that he is aging backwards.

Eventually he communicates how to build the capsule and switches places with the him that has been aging normally simultaneously.

I've had that sense of a story told backwards for a while.

I remember months of being enamored with the fame that has to accomany being the one to start Babylon burning.

@dysbulic
dysbulic / text.md
Created August 9, 2015 00:32
API Blueprinting with MSON

Test

@dysbulic
dysbulic / .block
Last active March 3, 2016 15:53 — forked from mbostock/.block
Bilevel Partition
license: gpl-3.0