View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
//Underscore FIRST method
View .bash_profile
alias projx='cd ~/Documents/x/'
#listings
alias ll='ls -l'
alias la='ls -a'
alias ls='ls --color=auto'
alias l.='ls -d .* --color=auto'
alias .='cd'
alias ..='cd ..'
alias ...='cd ~'
View nobr-contenteditable
[contenteditable="true"] {
text-align:right;
white-space: nowrap;
width:80px;
overflow: hidden;
}
[contenteditable="true"] br {
display:none;
View js-swap
var a = 100;
var b = 3124783;
//Using XOR-bitwise operator
a = a ^ b; // a = 3124811
b = a ^ b; // b = 100
a = a ^ b; // a = 3124783
//Using a simple arithmetic operators
b = a + (a=b)-b;