##Diagram...
unshift → array ← push
shift ← array → pop
##Chart:
action | add | remove | start | end |
---|
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<style id="jsbin-css"> | |
#block { width: 200px; height: 200px; background-color: #f00; } | |
#button-set { margin-bottom: 5px; } |
(function () { | |
WebSocket.prototype._send = WebSocket.prototype.send; | |
WebSocket.prototype.send = function (data) { | |
this._send(data); | |
this.addEventListener('message', function (msg) { | |
console.log('>> ' + msg.data); | |
}, false); | |
this.send = function (data) { | |
this._send(data); | |
console.log("<< " + data); |
$.getScript('https://cdnjs.cloudflare.com/ajax/libs/reqwest/2.0.5/reqwest.js'); | |
$.getScript('https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js); | |
$.getScript('https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.3/backbone-min.js'); |
#Reload HEAD | |
###### Have to do every morning and evening | |
```bash | |
$> (master): git fetch origin master | |
$> (master): git status | |
$> (master): git pull origin master | |
$> (master): git checkout feature#id | |
$> (feature#id): git merge --no-ff master | |
``` |
git config --global alias.lg-show-commits 'log origin/master..HEAD' | |
git config --global alias.co checkout | |
git config --global alias.ci commit | |
git config --global alias.br branch | |
git config --global alias.st status | |
git config --global alias.unstage 'reset HEAD --' | |
git config --global alias.last 'log -1 HEAD' |
{ | |
"name": "Seed to react + redux + webpack + babel", | |
"version": "1.0.0", | |
"description": "Seed to react + redux + webpack + babel", | |
"main": "app.js", | |
"scripts": { | |
"start": "node app.js", | |
"build": "webpack", | |
"watch": "webpack --watch", | |
"test": "mocha --require test/helpers/setup.js", |
company.com site:linkedin.com/in/ |
##Diagram...
unshift → array ← push
shift ← array → pop
##Chart:
action | add | remove | start | end |
---|
This script scans your Dropbox (or any given folder) for folders stored in the ignore
array and excludes them from syncing. Makes use of the official Dropbox CLI
I'm a beginner at bash, so all improvements are welcome!
#!/bin/bash
set -e
# SETTINGS
[mergetool] | |
prompt = false | |
keepBackup = false | |
keepTemporaries = false | |
[merge] | |
tool = winmerge | |
[mergetool "winmerge"] | |
name = WinMerge |