start new:
tmux
start new with session name:
tmux new -s myname
Here are a list of headless browsers that I know about:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>CSS Icons framework</title> | |
</head> | |
<body> | |
<!-- http://cssdeck.com/labs/full/wejziql0/0 --> | |
<div class="triangle white-right small"></div> |
Other people's code is awful, and your own code from months previous counts as someone else's. With this and the festive spirit in mind, I dug up a canvas snow demo I made two years ago to see how bad my code really was.
Turns out the performance landscape has changed quite a bit, but after applying a couple of workarounds, best practices, and memory management, I got the demo running smoother than it ever did.
Ugh, I can't believe I just wrote "performance landscape". Anyway...
var pessoas = [ | |
{ | |
"nome" : "João", | |
"sobrenome" : "Silva" | |
}, | |
{ | |
"nome" : "Mary", | |
"sobrenome" : "Mafra" | |
}, | |
]; |
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
} | |
NodeList.prototype.__proto__ = Array.prototype; |
host: 000.000.000.000 | |
port: 0000 | |
send | |
cat file.txt > /dev/tcp/000.000.000.000/0000 | |
receive | |
nc -lkvv 4444 > file.txt |
javascript:( | |
function(){ | |
$(".banner-text-box").css("display", "none"); | |
$(".col-md-3").css("width","15%"); | |
$(".col-md-9").css("width","85%"); | |
$(".product-list-col-3 .product-box").css({"width": "30%", "margin-right": "3%"}); | |
$(".product-box").each((i, item) => { | |
url = $(item).find(".quickview-link.product-box-preview").attr("data-remote"); | |