Skip to content

Instantly share code, notes, and snippets.

View dignifiedquire's full-sized avatar

Friedel Ziegelmayer dignifiedquire

View GitHub Profile
const Parent = React.createClass({
getInitialState() {
selectedItem: null
},
_onChildSelect(i) {
this.setState({selectedItem: i})
},
#!/usr/bin/env node
/**
* Git COMMIT-MSG hook for validating commit message
* See https://docs.google.com/document/d/1rk04jEuGfk9kYzfqCuOlPTSJw3hEDZJTBN5E5f1SALo/edit
*
* Installation:
* >> cd <repo>
* >> ln -s ../../validate-commit-msg.js .git/hooks/commit-msg
*/

Guides Style Guidelines

Colors

@light-blue: #f7f9fc;
@blue: #c7d5f6;
@text-color: #212c3f;
❯ be cap site:staging deploy
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
INFO [09a2d80d] Running /usr/bin/env mkdir -p /var/build/site/repo as [email protected]
DEBUG [09a2d80d] Command: /usr/bin/env mkdir -p /var/build/site/repo
INFO [09a2d80d] Finished in 2.268 seconds with exit status 0 (successful).
INFO [bfcc5d63] Running /usr/bin/env mkdir -p /tmp/site/ as [email protected]
DEBUG [bfcc5d63] Command: /usr/bin/env mkdir -p /tmp/site/
INFO [bfcc5d63] Finished in 0.247 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/site/git-ssh.sh 0.0%
❯ be cap site:staging deploy -t
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
** Invoke site:staging (first_time)
** Execute site:staging
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke bundler:map_bins (first_time)
** Execute bundler:map_bins
** Invoke deploy (first_time)
DEBUG [989f97d6] /var/build/site/builds/20150715093946/vendor/bundle/ruby/2.2.0/gems/htmlcompressor-0.1.2/lib/htmlcompressor/compressor.rb:112: warning: duplicated key at line 132 ignored: :javascript_compressor
DEBUG [989f97d6] /var/build/site/builds/20150715093946/vendor/bundle/ruby/2.2.0/gems/htmlcompressor-0.1.2/lib/htmlcompressor/compressor.rb:113: warning: duplicated key at line 133 ignored: :css_compressor
DEBUG [989f97d6] /var/build/site/builds/20150715093946/vendor/bundle/ruby/2.2.0/gems/mini_magick-3.7.0/lib/mini_magick.rb:24:in `choose_processor'
DEBUG [989f97d6] : undefined method `size' for nil:NilClass (NoMethodError)
DEBUG [989f97d6] from /var/build/site/builds/20150715093946/vendor/bundle/ruby/2.2.0/gems/mini_magick-3.7.0/lib/mini_magick.rb:64:in `mogrify?'
DEBUG [989f97d6] from /var/build/site/builds/20150715093946/vendor/bundle/ruby/2.2.0/gems/mini_magick-3.7.0/lib/mini_magick/image.rb:360:in `run_command'
DEBUG [989f97d6] from /var/build/site/builds/20150715093946/vendor/bundle/ru
❯ babel-node parser.js
The CPU consists of integrated circuits in the microproces>sor of the computer. The CPU is responsible for processing information and controlling the computer.
❯ mix test
Excluding tags: [pandoc: true]
......................................................
1) test docs_from_files returns the doc info for each module function (ExDoc.RetrieverTest)
test/ex_doc/retriever_test.exs:41
Assertion with == failed
code: example_without_docs.source() == "http://example.com/test/fixtures/compiled_with_docs.ex#L15"
lhs: "http://example.com//Users/dignifiedquire/opensource/ex_doc_official/test/fixtures/compiled_with_docs.ex#L15"
<% require Dict %>
<div class="summary-row">
<div class="summary-signature">
<a href="#<%=h node.id %>"><%= if Dict.has_key?(node, :signature) do %><%=h node.signature %><% end %></a>
</div>
<%= if node.doc do %>
<div class="summary-synopsis"><%= to_html(synopsis(node.doc)) %></div>
<% end %>
</div>
❯ make docs
==> elixir (compile)
==> ex_doc (elixir)
bin/elixir ../ex_doc/bin/ex_doc "Elixir" "1.1.0-beta" "lib/elixir/ebin" -m "Kernel" -u "https://github.com/elixir-lang/elixir" --source-ref "62baed24a87938087352804dea51ef7de5fb7b1f" -o doc/elixir -p http://elixir-lang.org/docs.html
** (EXIT from #PID<0.47.0>) an exception was raised:
** (UndefinedFunctionError) undefined function: :[email protected]/0 (module :nonode@nohost is not available)
:[email protected]()
lib/ex_doc/formatter/html/templates.ex:39: ExDoc.Formatter.HTML.Templates.link_id/1
lib/ex_doc/formatter/html/templates/type_detail_template.eex:2: ExDoc.Formatter.HTML.Templates.type_detail_template/2
lib/ex_doc/formatter/html/templates/module_template.eex:37: anonymous fn/3 in ExDoc.Formatter.HTML.Templates.module_template/7