Skip to content

Instantly share code, notes, and snippets.

Avatar
🚎
go bootstrap

Le Yu nullne

🚎
go bootstrap
View GitHub Profile
@nullne
nullne / tmux.conf
Last active Jun 22, 2020 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
View tmux.conf
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@svett
svett / ssh_client.go
Last active Jun 11, 2020
SSH client in GO
View ssh_client.go
package main
import (
"fmt"
"io"
"io/ioutil"
"net"
"os"
"strings"
@kkdai
kkdai / mgo-go-query-sample.go
Created Aug 6, 2014
go- mongoDB mgo insert and query greater than sample
View mgo-go-query-sample.go
package main
import (
"fmt"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
type msg struct {
// Msg string `bson:"msg"`
You can’t perform that action at this time.