function show() {
DOMAIN=".example.com"
REMOTE="$2$DOMAIN"
ssh -tR 1080:127.0.0.1:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80:127.0.0.1:1080 localhost"
}
This is a docker-compose file for a simple, secure torrent setup. It includes [rTorrent] (a torrent client), [flood] (a web interface for rTorrent), [OpenVPN] (to tunnel traffic through your ISP) and a simple iptables firewall to allow rTorrent to only access the internet through a VPN.
To run everything, put your open vpn configuration file in ./vpn.ovpn
and the
other configuration files from this gist in a directory then go to that
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
global: | |
evaluation_interval: 15s | |
rule_files: | |
- smokeping.rules | |
scrape_configs: | |
- job_name: 'blackbox_icmp' | |
metrics_path: /probe | |
params: | |
module: [icmp] | |
scrape_interval: 1s |
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 | |
# Yes you can do this in ansible | |
jdir = "~/jupyterLocal" | |
mkdir -p ${jdir} | |
pip install virtualenv | |
pip install virtualenvwrapper | |
TMPFILE=$(mktemp) |
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
927,1514c927 | |
< <script language="JavaScript" type="text/javascript"> | |
< // Copyright (C) 2017 Comcast Cable Communications, LLC | |
< // Contact Us: http://customer.xfinity.com/contact-us/ | |
< // Intended use of this message is to display critical and time sensitive notifications to customers. | |
< /* | |
< This program is free software; you can redistribute it and/or | |
< modify it under the terms of the GNU General Public License | |
< as published by the Free Software Foundation; either version 2 | |
< of the License, or (at your option) any later version. |
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 bash | |
# authornote: i need to change all mentions of blackhole -> transferdir or something | |
# tested on macos, YMMV | |
# Gist: https://gist.github.com/bdmorin/d3c53e0f495f4947bf61fb55e1c85310 | |
# Set ur putio oath token | |
OAUTH_TOKEN=$(cat ${HOME}/.putio_oauth) |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha --> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" /> | |
<title>stdin</title> | |
</head> | |
<body> | |
<pre> |
I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.