Original Letter | Look-Alike(s) |
---|---|
a | а ạ ą ä à á ą |
c | с ƈ ċ |
d | ԁ ɗ |
e | е ẹ ė é è |
g | ġ |
h | һ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule FunctionClause do | |
@moduledoc """ | |
Format function clauses using Exception.blame/3 | |
""" | |
@doc """ | |
Given a `module`, `function`, and `args` see | |
if that function clause would match or not match. | |
This is useful for helping diagnose function |
The following recipes are sampled from a trained neural net. You can find the repo to train your own neural net here: https://github.com/karpathy/char-rnn Thanks to Andrej Karpathy for the great code! It's really easy to setup.
The recipes I used for training the char-rnn are from a recipe collection called ffts.com And here is the actual zipped data (uncompressed ~35 MB) I used for training. The ZIP is also archived @ archive.org in case the original links becomes invalid in the future.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "json" | |
require "typhoeus" | |
require "pp" | |
# MigrateRepo usage instructions: | |
# | |
# The way this is used at Airbnb for migrating from GitHub to GHE is by | |
# creating a separate organization with no members called "migration", | |
# adding that as the target organization, and then once the migration | |
# has finished, moving it over to the intended location. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Marquee Fishtank</title> | |
<style> | |
#fishtank { | |
width: 350px; | |
background-color: aqua; | |
} | |
#fish1 { color: red } | |
#fish2 { color: orange } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'github-campfire' | |
def ask_for_image(phrase) | |
`growlnotify -m "#{phrase}"` | |
GitHub::Campfire.notify("/img me #{phrase}", GitHub::Campfire::HUBOT) | |
end | |
phrases = [ | |
'hubot ignite', # new presentation style |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby -pi.bak | |
# bacon before takes no argument | |
$_.sub!(/before\s*\(?\s*:each\s*\)?\s*/, 'before ') | |
# same with after | |
# No magic annoying spaces after 'should'. | |
# Matchers are methods on the Should object | |
$_.sub!(/\.should\s*/, '.should.') | |
# fix `should_not` -> `should._not` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" This gets added to your vimperatorrc; makes ':yt' trigger youtube-dl | |
" You can also bind it directly to a keystroke. | |
" Requires youtube-dl: https://github.com/rg3/youtube-dl | |
" On a Mac with Homebrew installed, you can 'brew install youtube-dl' | |
comm! yt 'exe "!" + eval("plugins.youtubeDownload.youtubeDownload()")' |
NewerOlder