A demonstration of SVG's Gaussian blur filter effect: the svg:feGaussianBlur element.
Image source: GitHub's octodex.
function isCircular (d) { | |
try {JSON.stringify(d)} | |
catch (e) {return true} | |
return false | |
} |
php2js: function (file, out, done) { | |
fs.readFile(file, {encoding: 'utf8'}, function (err, data) { | |
var replace = [ | |
{in: /;\n/, out: '\n'}, | |
{in: /->/, out: '.'}, | |
{in: /\$([a-z0-9_]+)/, out: '$1'}, | |
{in: /([a-z0-9_]+?)\['([^\]]+?)'\]/, out: '$1.$2'}, | |
{in: / \. /, out: ' + '}, | |
{in: / \.= /, out: ' += '}, | |
{in: /foreach \(([a-z0-9_.]+?) as &?([a-z0-9_.]+?)\)/, out: '_.each($1, function ($2)'}, |
A demonstration of SVG's Gaussian blur filter effect: the svg:feGaussianBlur element.
Image source: GitHub's octodex.
new Date(year, 10, 28 - (new Date(year, 10, 1).getDay() + 2) % 7) |
#ignore | |
echo '.DS_Store*' >> .gitignore | |
#remove from history | |
find . -name '.DS_Store*' | while read f; do git filter-branch --index-filter "git rm --cached --ignore-unmatch $f"; rm -rf .git/refs/original; done; | |
#cleanup | |
git gc --prune=now |