| Original Letter | Look-Alike(s) |
|---|---|
| a | а ạ ą ä à á ą |
| c | с ƈ ċ |
| d | ԁ ɗ |
| e | е ẹ ė é è |
| g | ġ |
| h | һ |
| 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 |
One machine, several git identities (personal vs work, GitHub vs GitLab, two accounts on one provider). Each repository picks its own name, email and credentials. In a hurry: Appendix B, once per rule.
A wrong identity does not fail: git commits and pushes under the wrong author. Part 1 ends with the check that catches it.
| Feature | Minimum git |
|---|
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.
| 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. |
| <html> | |
| <head> | |
| <title>Marquee Fishtank</title> | |
| <style> | |
| #fishtank { | |
| width: 350px; | |
| background-color: aqua; | |
| } | |
| #fish1 { color: red } | |
| #fish2 { color: orange } |
| #!/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 |
| #!/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` |
