Skip to content

Instantly share code, notes, and snippets.

View cynecx's full-sized avatar
🌧️
(~˘▾˘)~ 🌧

cynecx cynecx

🌧️
(~˘▾˘)~ 🌧
  • Germany
  • 06:29 (UTC +01:00)
View GitHub Profile
@cynecx
cynecx / isolate.sh
Created March 15, 2019 01:05
wireguard & netns (crappy)
#!/usr/bin/env bash
set -e -o pipefail
shopt -s extglob
export LC_ALL=C
CONTAINER=""
INTER_GATEWAY="192.168.30.0/24"
INTER_IP_HOST="192.168.30.1/32"
INTER_IP_CONT="192.168.30.2/32"
@cynecx
cynecx / crypto-js.js
Created November 13, 2016 21:44
crypto-js
;(function (root, factory) {
if (typeof exports === "object") {
// CommonJS
module.exports = exports = factory();
}
else if (typeof define === "function" && define.amd) {
// AMD
define([], factory);
}
else {
@cynecx
cynecx / .vimrc
Created April 19, 2016 21:41
My crappy .vimrc
set nocompatible
set history=500
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'