Skip to content

Instantly share code, notes, and snippets.

View kfix's full-sized avatar
🚲
spinning wheels

Joey Korkames kfix

🚲
spinning wheels
View GitHub Profile
@kfix
kfix / wexler
Created April 29, 2014 20:47
wexler flex ereader rooting
http://irclog.whitequark.org/linux-rockchip/
need dumps of
--
dmesg
cat /proc/modules
cat /proc/filesystems
#loop, cramfs, ext2, ext3, vfat
cat /proc/mounts
cat /proc/cmdline
@kfix
kfix / trello_drag_and_drop_safari.diff
Last active August 29, 2015 14:22
Fix to minified Trello app.js to allow dragging and dropping links and images from Safari into Trello cards
--- sites/Trello/app.js 2015-05-29 20:20:05.000000000 -0700
+++ sites/Trello/app.js.feex 2015-05-29 20:21:30.000000000 -0700
@@ -31948,13 +31948,13 @@
})
}, function(e, r) {
return t(r)
- })) : t((null != (a = d.call(null != r ? r.types : void 0, "text/x-moz-url") >= 0) ? a : []) ? [r.getData("text/plain")] : [])
+ })) : t((null != (a = d.call(null != r ? r.types : void 0, "text/plain") >= 0) ? a : []) ? [r.getData("text/plain")] : [])
}, e.prototype._isDraggingFiles = function(e) {
var t, r, n, o;
@kfix
kfix / iterm.jxa
Last active January 14, 2024 06:46
debugging iterm JS applescript window indexing failures
#!/usr/bin/osascript -l JavaScript
var iTerm = Application("iTerm");
iTerm.includeStandardAdditions = true;
iTerm.activate()
var new_win = function() {
var myNewWindow = iTerm.createWindowWithDefaultProfile({command: "/bin/bash"});
// https://github.com/gnachman/iTerm2/search?q=iTermNewWindowCommand
console.log("New window created: " + Automation.getDisplayString(myNewWindow, true));
return myNewWindow;
@kfix
kfix / dpkg.log
Created February 13, 2016 03:41
lxd DB barked
$ grep -E 'lxd|lxc' /var/log/dpkg.log
2016-02-12 18:34:24 upgrade lxd:amd64 0.25-0ubuntu1~ubuntu15.04.1~ppa1 2.0.0~beta2-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:24 status half-configured lxd:amd64 0.25-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:38 status unpacked lxd:amd64 0.25-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:38 status half-installed lxd:amd64 0.25-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:39 status half-installed lxd:amd64 0.25-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:39 status unpacked lxd:amd64 2.0.0~beta2-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:39 status unpacked lxd:amd64 2.0.0~beta2-0ubuntu1~ubuntu15.04.1~ppa1
2016-02-12 18:34:39 configure lxd:amd64 2.0.0~beta2-0ubuntu1~ubuntu15.04.1~ppa1 <none>
2016-02-12 18:34:39 status unpacked lxd:amd64 2.0.0~beta2-0ubuntu1~ubuntu15.04.1~ppa1