View png-lsb-steg.go
// example of how to hide data in LSB of colors within a lossless png | |
package main | |
import ( | |
"errors" | |
"flag" | |
"fmt" | |
"image" | |
"image/color" | |
"image/png" |
View vigenere.go
package main | |
import ( | |
"flag" | |
"fmt" | |
) | |
// plaintext flag | |
var plaintext = flag.String("plaintext", "", "plaintext is the message you want to cipher") |
View .vimrc
" My .vimrc, it is pretty golang specific | |
colorscheme elflord | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
set rtp+=$GOROOT/misc/vim | |
" vundle plugins |
View .tmux.conf
set-option -g status-utf8 on | |
set -g status-interval 1 | |
set -g status-justify left # center align window list | |
set -g status-left-length 75 | |
set -g status-right-length 150 | |
set -g status-fg white | |
set -g status-bg black | |
set -g status-attr bright |
View gist:9ff87a6f27e9abb4a3bc
package main | |
import "fmt" | |
type Something struct {} | |
func (s Something) Test() bool { | |
return false | |
} | |
type SomethingInterface interface { |
View wemux.conf
host_list=(husobee) | |
host_groups=(wheel engineering) | |
default_client_mode="pair" | |
allow_server_change="true" | |
allow_server_list="true" | |
socket_prefix="/tmp/wemux" |
View scanval.go
package main | |
import ( | |
"database/sql" | |
"database/sql/driver" | |
"errors" | |
"fmt" | |
_ "github.com/mattn/go-sqlite3" | |
) |
View coverage.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<style> | |
body { | |
background: black; | |
color: rgb(80, 80, 80); | |
} | |
body, pre, #legend span { |
View main.go
package main | |
import ( | |
"flag" | |
"fmt" | |
"time" | |
"golang.org/x/crypto/bcrypt" | |
) |
View main.go
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
"golang.org/x/net/context" | |
"github.com/husobee/backdrop" |
OlderNewer