View .bash_aliases
# commands from http://www.askapache.com/linux/bash_profile-functions-advanced-shell.html
#alias chmod='command chmod -c'
alias cpr='command cp -rpv'
alias df='command df -kh'
alias df1='command df -ia'
alias diff='diff -up'
alias dsiz='du -sk * | sort -n --'
alias du='command du -kh'
alias du1='echo *|tr " " "n" |xargs -iFF command du -hs FF|sort'
View weave.css
background: linear-gradient(45deg, #222 12%, transparent 0, transparent 88%, #222 0),
linear-gradient(135deg, transparent 37%, #111 0, #444 32%, #111 63%, transparent 0),
linear-gradient(45deg, transparent 37%, #222 0, #222 63%, transparent 0) #000;
background-size: 15px 15px;
View geom.js
var TWO_PI = 2 * Math.PI;
function tmpl (template, dict) {
return template.replace(/\$\{([^\}]*)\}/g, function (_, name) {
return dict[name];
});
}
function makeSegment (args, options) {
// args is {startAngle, angle, index, className}
View print.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Multi-page print test</title>
<!--
Print to PDF, landscape, letter size, no margins, enable background graphics.
Tested on Chrome.
-->
<style>
View gist:cfabeac34149a34e757e
Verifying that +elazutkin is my blockchain ID. https://onename.com/elazutkin
View gist:9609662
version: grunt-cli v0.1.8
1. Install node-inspector globally (-g)
npm install -g node-inspector
2. Add debugger statements to your code
3. Run your grunt task in debug mode
View nginx-webp-sample.conf
user www-data;
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
View output.txt
$ node test_ctr_aop.js
M::before
A::ctr
B::ctr
M::after
View data-table.css
* + table {
border-style:solid;
border-width:1px;
border-color:#e7e3e7;
}
* + table th, * + table td {
border-style:dashed;
border-width:1px;
border-color:#e7e3e7;
View minified.js
/* UMD.define */ (typeof define=="function"&&define||function(d,f,m){m={module:module,require:require};module.exports=f.apply(null,d.map(function(n){return m[n]||require(n)}))})
(["module", "../main"], function(module, unit){
// module's code
});
/* UMD.require */ (typeof define=="function"&&require||function(d,f,m){m={module:module,require:require};f.apply(null,d.map(function(n){return m[n]||require(n)}))})
(["module", "../main"], function(module, unit){
// module's code
});