Skip to content

Instantly share code, notes, and snippets.

@mpalet
mpalet / setup-shadowsocks-on-debian.sh
Last active August 4, 2017 19:46 — forked from vincentbel/setup-shadowsocks-on-debian.sh
Setup shadowsocks on debian
#!/bin/bash
########## Install Shadowsocks ##########
# https://github.com/shadowsocks/shadowsocks-libev#debian--ubuntu
sh -c 'printf "deb http://httpredir.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list'
apt update
apt -t jessie-backports install shadowsocks-libev
@mpalet
mpalet / androidconfiggen.sh
Last active May 15, 2019 15:29 — forked from andrewlkho/debian-strongswan.md
Setting up a secure VPN with strongSwan on debian
#!/bin/zsh
CLIENT="client"
SERVER="server.org"
FQDN="server.org"
CA="ca"
cat << EOF
{
@mpalet
mpalet / 0_reuse_code.js
Created December 8, 2016 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console