-
https://www.atlassian.com/git/tutorials/setting-up-a-repository
One of the most complete tutorials I've seen that's easy to follow -
http://nvie.com/posts/a-successful-git-branching-model/, A successful Git branching model
Git Flow workflow. -
https://github.com/nvie/gitflow, Original Git Flow extension
-
https://github.com/petervanderdoes/gitflow, Git Flow AVH extension. Created since the original hasn't been updated in a while.
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
Adjuntas | |
Aguada | |
Aguadilla | |
Aguas Buenas | |
Aibonito | |
Arecibo | |
Arroyo | |
Añasco | |
Barceloneta | |
Barranquitas |
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
adjuntas | |
aguada | |
aguadilla | |
aguas_buenas | |
aibonito | |
arecibo | |
arroyo | |
anasco | |
barceloneta | |
barranquitas |
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
adjuntas|Adjuntas | |
aguada|Aguada | |
aguadilla|Aguadilla | |
aguas_buenas|Aguas Buenas | |
aibonito|Aibonito | |
arecibo|Arecibo | |
arroyo|Arroyo | |
anasco|Añasco | |
barceloneta|Barceloneta | |
barranquitas|Barranquitas |
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
accentsTidy = function(s){ | |
var r=s.toLowerCase(); | |
r = r.replace(new RegExp(/\s/g),""); | |
r = r.replace(new RegExp(/[á]/g),"a"); | |
r = r.replace(new RegExp(/[é]/g),"e"); | |
r = r.replace(new RegExp(/[í]/g),"i"); | |
r = r.replace(new RegExp(/ñ/g),"n"); | |
r = r.replace(new RegExp(/[ó]/g),"o"); | |
r = r.replace(new RegExp(/[úü]/g),"u"); | |
return r; |
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
#Extracted from https://www.cs.purdue.edu/resources/facilities/remote-access/ssh_known_hosts2 | |
#removed the key part using searching for ssh-(.*)\n and replacing with \n | |
# Since the only part I removed was the key, we can asume all the hosts per line identify the same host. | |
adenine,adenine.cs,adenine.cs.purdue.edu,128.10.8.25 | |
adenine,adenine.cs,adenine.cs.purdue.edu,128.10.8.25 | |
airfix,airfix.cs,airfix.cs.purdue.edu,128.10.2.171 | |
airfix,airfix.cs,airfix.cs.purdue.edu,128.10.2.171 | |
akula,akula.cs,akula.cs.purdue.edu,128.10.8.48 | |
akula,akula.cs,akula.cs.purdue.edu,128.10.8.48 |
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
Actually, that's a feature | |
Did you check for a virus on your system? | |
Don't worry, that value is only wrong half of the time | |
Even though it doesn't work, how does it feel? | |
Everything looks fine my end | |
How is that possible? | |
I broke that deliberately to do some testing | |
I can have a look but there's a lot of if statements in that code! | |
I can't make that a priority right now | |
I can't test everything |
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
javascript:void((function () { | |
var uri = location.href; | |
var key = "cachebuster"; | |
var re = new RegExp("([?&])" + key + "=(.*)?(&|$)", "i"); | |
var separator = uri.indexOf('?') !== -1 ? "&" : "?"; | |
var matches = uri.match(re); | |
if (matches) { | |
location.href = uri.replace(re, '$1' + key + "=" + String(parseInt(matches[2])+1) + '$3'); |
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
#!/bin/sh | |
# up - v2 - script to keep your Mac up-to-date (OS, Homebrew, and App Store updates) via the command line | |
# run thus to to install: cd /usr/local/bin && curl -s -O https://gist.githubusercontent.com/mayel/c07bc0acb91824501d5bdbdc9eb7b33a/raw/08821f64c067327ea68a1a817eb43657db10f10e/up && chmod 755 /usr/local/bin/up | |
# and then run it anytime by simply entering the command: up | |
# By https://github.com/mayel based on a script by https://github.com/imwally | |
# homebrew |
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
# source: http://st-on-it.blogspot.com/2010/01/how-to-move-folders-between-git.html | |
# First of all you need to have a clean clone of the source repository so we didn't screw the things up. | |
git clone git://server.com/my-repo1.git | |
# After that you need to do some preparations on the source repository, nuking all the entries except the folder you need to move. Use the following command | |
git filter-branch --subdirectory-filter your_dir -- -- all | |
# This will nuke all the other entries and their history, creating a clean git repository that contains only data and history from the directory you need. If you need to move several folders, you have to collect them in a single directory using the git mv command. |
OlderNewer