This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"Javascript","icon":"code","settings":"{\"settings\":\"{\\r\\n \\\"[css]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\r\\n },\\r\\n \\\"[html]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.html-language-features\\\"\\r\\n },\\r\\n \\\"[javascript]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\r\\n },\\r\\n \\\"[javascriptreact]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\r\\n },\\r\\n \\\"[json]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\r\\n },\\r\\n \\\"[jsonc]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\r\\n },\\r\\n \\\"[php]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"DEVSENSE.phptools-vscode\\\"\\r\\n },\\r\\n \\\"[xml]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"DotJoshJohnson.xml\\\"\\r\\n },\\r\\n \\\"diffEditor.ignoreTrimWhitespace\\\": false,\\r\\n \\\"editor.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Social: Facebook / Open Graph --> | |
<meta property="fb:admins" content="503386332"> | |
<meta property="fb:app_id" content="1389892087910588"> | |
<meta property="og:url" content="http://scotch.io/bar-talk/bootstrap-3-tips-and-tricks-you-might-not-know"> | |
<meta property="og:type" content="article"> | |
<meta property="og:title" content="Bootstrap 3 Tips and Tricks You Might Not Know"> | |
<meta property="og:image" content="/wp-content/uploads/2014/05/bs31.jpg"/> | |
<meta property="og:description" content="Bootstrap 3 has a ton of features and helpers to speed up front-end development. Sometimes you need something and you end up writing your own custom CSS and JavaScript without even realizing that Bootstrap could have done it for you...."> | |
<meta property="og:site_name" content="Scotch"> | |
<meta property="article:author" content="https://www.facebook.com/NCerminara"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function memorySizeOf(obj) { | |
var bytes = 0; | |
function sizeOf(obj) { | |
if(obj !== null && obj !== undefined) { | |
switch(typeof obj) { | |
case 'number': | |
bytes += 8; | |
break; | |
case 'string': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var buffer = require('buffer'); | |
var path = require('path'); | |
var fs = require('fs'); | |
function encode_base64(filename){ | |
fs.readFile(path.join(__dirname,'/public/',filename),function(error,data){ | |
if(error){ | |
throw error; | |
}else{ | |
var buf = Buffer.from(data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Social: Facebook / Open Graph --> | |
<meta property="fb:admins" content="503386332"> | |
<meta property="fb:app_id" content="1389892087910588"> | |
<meta property="og:url" content="http://scotch.io/bar-talk/bootstrap-3-tips-and-tricks-you-might-not-know"> | |
<meta property="og:type" content="article"> | |
<meta property="og:title" content="Bootstrap 3 Tips and Tricks You Might Not Know"> | |
<meta property="og:image" content="/wp-content/uploads/2014/05/bs31.jpg"/> | |
<meta property="og:description" content="Bootstrap 3 has a ton of features and helpers to speed up front-end development. Sometimes you need something and you end up writing your own custom CSS and JavaScript without even realizing that Bootstrap could have done it for you...."> | |
<meta property="og:site_name" content="Scotch"> | |
<meta property="article:author" content="https://www.facebook.com/NCerminara"> |