- Install Tampermonkey for Chrome or Greasemonkey for Firefox.
- Go to the raw url of this page and Tampermonkey will catch it as a userscript.
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
const doubler = (input) => { | |
return doubler.operationsByType[typeof input](input); | |
}; | |
doubler.operationsByType = { | |
number: (input) => input + input, | |
string: (input) => | |
input | |
.split('') | |
.map((letter) => letter + letter) | |
.join(''), |
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
const { | |
FuseBox, | |
JSONPlugin, | |
EnvPlugin, | |
QuantumPlugin, | |
} = require('fuse-box'); | |
const { TypeHelper } = require('fuse-box-typechecker'); | |
const typeHelper = TypeHelper({ | |
tsConfig: './tsconfig.json', |
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
seta r_filmtweakdarktint "1.1 1.25 1.4" | |
seta r_filmtweaklighttint "1 1 1.2" | |
seta r_filmtweakdesaturation "0" | |
seta r_filmtweakcontrast "1.5" | |
seta r_filmtweakbrigthness "0.255" | |
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
/** | |
* npm install lodash yargs shell | |
*/ | |
const shell = require('./shell'); | |
const _ = require('lodash'); | |
const argv = require('yargs') | |
.usage('Usage: node $0 [options]') | |
.option('all', { | |
alias: 'a', |
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
const shell = require('./shell'); | |
const _ = require('lodash'); | |
const argv = require('yargs') | |
.usage('Usage: node $0 [options]') | |
.option('all', { | |
alias: 'a', | |
boolean: true, | |
describe: 'Run all test suites (ignores + and - prefixes)' | |
}) | |
.option('wct', { |
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
#!/bin/bash | |
# Borrowed from grunt-cli | |
# http://gruntjs.com/ | |
# | |
# Copyright (c) 2012 Tyler Kellen, contributors | |
# Licensed under the MIT license. | |
# https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT | |
# Usage: |
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
alias gitall="find . -type d -maxdepth 1 -exec sh -c '(echo -e \"\e[4m{} \e[0m:\" && cd {} && git pull)' ';'" |