Skip to content

Instantly share code, notes, and snippets.

Joey Korkames kfix

Block or report user

Report or block kfix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kfix
kfix / dpkg.log
Created Feb 13, 2016
lxd DB barked
View dpkg.log
$ 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
@kfix
kfix / iterm.jxa
Last active Mar 15, 2018
debugging iterm JS applescript window indexing failures
View iterm.jxa
#!/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 / trello_drag_and_drop_safari.diff
Last active Aug 29, 2015
Fix to minified Trello app.js to allow dragging and dropping links and images from Safari into Trello cards
View trello_drag_and_drop_safari.diff
--- 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 / wexler
Created Apr 29, 2014
wexler flex ereader rooting
View wexler
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
You can’t perform that action at this time.