Skip to content

Instantly share code, notes, and snippets.

Michael Blume MichaelBlume

View GitHub Profile
View gist:3480cc1dfde5e4f8274a2765774686c5
0 info it worked if it ends with ok
1 verbose cli [ '/home/mike/node-v6.10.3-linux-x64/bin/node',
1 verbose cli '/home/mike/node-v6.10.3-linux-x64/bin/npm',
1 verbose cli 'run',
1 verbose cli 'prepack',
1 verbose cli '/home/mike/workspace/freecell-web/resources/public/js/compiled/app.js' ]
2 info using npm@3.10.10
3 info using node@v6.10.3
4 verbose run-script [ 'prepack' ]
5 info lifecycle prepack@0.2.1-alpha.0~prepack: prepack@0.2.1-alpha.0
View gist:4b5cf0c9b0fe996a7170fa6e6a7910d5
I got a new phone on May 1 2017.
As of that date, either the first, or the second half of your Signal 'safety number' with me should be:
21454 16624 48675 91604 68231 31181
All future messages of this nature will be dated. Undated messages should be considered obsolete.
-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/verify
Version: Keybase Go 1.0.21 (linux)
View Signal key
Either the first, or the second half of your Signal 'safety number' with me should be 09763 77527 25829 06828 55157 79754
-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/verify
Version: Keybase Go 1.0.18 (linux)
xA0DAAoBmlwTpz2Jb7YBy+F0AOIAAAAA5kVpdGhlciB0aGUgZmlyc3QsIG9yIHRo
ZSBzZWNvbmQgaGFsZiBvZiB5b3VyIFNpZ25hbCAnc2FmZXR5IG51bWLlZXInIHdp
dGggbWUgc2hvdWxkIGJlIDA5NzYzIDc3NTLkNyAyNTgyOSAwNjgyOCA1NeMxNTcg
Nzk3NeA0AMLBXAQAAQoAEAUCWJf2ZAkQmlwTpz2Jb7YAAB4nEABkEqAxxavykVQ/
zg9HBf99TVfd2wcCfilyhjsWVgRKItvN3J8V6DhIZNTtm5xfFXkG4yIJ5c41h3on
View Keybase proof
### Keybase proof
I hereby claim:
* I am michaelblume on github.
* I am michaelblume (https://keybase.io/michaelblume) on keybase.
* I have a public key ASClN_P6H_VqzfqR0CGMS6P1XHAmRobwvIGcY5G6yCgwLQo
To claim this, I am signing this object:
View fix-submit.patch
From 06a22bd44719b1753d522be0618b4c49c0c39642 Mon Sep 17 00:00:00 2001
From: Michael Blume <blume.mike@gmail.com>
Date: Fri, 12 Aug 2016 16:45:19 -0700
Subject: [PATCH] make submit work with octave 4.0
---
lib/jsonlab/loadjson.m | 4 ++--
lib/makeValidFieldName.m | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
@MichaelBlume
MichaelBlume / textsecure_cutoff.clj
Created Mar 24, 2016
drops all messages older than some date from a textsecure backup
View textsecure_cutoff.clj
(def cutoff
(clj-time.coerce/to-long
(clj-time.core/date-time 2015 4 3 5 54)))
(with-open [input (java.io.FileInputStream.
"/Users/michael.blume/TextSecurePlaintextBackup.xml")
output (java.io.FileWriter.
"/Users/michael.blume/betterbackup.xml")]
(-> input
clojure.data.xml/parse
View tumblr android crash
01-10 16:12:36.311 15315 15315 D AndroidRuntime: Shutting down VM
01-10 16:12:36.320 15315 15315 D HockeyApp: Writing unhandled exception to: /data/user/0/com.tumblr/files/202aa2c9-7325-4ec6-a2f1-45f96266dd92.stacktrace
01-10 16:12:36.332 15315 15315 W System.err: java.lang.AbstractMethodError: abstract method "int android.text.ParcelableSpan.getSpanTypeIdInternal()"
01-10 16:12:36.332 15315 15315 W System.err: at android.text.TextUtils.writeToParcel(TextUtils.java:653)
01-10 16:12:36.332 15315 15315 W System.err: at android.os.Parcel.writeCharSequence(Parcel.java:572)
01-10 16:12:36.332 15315 15315 W System.err: at android.view.accessibility.AccessibilityNodeInfo.writeToParcel(AccessibilityNodeInfo.java:2701)
01-10 16:12:36.332 15315 15315 W System.err: at android.os.Parcel.writeTypedList(Parcel.java:1148)
01-10 16:12:36.332 15315 15315 W System.err: at android.view.accessibility.IAccessibilityInteractionConnectionCallback$Stub$Proxy.setFindAccessibilityNodeInfosResult(IAccessibilityInteractionConnectio
View rebase-error
Initialized empty Git repository in /Users/michael.blume/workspace/git/t/trash directory.t3400-rebase/.git/
expecting success:
git config core.logAllRefUpdates true &&
echo First >A &&
git update-index --add A &&
git commit -m "Add A." &&
git checkout -b force-3way &&
echo Dummy >Y &&
git update-index --add Y &&
git commit -m "Add Y." &&
View returning.clj
(ns honeysql.extensions.returning
(:require
[honeysql.format :as f]
[honeysql.helpers :as h]))
(defmethod f/format-clause :returning [[_ fields] _]
(str "RETURNING " (f/comma-join (map f/to-sql fields))))
(f/register-clause! :returning 225)
View gist:a62cc5d717e27141f7c0
# Paste this into your /etc/hosts
# Then (if you're on a Mac) run 'sudo dscacheutil -flushcache'
# This will prevent your computer from accessing sites owned by Gawker Media,
# thus improving your internet experience.
0.0.0.0 gawker.com deadspin.com lifehacker.com gizmodo.com io9.com jalopnik.com jezebel.com kotaku.com io9.gizmodo.com
You can’t perform that action at this time.