apt-get install openresolvecho > vpntarget.ovpn <<<EOF
script-security 2
dhcp-option DNS 8.8.8.4
dhcp-option DNS 8.8.4.4
up /etc/openvpn/update-resolv-conf| import java.util.List; | |
| import java.util.LinkedList; | |
| import java.util.Iterator; | |
| import java.util.Random; | |
| class Tuple { | |
| private final char c; | |
| private boolean visited; | |
| public Tuple(char c){ |
| #include <iostream> | |
| int main () | |
| { | |
| int z; | |
| for (int i = 39; i < 43; i++){ | |
| std::cerr << "i: " << i << std::endl; | |
| for (int j = 29; j < i-9; j+=3){ | |
| z = i % j; | |
| std::cerr << "z: " << z << std::endl; |
| public class Cell<E> { | |
| private E value; | |
| public Cell(E value){ | |
| if (value == null) | |
| throw new NullPointerException(); | |
| this.value = value; | |
| } | |
| public boolean isCell(){return true;} |
apt-get install openresolvecho > vpntarget.ovpn <<<EOF
script-security 2
dhcp-option DNS 8.8.8.4
dhcp-option DNS 8.8.4.4
up /etc/openvpn/update-resolv-conf| (IFS=:;for p in ${PATH}; do if [[ -d $p ]]; then echo "OK $p"; else echo "ERR $p"; fi; done; ) |
| ps -s | grep ssh-agent | sed -re 's/^\s+([[:digit:]]+).*$/\1/' | xargs kill -TERM |
aka how to make a stupid mirror
get aptly (https://aur.archlinux.org/aptly.git)
get the ubuntu-archive-keyring. can use any ssl mirror.
curl -OJL https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu/project/ubuntu-archive-keyring.gpg.sigapt-get install equivsmkdir my-metapackage
cd my-metapackage/
equivs-control ns-control
equivs-build ns-control| #!/bin/sh | |
| OPTS='' | |
| X="+ */\n" | |
| while [ $# -gt 0 ]; do | |
| case "$1" in | |
| -*) | |
| OPTS+="$OPTS $1" | |
| ;; | |
| *) | |
| X+="+ **/$1\n" |
virtualenvwrapper has broken dependencies right now on macOS, so install like this:
sudo pip install pbr
sudo pip install --no-deps stevedore
sudo pip install --no-deps virtualenvwrapper
So that the commands mkvirtualenv and workon stay in your shell, you're going to want to do this (if you use zsh or another shell, change the filename here):