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
// ==UserScript== | |
// @name Hide WtF and Trending on Twitter v2 | |
// @namespace http://twitter.com/ | |
// @version 0.1 | |
// @description Hides the WtF (Who to Follow) and Trending modules on the side. | |
// @author Benjamin Blackwood | |
// @match https://twitter.com/* | |
// @copyright 2020 Benjamin Blackwood | |
// @grant none | |
// ==/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
#!/usr/bin/env node | |
console.log('yay gist'); | |
const { version, name } = require('./package.json'); | |
console.log(version, name); | |
console.log(process.cwd()); | |
console.log(__dirname); |
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
find . -type f -name '*.js' \ | |
-not -name '*.specs.js' \ | |
-not -name '*.spec.js' \ | |
-not -name '*.fn.js' \ | |
-not -name '*.page.js' \ | |
-not -name 'index.js'|\ | |
sed "s/^/import \'/g" |\ | |
sed 's/.js$/\';/g' \ | |
> index.js |
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
## Forked from https://gist.github.com/dersam/0ec781e8fe552521945671870344147b | |
## Also received help from https://twitter.com/gitkraken/status/691675309725368321 | |
## Open GitKraken using the current repo directory. | |
## This code is for fish shell. The same thing can be done in bash | |
## by creating an alias with the command below. | |
## `1>/dev/null` directs logs from the terminal | |
## `&` allows use of the same terminal instance to do other things |