sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
/* Demonstrate how to remove an environment variable from /proc/$pid/environ, | |
under Linux. | |
This pseudo file is accessible by other processes with sufficient privileges | |
(i.e. same user or root) and exposes the original environment vector. | |
Removing sensitive variables from it can be part of a defense in depth | |
strategy (i.e. to make it harder for a casual attacker to access it). | |
*/ | |
/** {{{ MIT No Attribution |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"os/signal" | |
"strconv" | |
"syscall" | |
) |
# vim:fileencoding=utf-8:ft=conf | |
# You can include secondary config files via the "include" directive. | |
# If you use a relative path for include, it is resolved with respect to the | |
# location od the current config file. For example: | |
# include other.conf | |
# Fonts {{{ | |
# Font family. You can also specify different fonts for the | |
# bold/italic/bold-italic variants. By default they are derived automatically, |
#!/usr/bin/env python | |
# | |
# Convert .itermcolors files to hex colors | |
import sys | |
import xml.etree.ElementTree as ET | |
def rgb_to_hex(rgb): | |
return '#%02x%02x%02x' % rgb |
package main | |
import ( | |
"fmt" | |
"net" | |
"io" | |
) | |
func main() { | |
//http.HandleFunc("/", handler) |
package proxy | |
import ( | |
"io" | |
"net" | |
"sync" | |
log "github.com/Sirupsen/logrus" | |
) |
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |