- One commit one small feature or bug fix
- Include unit test in one commit
- Exclude non-associated files
- Don't commit un-finished or wrong code
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 Archiver.Fetcher do | |
use GenStage | |
def start_link(args) do | |
GenStage.start_link(__MODULE__, args, name: __MODULE__) | |
end | |
def init(state), do: {:producer, state} | |
def handle_demand(demand, state) do |
Install pandoc on Mac OS X 10.8
$ brew install haskell-platform
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
=== running autoconf in lib | |
=== running autoconf in lib/common_test | |
=== running autoconf in lib/erl_interface | |
=== running autoheader in lib/erl_interface | |
=== running autoconf in lib/megaco |
I hereby claim:
- I am linjunpop on github.
- I am linjunpop (https://keybase.io/linjunpop) on keybase.
- I have a public key ASBgsLXQTvVJBDcDHjRy6_zR49fhb-UOQ176oCPzQEK3nAo
To claim this, I am signing this object:
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
(: return a deep copy of the element and all sub elements :) | |
declare function local:copy($elements as element()+) as element()+ { | |
for $element in $elements | |
return element {node-name($element)} | |
{$element/@*, | |
for $child in $element/node() | |
return | |
if ($child instance of element()) | |
then local:copy($child) | |
else $child |
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
class Message | |
include Mongoid::Document | |
include Mongoid::Timestamps | |
field :alert, type: String | |
field :badge, type: Integer, default: 0 | |
field :sound, type: String | |
field :schedule, type: DateTime | |
field :custom, type: Hash |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<package xmlns="http://apple.com/itunes/importer" version="software5.1"> | |
<team_id>TEAM-ID</team_id> | |
<software> | |
<vendor_id>VENDOR-ID</vendor_id> | |
<software_metadata> | |
<versions> | |
<version string="1.1.3"> | |
<locales> | |
<locale name="en-US"> |