Skip to content

Instantly share code, notes, and snippets.

View JsseL's full-sized avatar
👯‍♀️
Badabim 🎵

Jesse Laukkanen JsseL

👯‍♀️
Badabim 🎵
View GitHub Profile
@JsseL
JsseL / react-pure-component.sublime-snippet
Last active September 5, 2017 07:42
Sublime snippets
<snippet>
<content><![CDATA[
import React, {PropTypes} from 'react';
const ${1:${TM_FILENAME/(.+)\..+/$1/}} = (props) => {
return (
${4}
);
};
[alias]
amend = commit --amend
br = branch --sort=-committerdate
brd = "!f() { git branch -d $1 $2 $3 && git br; }; f"
brm = branch --merged
cm = checkout master
co = checkout
dc = diff --cached
fix = "!f() { git commit --fixup $1 && git rebase -i --autosquash $1~1; }; f"
fixa = "!f() { git commit --fixup $1 && git rebase --autosquash $1~1; }; f"
@JsseL
JsseL / settings
Last active March 13, 2017 07:38
Sublime settings
{
"binary_file_patterns": [
"**/node_modules/*",
"**/coverage/*",
"*bundle.js",
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
@JsseL
JsseL / .bash_functions
Created February 3, 2017 12:16
Work On
source ~/.bash_completion.d/wo
wo() {
cd /var/www/$1
. ./venv/bin/activate
if [ -d project ]; then
cd project
fi
if [ -d app ]; then
cd app