This file contains hidden or 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
| import babel from 'rollup-plugin-babel' | |
| import commonjs from 'rollup-plugin-commonjs' | |
| import nodeResolve from 'rollup-plugin-node-resolve' | |
| import includePaths from 'rollup-plugin-includepaths' | |
| import string from 'rollup-plugin-string' | |
| export default { | |
| globals: { | |
| querystring: 'querystring', | |
| events: 'events', |
This file contains hidden or 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
| { | |
| "mappings": { | |
| "company": { | |
| "properties": { | |
| "companyId": { | |
| "type": "long" | |
| }, | |
| "ngramName": { | |
| "type": "string", | |
| "index": "analyzed", |
This file contains hidden or 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
| { | |
| "browserify": { | |
| "transform": [ | |
| [ | |
| "babelify", | |
| { | |
| "presets": "es2015" | |
| } | |
| ] | |
| ] |
This file contains hidden or 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
| javascript:Array.prototype.forEach.call(document.getElementsByTagName('p'), function(elem) {elem.innerText = elem.innerText.replace(/a[!@#$%^&*]{2}/g, 'ass').replace(/f[!@#$%^&*]{3}/g, 'fuck').replace(/s[!@#$%^&*]{3}/g, 'shit')}) |
This file contains hidden or 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
| # /etc/nginx/nginx.conf | |
| user nginx; | |
| worker_processes 1; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| events { |
This file contains hidden or 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
| echo "Launching autoexec stuff" | |
| /opt/iojs/bin/node /opt/iojs/bin/psy daemon --pidfile=/opt/autoexec/psy.pid -l /opt/autoexec/psy.log | |
| cd /opt/communal-checklist | |
| /opt/iojs/bin/node /opt/iojs/bin/psy start -n communalchecklist.com --cwd=/opt/communal-checklist --env.PORT=8001 -l communalchecklist.log -- npm run start | |
| nginx |
This file contains hidden or 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
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: autoexec | |
| # Required-Start: $remote_fs $syslog networking procps | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Autoexec Starting | |
| # Description: Enable autoexec | |
| ### END INIT INFO |
This file contains hidden or 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
| javascript:(function() { | |
| function getFromUrl(url) { | |
| return url.match(RegExp("https?://www.amazon.com/([\\w-]+/)?(dp|gp/product)/(\\w+/)?(\\w{10})"))[4] | |
| } | |
| document.body.innerHTML = '<h1>::asin|' + getFromUrl(Array.prototype.slice.apply(document.getElementsByTagName('link')).filter(function(element) { return element.attributes.getNamedItem('rel').value === 'canonical' })[0].href) + '|Title::</h1>' | |
| })() |
This file contains hidden or 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
| source /Users/josh/scripts/git-completion.bash | |
| C_DEFAULT="\[\033[m\]" | |
| C_WHITE="\[\033[1m\]" | |
| C_BLACK="\[\033[30m\]" | |
| C_RED="\[\033[31m\]" | |
| C_GREEN="\[\033[32m\]" | |
| C_YELLOW="\[\033[33m\]" | |
| C_BLUE="\[\033[34m\]" | |
| C_PURPLE="\[\033[35m\]" |
This file contains hidden or 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 getNames(key) { | |
| var parts = key.split('_') | |
| return { | |
| type: parts.shift(), | |
| property: parts.join('') | |
| } | |
| } | |
| function rowToObjects(obj) { |