I hereby claim:
- I am mmacaulay on github.
- I am mmacaulay (https://keybase.io/mmacaulay) on keybase.
- I have a public key whose fingerprint is 3C28 DEE3 125B F44C 8F3F 4307 868D 6232 C2EB ADD8
To claim this, I am signing this object:
#002B36,#073642,#073642,#268BD2,#073642,#839496,#B58900,#DC322F |
I hereby claim:
To claim this, I am signing this object:
tell application "Notes" | |
set theMessages to every note | |
repeat with thisMessage in theMessages | |
set myTitle to the name of thisMessage as string | |
set myText to the body of thisMessage | |
set myCreateDate to the creation date of thisMessage | |
set myModDate to the modification date of thisMessage | |
tell application "Evernote" | |
set myNote to create note with text myText title myTitle notebook "Imported" tags ["imported_from_Apple_notes"] | |
set the HTML content of myNote to myText |
#!/bin/bash | |
# Courtesy of http://vmassuchetto.github.io/2013/08/14/reducing-a-vagrant-box-size/ | |
# Unmount project | |
umount /vagrant | |
# Remove APT cache | |
apt-get clean -y | |
apt-get autoclean -y |
["-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nVersion: OpenPGP.js VERSION\r\nComment: http://openpgpjs.org\r\n\r\nxo0EU2BWIAEEAJmj68gt4OuUWYzWUdRCxkyJriAvzJKOQ3mDzTy1bUVrCw7p\ndFdPvTwT5btGg6v4c2MXMGNnToIyqWal7lnkKI1eRLmkZntbPMACfwEo30ds\n3iFc3ZBcw66qjl2YFWozCpdC2XIf6y1wmMLBtBudBGo68zOO7tEnEifxh2tW\nwQDPABEBAAHNAMKyBBABCAAmBQJTYFYgBgsJCAcDAgkQdvgQUES2r4wEFQgC\nCgMWAgECGwMCHgEAAI6kA/44TBtUsNg5JkMO7BzimZMKT5oN6lD4OQoNYPKN\nVPPm/94BLv85pc6O1L1ElON+mBdD0LrgQBzogZeVeE72IthFC1pUKxmnmYEA\nN4nkY5k3J1iVWNioO4HU3uyhamJZEkrsKMRf6AbHNUyCHK0q5PFydtLtngGl\nCgr+3m/CslTRas6NBFNgViABBACUNPZChabUW+UxzOIFYiPLINnq33io4vwG\nKrqrf7zy5Wf/IOjjWMD65AyxqFFe2oWsotG46I6TaCteJz+5EYjFASxwzzDx\nKXaFqtAUOcqus782Ar/kH8fLor7DomvVGWuipPyBy/1izPnHHVesgvIBZiHd\npcbQTolUw2ddRwfvlQARAQABwp8EGAEIABMFAlNgViAJEHb4EFBEtq+MAhsM\nAACMKgP/USorSRjTsRFLD0IQSEHp5Rh2tirtY1Q/Tpa5hD1JVDmduLyQhjyw\nm2DNhJoC3a6a4blDiaYw0VbUR9smhwft1Of5iMeFYUDwWDs1VsK0MPnODvww\nP05VKdw2EMvEPrt8J2cDBtXWL5xghNsDCXmxgX8KZaBHIu+gotjb+W+s+Qg=\r\n=aV4c\r\n-----END PGP PUBLIC KEY BLOCK-----\ |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
find . -type f -print0 | xargs -0 gsed -i 's/thing/other/g' |
ls -a |grep ^\\..*[^\.]$ | xargs du -s | awk '{ sum += $1 } END { print sum }' | gnumfmt --to=iec |
# ironic: untested | |
module CustomMatchers | |
Spec::Matchers.define :include_hash do |expected| | |
match do |hash| | |
expected.keys.each do |key| | |
return false if !(hash.has_key?(key) && hash[key] == expected[key]) | |
end | |
end | |
end | |
end |
public static class IEnumerableExtensions | |
{ | |
public static void Each<T>(this IEnumerable<T> enumerable, Action<T> action) | |
{ | |
foreach (var item in enumerable) | |
{ | |
action(item); | |
} | |
} | |
} |