Skip to content

Instantly share code, notes, and snippets.

  • golang-gopkg-libgit2-git2go.v28-dev
  • guile-git
  • libgit2-glib-1.0-dev
  • librust-libgit2-sys-dev
  • calligra
  • cargo
  • fritzing
  • gall
  • geany-plugins
  • gitg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@suntong
suntong / index.html
Created September 14, 2020 15:26
Bootstrap Example // source https://jsbin.com/yixabor
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
@suntong
suntong / index.html
Created September 14, 2020 15:26
Bootstrap Example // source https://jsbin.com/yixabor
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
package main
import (
"fmt"
"log"
"math/rand"
"github.com/hashicorp/golang-lru/simplelru"
)
package main
import (
"fmt"
"log"
"github.com/hashicorp/golang-lru/simplelru"
)
func main() {
package main
import (
"github.com/hashicorp/golang-lru/simplelru"
"log"
)
func main() {
log.Println("Hello, playground")
-- Exported from QuickDBD: https://www.quickdatabasediagrams.com/
-- NOTE! If you have used non-SQL datatypes in your design, you will have to change these here.
-- WX User
CREATE TABLE "User" (
"UserID" SERIAL NOT NULL,
-- User Name
-- WX 昵称(不是群昵称)
"Name" string NOT NULL,
# Title of Talk
Subtitle of document
15:04 2 Jan 2006
Tags: foo, bar, baz
Summary: This is a great document you want to read.
OldURL: former-path-for-this-doc
## Title of Slide or Section (must begin with ##)
@suntong
suntong / .tmux.conf
Last active June 17, 2020 15:21
~/.tmux.conf
# Principle
# 1. Use screen key binding for common tasks.
# 2.1 Use default tmux key binding as much as possible.
# 2.2 For the rest, use the setting from tmux book written by Brian P. Hogan
# 3. Set escape key (prefix in tmux term) to ^z
# References
# https://www.dayid.org/comp/tm.html
# http://manpages.org/screen http://manpages.org/tmux
# https://danielmiessler.com/study/tmux/