Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View weslleyaraujo's full-sized avatar
💤

Weslley Araujo weslleyaraujo

💤
View GitHub Profile
@weslleyaraujo
weslleyaraujo / destructuring.js
Created October 14, 2015 16:26 — forked from mikaelbr/destructuring.js
Several demos and usages for ES6 destructuring.
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => {
return [1, 2, 3];
{
"private": true,
"scripts": {
"build:js": "browserify -e source/scripts/index.js -t [ babelify --optional es7 ] -o public/bundle.js",
"build:css": "cssnext source/styles/index.css public/bundle.css",
"build": "npm run js && npm run css",
"watch:js": "watchy -w source/scripts -- npm run build:js",
"watch:css": "watchy -w source/styles -- npm run build:css"
},
"dependencies": {},

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@weslleyaraujo
weslleyaraujo / Build_Vim7.4_CentOS7.txt
Created October 10, 2017 10:10 — forked from junxie6/Build_Vim7.4_CentOS7.txt
Compile the latest Vim 7.4 on CentOS 7
Compile the latest Vim 7.4 on CentOS 7
# yum install gcc make ncurses ncurses-devel
# yum install ruby ruby-devel lua lua-devel luajit \
luajit-devel ctags git python python-devel \
python3 python3-devel tcl-devel \
perl perl-devel perl-ExtUtils-ParseXS \
perl-ExtUtils-XSpp perl-ExtUtils-CBuilder \
perl-ExtUtils-Embed