Typical process:
- fork a repo
- make your patch
- send PR
Sometimes its a long wait, and in the mean time you end up depending on Git (bad for semver/persistence, slow installs, etc).
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
# A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
# | |
# Install: | |
# | |
# tic xterm-256color-italic.terminfo | |
# | |
# Usage: | |
# | |
# export TERM=xterm-256color-italic | |
# |
// main.js | |
const vel = require('vel') | |
const testElement = require('./test-element') | |
const el = vel(function (h, state) { | |
return h.html(`<div> | |
<h1>clicked ${String(state.n)} times</h1> | |
<button onclick=${onclick}>click me!</button> | |
${testElement(h, state, el)} |
mocha 44731 | |
chai 17944 | |
grunt 17447 | |
should 11882 | |
grunt-contrib-jshint 11466 | |
gulp 8619 | |
istanbul 7374 | |
tape 7313 | |
sinon 6851 | |
grunt-contrib-clean 6807 |
The standard code style linter is a great tool by Feross - check it out!
Remove trailing semicolons:
find . -path ./node_modules -prune -o -type f -name '*.js' -exec sed -i '' -e 's/;$//' {} \;
Ensure space between function
and opening bracket:
machine: | |
node: | |
version: 0.10.35 | |
dependencies: | |
pre: | |
- sudo apt-get install -y libpoppler-glib-dev libpoppler-glib8 libcairo2-dev libcairo2 | |
- sudo apt-get install -y libpq-dev | |
database: | |
override: | |
- psql -c 'create database test;' -U postgres |
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=unknown&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"
Thx to crxviewer for the magic download URL.