Skip to content

Instantly share code, notes, and snippets.

@SteveHere
SteveHere / epitaph-hide-dead-civs.user.js
Last active February 2, 2024 18:04
Epitaph - Add 'Hide Civ' button - Tampermonkey script
// ==UserScript==
// @name Add 'Hide Civ' Button
// @version 0.1
// @namespace https://gist.github.com/SteveHere/1a19df5242802df3edcc7d34d5c62523
// @description Injects a 'Hide Civ' button for each dead civ
// @author SteveHere
// @match https://mkremins.github.io/epitaph/
// @icon none
// @grant none
// ==/UserScript==
@carlessanagustin
carlessanagustin / Nginx_Cheat_Sheet.md
Last active April 18, 2024 20:18
Nginx Cheat Sheet
@patik
patik / .bashrc
Last active January 19, 2023 09:02
Bash configure proxy for corporate network
# configure proxy for git while on corporate network
# From https://gist.github.com/garystafford/8196920
function proxy_on(){
# assumes $USERDOMAIN, $USERNAME, $USERDNSDOMAIN
# are existing Windows system-level environment variables
# assumes $PASSWORD, $PROXY_SERVER, $PROXY_PORT
# are existing Windows current user-level environment variables (your user)
# environment variables are UPPERCASE even in git bash
@micw
micw / install_jenkins_plugin.sh
Last active August 11, 2023 06:14
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@bradmontgomery
bradmontgomery / ShortIntroToScraping.rst
Created February 21, 2012 02:00
Really short intro to scraping with Beautiful Soup and Requests
@jordansissel
jordansissel / site.pp
Created October 15, 2010 19:56
Simplest example of a masterless puppet invocation using module paths
include foo