curl https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | bash
nvm install iojs
| [gulp] Starting 'web:buildPages'... | |
| Error: The partial day_table could not be found | |
| at new Error (<anonymous>) | |
| at Error.Exception (/Users/fabricio/trampos/taboca/companionb/node_modules/gulp-assemble/node_modules/assemble/node_modules/handlebars/dist/cjs/handlebars/exception.js:13:41) | |
| at Object.invokePartial (/Users/fabricio/trampos/taboca/companionb/node_modules/gulp-assemble/node_modules/assemble/node_modules/handlebars/dist/cjs/handlebars/runtime.js:163:11) | |
| at Object.invokePartialWrapper [as invokePartial] (/Users/fabricio/trampos/taboca/companionb/node_modules/gulp-assemble/node_modules/assemble/node_modules/handlebars/dist/cjs/handlebars/runtime.js:42:39) | |
| at Object.eval (eval at <anonymous> (/Users/fabricio/trampos/taboca/companionb/node_modules/gulp-assemble/node_modules/assemble/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:181:23), <anonymous>:3:17) | |
| at Object.prog [as fn] (/Users/fabricio/trampos/taboca/companionb/node_modules/gulp-assemble/node_mo |
| (function() { | |
| "use strict"; | |
| var articlePath = window.location.protocol + '//' + window.location.host + window.location.pathname; | |
| var pluginURL = nodeBBURL + '/plugins/nodebb-plugin-blog-comments', | |
| savedText, nodebbDiv, contentDiv, commentsDiv, commentsCounter, commentsAuthor, commentsCategory; | |
| var stylesheet = document.createElement("link"); | |
| stylesheet.setAttribute("rel", "stylesheet"); |
| if (data.isAdmin) { | |
| //var adminXHR = newXHR(); | |
| //adminXHR.open('GET', '/ghost/api/v0.1/posts/' + articleID); | |
| //adminXHR.onload = function() { | |
| //if (adminXHR.status >= 200 && adminXHR.status < 400) { | |
| //var articleData = JSON.parse(adminXHR.responseText), | |
| //markdown = articleData.markdown.split('\n\n').slice(0,2).join('\n\n') + '\n\n**Click [here]('+articlePath+') to see the fu$ | |
| var markdown = '\n\n**Click [here]('+articlePath+') to see the full blog post**'; | |
| var title = $('.post-title').text(); | |
| document.getElementBy |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| old=2 | |
| testmode=2 | |
| if [[ ($old != 1) && ($testmode != 1) ]] | |
| then | |
| echo "temporary files" | |
| else | |
| echo "something else" | |
| fi |
| #!/bin/bash | |
| arguments=( "$@" ) | |
| count=0 | |
| for arg in "${arguments[@]}" | |
| do | |
| ((count++)) | |
| nextArg="${arguments[count]}" | |
| echo "$arg $nextArg" | |
| done |
| ||trrsf.com.br*/admanager.js$domain=terra.com.br |
| ! blacklist first | |
| akamaihd.net/rsrc.php/v2/*.js | |
| akamaihd.net/rsrc.php/v2/*.css | |
| akamaihd.net/rsrc.php/v2/*.png | |
| akamaihd.net/rsrc.php/v2/*.gif | |
| fbcdn-profile*.akamaihd.net | |
| facebook.com/ai.php | |
| facebook.com/xti.php | |
| window.store = { | |
| localStoreSupport : function() { | |
| try { | |
| return 'localStorage' in window && window['localStorage'] !== null; | |
| } catch (e) { | |
| return false; | |
| } | |
| }, | |
| set : function(name,value,days) { | |
| if (days) { |