Skip to content

Instantly share code, notes, and snippets.

Inaki Arroyo iarroyo5

Block or report user

Report or block iarroyo5

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# Remove local branches no longer on remote, also keeping master and not pushed local branches
alias cleanupgit="git checkout master && git fetch -p && git branch -vv | awk '/: gone]/{print }' | xargs git branch -d"
# Opens the browser on the specific associate Jira ticket with the current git branch
alias jira="git rev-parse --abbrev-ref HEAD | sed -E 's/.*(futrli|FUTRLI|Futrli)(-)([0-9]+).*/\1\2\3/g' | xargs -I{} open{} "
iarroyo5 /
Last active Oct 1, 2019
Working with multiples SSH keys

Working with multiple SSH keys

Step 1. Ensure you have an SSH client installed

ssh -V
ls -a ~/.ssh 

Step 2. Set up your identity

You can create a default identity

$ ssh-keygen 
View Useful CSS3 LESS Mixins
.text-shadow (@string: 0 1px 3px rgba(0, 0, 0, 0.25)) {
text-shadow: @string;
.box-shadow (@string) {
-webkit-box-shadow: @string;
-moz-box-shadow: @string;
box-shadow: @string;
.drop-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) {
-webkit-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
iarroyo5 / protips.js
Created Sep 25, 2016 — forked from nolanlawson/protips.js
Promise protips - stuff I wish I had known when I started with Promises
View protips.js
// Promise.all is good for executing many promises at once
// Promise.resolve is good for wrapping synchronous code
Promise.resolve().then(function () {
if (somethingIsNotRight()) {
throw new Error("I will be rejected asynchronously!");
iarroyo5 / git.css
Last active Jun 23, 2016 — forked from neilgee/git.css
Git Command Line Reference - Notes and reminders on set up and commands
View git.css
* Set up your Git configuration
git config --global ""
git config --global "Your Name"
git config --global core.editor "nano"
You can’t perform that action at this time.