Fun things to do with DF Hack.
- DF Hack documentation - where you can find everything
# a collection of ansible copypastas | |
▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖ | |
# get python/pip package installed version | |
- name: check PACKAGENAME version | |
shell: pip list [--user] --format=json | jq --raw-output '.[] | select(.name == "PACKAGENAME").version' | |
register: PACKAGENAME_installed_version | |
changed_when: false | |
▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖▄▄▖ | |
[{"imdb": "tt0287467", "title": "Talk to Her"}, {"imdb": "tt0169024", "title": "Megacities"}, {"imdb": "tt0185125", "title": "All About My Mother"}, {"imdb": "tt0088763", "title": "Back to the Future"}, {"imdb": "tt0416320", "title": "Match Point"}, {"imdb": "tt0096874", "title": "Back to the Future Part II"}, {"imdb": "tt0373926", "title": "The Interpreter"}, {"imdb": "tt0099088", "title": "Back to the Future Part III"}, {"imdb": "tt0097165", "title": "Dead Poets Society"}, {"imdb": "tt0441909", "title": "Volver"}, {"imdb": "tt0276751", "title": "About a Boy"}, {"imdb": "tt0067185", "title": "Harold and Maude"}, {"imdb": "tt0347048", "title": "Head-On"}, {"imdb": "tt0162426", "title": "Short Sharp Shock"}, {"imdb": "tt0116209", "title": "The English Patient"}, {"imdb": "tt0052357", "title": "Vertigo"}, {"imdb": "tt0060196", "title": "The Good, the Bad and the Ugly"}, {"imdb": "tt0390221", "title": "Maria Full of Grace"}, {"imdb": "tt0048624", "title": "Sissi"}, {"imdb": "tt0049762", "title": "Sissi: The Youn |
Fun things to do with DF Hack.
// ==UserScript== | |
// @name Imgur: Mobile Cleanup | |
// @namespace https://github.com/Zren/ | |
// @description Cleanup m.imgur.com and always load all images in the album. | |
// @icon https://imgur.com/favicon.ico | |
// @author Zren | |
// @version 2 | |
// @include https://m.imgur.com/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
https://jsfiddle.net/2y9jes63/20/ | |
https://jsbin.com/wesosuxifu/edit?js,output |
This gist contains all the OpenWRT configuraion files needed to connect to Private Internet Access (PIA) VPN servers. The following files are included:
network
: contains configuration to add a virtual network device (i.e. tun1366
) and custom DNS serversopenvpn
: OpenVPN configuration file to connect to PIA VPN serversfirewall
: firewall configuration which passes all traffic through VPN and rejects any request when OpenVPN is downNOTE: there are a number of other files required to be available under /etc/openvpn
for this approach to work:
pia.auth
: VPN credentials in two lines, first the username and the second the passwordI hereby claim:
To claim this, I am signing this object:
const colors = { | |
dark: "#181818", | |
gray: "#555555", | |
light: "#AAAAAA", | |
outline: "#8FBB93", | |
power: "#f4331f ", | |
road: "#666", | |
}; | |
const dirs: number[][] = [[-1, -1], [1, -1], [-1, 1], [1, 1], [0, -1], [-1, 0], [0, 1], [1, 0]]; |
#!/bin/bash | |
set -e | |
JAVA_HOME=${1-text} | |
[ $# -eq 0 ] && { echo "Usage: sudo $0 \$(/usr/libexec/java_home -v '1.8*')" ; exit 1; } | |
KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts | |
wget https://letsencrypt.org/certs/letsencryptauthorityx1.der | |
wget https://letsencrypt.org/certs/letsencryptauthorityx2.der |