Skip to content

Instantly share code, notes, and snippets.

@rodrimaia
rodrimaia / gist:ea2e6a4ffef3b4f3a51f
Created November 24, 2014 17:45
Git Feature Branch Workflow
# Git Feature Branch Workflow
This .md was created in order to set a flow when commiting codes. As the team is growing everyday I found it useful to everyone that we had some steps to follow and don't let the code break into a thousand of conflicts that could fade away some parts of code and something else. It is also a complementing to [CONTRIBUTING.md](CONTRIBUTING.md)
So here we have the suggested steps, but feel free to suggest somthing different you didn't agree or thing we could improve.
##When developing a new feature
When a new feature starts to be implemented, you should create a new branch with your name (optional) followed by the feature name you think should be good. But before that, you should keep your ```master``` up-to-date.
So, go to your ```master```branch and synchronize with the remote repository as follow:
@rodrimaia
rodrimaia / gist:637641c4438db9af88b9
Created May 5, 2015 13:25
most used commands linux
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
@rodrimaia
rodrimaia / .myAlias
Last active August 29, 2015 14:20
.myAlias
alias myhistory="history | awk '{CMD[\$2]++;count++;}END { for (a in CMD)print CMD[a] \" \" CMD[a]/count*100 \"% \" a;}' | grep -v \"./\" | column -c3 -s \" \" -t | sort -nr | nl | head -n10"
@rodrimaia
rodrimaia / osx-for-hackers.sh
Last active February 20, 2017 18:03 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/usr/bin/env bash
# ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
<html>
<head>
</head>
<body>
<div id="app">
<div>
<label> first vector </label><input type="number" v-model="vector1" >
<label> second vector </label><input type="number" v-model="vector2" >
</div>
<svg width="600px" height="600px">

Keybase proof

I hereby claim:

  • I am rodrimaia on github.
  • I am rodrigomaia17 (https://keybase.io/rodrigomaia17) on keybase.
  • I have a public key whose fingerprint is A51D 5E74 E059 A4F5 05AE 2A41 5ADC 6583 42AC AF23

To claim this, I am signing this object: