http://nvie.com/posts/a-successful-git-branching-model/ (Classic)
http://mikeeverhart.net/git/simplified-git-branching-model/
http://blogpro.toutantic.net/2012/01/02/another-git-branching-model/
https://confluence.oceanobservatories.org/display/CIDev/GitHub+Adoption+and+Git+Branching
http://blog.plataformatec.com.br/2011/04/a-successful-git-branching-model/
https://www.atlassian.com/git/workflows#!workflow-feature-branch
http://www.slideshare.net/lemiorhan/git-branching-model
http://drewfradette.ca/a-simpler-successful-git-branching-model/
This file contains hidden or 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
#!/bin/bash | |
c=1 | |
while [ $c -le 1100 ] | |
do | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 57 18838 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 53 613 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 54 512 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 58 44 | |
$ANDROID_HOME/platform-tools/adb shell sendevent /dev/input/event1 3 48 4 |
This file contains hidden or 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
sudo add-apt-repository ppa:gnome3-team/gnome3-staging | |
sudo add-apt-repository ppa:gnome3-team/gnome3 | |
sudo apt-add-repository ppa:cordova-ubuntu/ppa | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo apt-get install gnome gnome-shell google-chrome-stable cordova-cli zsh git vim-gnome |
This file contains hidden or 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
# place this file in ~/.config/terminator/config | |
[global_config] | |
title_transmit_bg_color = "#d30102" | |
focus = system | |
[keybindings] | |
reset_clear = <Ctrl>R | |
new_tab = <Ctrl>T | |
split_horiz = <Ctrl><Shift>E | |
split_vert = <Ctrl>E | |
close_term = <Ctrl><Shift>W |
This file contains hidden or 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
# Baixa resultados do TSE desde 1989 e cria um CSV com os parlamentares eleitos com colunas: | |
# ano, uf, nome, cargo, situação, partido | |
ANOS_UF := 1989 1990 | |
ANOS_MUNZONA := 1994 1996 1998 2000 2002 2004 2006 2008 2010 2012 2014 | |
ARQUIVOS_UF := $(patsubst %, VOTACAO_CANDIDATO_UF_%.ZIP, $(ANOS_UF)) | |
ARQUIVOS_MUNZONA := $(patsubst %, votacao_candidato_munzona_%.zip, $(ANOS_MUNZONA)) | |
ARQUIVOS_MUNZONA_DEPENDENCIES := $(patsubst %, votacao_candidato_munzona_%_SP.txt, $(ANOS_MUNZONA)) | |
ARQUIVOS_UF_DEPENDENCIES := $(patsubst %, VOTACAO_CANDIDATO_UF_%, $(ANOS_UF)) |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am dukex on github. | |
* I am dukex (https://keybase.io/dukex) on keybase. | |
* I have a public key whose fingerprint is D795 DD77 98F1 2DD8 0C8C B000 C326 7706 5124 BF2B | |
To claim this, I am signing this object: |
This file contains hidden or 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
package xpto | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/http/httptest" | |
"strings" | |
"testing" | |
This file contains hidden or 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
var removeSugestions = function(){ | |
var x = document.querySelectorAll(".ego_x") | |
for(var i = 0; i < x.length; i++){ | |
x[i].click() | |
} | |
var e = document.querySelectorAll("[name=xout_reason][value=not_interested]") | |
for(var j = 0; j< e.length; j++){ | |
e[j].click() | |
} |
This file contains hidden or 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
#!/bin/bash | |
n=0 | |
cat $1 | while read line; do | |
n=`expr $n + 1` | |
if [[ $line == *"$2"* ]] ; then | |
echo "LINHA $n: $line" | |
fi | |
done |
This file contains hidden or 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
var casper = require("casper").create(), | |
viewportSizes = [ | |
[320,480], | |
[320,568], | |
[600,1024], | |
[1024,768], | |
[1280,800], | |
[1440,900] | |
], | |
url = casper.cli.args[0], |