This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
# | |
# aerc default styleset | |
# | |
# This styleset uses the terminal defaults as its base. | |
# More information on how to configure the styleset can be found in | |
# the aerc-styleset(7) manpage. Please read the manual before | |
# modifying or creating a styleset. | |
*.default=true | |
*.selected.reverse=toggle |
var unified = require('unified') | |
var markdown = require('remark-parse') | |
var remark2rehype = require('remark-rehype') | |
var html = require('rehype-stringify') | |
var report = require('vfile-reporter') | |
unified() | |
.use(markdown) | |
.use(remark2rehype) | |
.use(html) |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
I'm migrating a legacy codebase to Typescript & it has some global objects attached to window
& I want these to be available always.
So I created globals.d.ts
file that looks something like this
interface Foo {
a: string;
b: number;
}
{ | |
"ecmaVersion": 6, | |
"libs": [ | |
"ecma5", | |
"ecma6", | |
"browser" | |
], | |
"loadEagerly": [], | |
"async": true, | |
"plugins": { |
/usr/bin/sandbox-exec -f /private/tmp/homebrew20181003-80602-18w30bh.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/ |
Homebrew build logs for weechat on macOS 10.14 | |
Build date: 2018-09-30 14:59:50 |
fmap = (f => g => x => (f (g (x)))) | |
curryOnce = (f => x => (...xs) => (f (x, ...xs))) | |
curry = (n => f => ( | |
(n === 1) ? | |
(f) : | |
(fmap (curry (n - 1)) (curryOnce (f))))) | |
method = (m => (m.call.bind (m))) | |
methodWithArgs = (n => m => (curry (n) (method (m)))) | |
flip = (f => x => y => (f (y) (x))) | |
split = (methodWithArgs (2) (''.split)) |
Homebrew build logs for weechat on macOS 10.13.1 | |
Build date: 2017-11-27 20:21:58 |
Homebrew build logs for weechat on macOS 10.13.1 | |
Build date: 2017-11-21 19:34:28 |