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/bash | |
# Install certbot on Ubuntu 16.04 | |
# if parameter "run" is passed to the script like `ubuntu_16.04_certbot.sh run`, it also runs "sudo certbot certonly" after install | |
# cf. https://certbot.eff.org/lets-encrypt/ubuntuxenial-other | |
sudo apt-get update -y &&\ | |
sudo apt-get install software-properties-common &&\ | |
sudo add-apt-repository ppa:certbot/certbot &&\ | |
sudo apt-get update -y &&\ |
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
// ==UserScript== | |
// @name Night Mode | |
// @namespace https://gist.github.com/chadlavi/d57509a35bc03305b28b3938dab0594f | |
// @downloadURL https://gist.github.com/chadlavi/d57509a35bc03305b28b3938dab0594f/raw/night-mode.user.js | |
// @updateURL https://gist.github.com/chadlavi/d57509a35bc03305b28b3938dab0594f/raw/night-mode.user.js | |
// @version 2.53 | |
// @description turn on night mode between the night and morning times | |
// @author Chad Lavimoniere | |
// @include http*://6.f*.org/* | |
// @grant none |
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
// ==UserScript== | |
// @name Remove title counts | |
// @namespace https://gist.github.com/chadlavi/18e538397ad9248cda79950d0d5c3919 | |
// @downloadURL https://gist.github.com/chadlavi/18e538397ad9248cda79950d0d5c3919/raw/hide-tile-counts.user.js | |
// @updateURL https://gist.github.com/chadlavi/18e538397ad9248cda79950d0d5c3919/raw/hide-tile-counts.user.js | |
// @version 1.1 | |
// @description make the title of the page always be "Facebook" when on facebook | |
// @author Chad Lavimoniere | |
// @include http*://*.facebook.com/* | |
// @include http*://twitter.com/* |
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
// ==UserScript== | |
// @name image hider | |
// @namespace https://gist.github.com/chadlavi/fae974f20b5d7567fbf6a94931a0e2d7 | |
// @downloadURL https://gist.github.com/chadlavi/fae974f20b5d7567fbf6a94931a0e2d7/raw/image-hider.user.js | |
// @updateURL https://gist.github.com/chadlavi/fae974f20b5d7567fbf6a94931a0e2d7/raw/image-hider.user.js | |
// @version 1.26 | |
// @description hide images until you want them | |
// @include https://6.f*.org/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js | |
// @copyright 2018, Chad Lavimoniere |
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
// ==UserScript== | |
// @name show titles | |
// @namespace https://gist.github.com/chadlavi/d4e0cf8af2d4f40bd0704fa61138acf0/raw/show-titles.user.js | |
// @downloadURL https://gist.github.com/chadlavi/d4e0cf8af2d4f40bd0704fa61138acf0/raw/show-titles.user.js | |
// @updateURL | |
// @version 1.1 | |
// @description show the titles of older and newer entries | |
// @author Chad Lavimoniere | |
// @include http://6.f*.org/file/view/* | |
// @grant none |
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
// ==UserScript== | |
// @name links new tab | |
// @namespace https://gist.github.com/chadlavi/1ba0870db91bf2d9f5ba292289186c56 | |
// @dowloadURL https://gist.github.com/chadlavi/1ba0870db91bf2d9f5ba292289186c56/raw/fp-links-new-tab.user.js | |
// @updateURL https://gist.github.com/chadlavi/1ba0870db91bf2d9f5ba292289186c56/raw/fp-links-new-tab.user.js | |
// @version 2.0 | |
// @description always open external links in a new tab | |
// @copyright 2019, Chad Lavimoniere | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name techcrunch open article in new tab | |
// @namespace https://gist.github.com/chadlavi/f5ca94ccd1aafed21d1e1e250dc954e0 | |
// @downloadURL https://gist.github.com/chadlavi/f5ca94ccd1aafed21d1e1e250dc954e0/raw/techcrunch-open-new-tab.user.js | |
// @updateURL https://gist.github.com/chadlavi/f5ca94ccd1aafed21d1e1e250dc954e0/raw/techcrunch-open-new-tab.user.js | |
// @version 1.2 | |
// @description Open tech crunch articles in new tabs | |
// @author You | |
// @match *techcrunch.com/* | |
// @grant none |
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
// ==UserScript== | |
// @name hackernews open link in new tab | |
// @namespace https://gist.github.com/chadlavi/90c5e30998ccdfc989cd846949b570ed | |
// @downloadURL https://gist.github.com/chadlavi/90c5e30998ccdfc989cd846949b570ed/raw/hackernews-open-link-new-tab.user.js | |
// @updateURL https://gist.github.com/chadlavi/90c5e30998ccdfc989cd846949b570ed/raw/hackernews-open-link-new-tab.user.js | |
// @version 1.2 | |
// @description hn open links in new tabs | |
// @author Chad Lavimoniere | |
// @match https://news.ycombinator.com/* | |
// @grant none |
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
// ==UserScript== | |
// @name youtube embedder | |
// @version 2.0.3 | |
// @namespace https://gist.github.com/chadlavi/27c08ea6648d375c3f5de3ec7f43a015 | |
// @downloadURL https://gist.github.com/chadlavi/27c08ea6648d375c3f5de3ec7f43a015/raw/youtube-embedder.user.js | |
// @updateURL https://gist.github.com/chadlavi/27c08ea6648d375c3f5de3ec7f43a015/raw/youtube-embedder.user.js | |
// @description embed youtube videos when a url is present | |
// @author Chad Lavimoniere | |
// @exclude http*://*youtube.com* | |
// @exclude http*://*facebook.com* |
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 | |
# some parts of this forked from https://github.com/blended/sketch-collaboration | |
# cf. https://github.com/chadlavi/sketch-collaboration | |
if [ ! `command -v jq` ]; then | |
echo "you need to install jq. If you use Homebrew, try 'brew install jq'" | |
exit 1 | |
fi | |
if [ -z "$1 ]; then |