- screenはGPL、tmuxはBSD
- GPLやMITやCCなど主要ライセンスの内容と意味のまとめ | ITキヲスク
- tmuxは...
- 著作権表示/BSDライセンス条文/無保証の旨を記載すれば、自由に使える
- 再配布時のソースコードの開示義務は無いので、商用製品にも利用しやすい
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# Trend search by otter API | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# fg | |
for i in {0..255} ; do | |
printf "\x1b[38;05;${i}mcolor${i}\n" | |
done | |
echo '' | |
# bg | |
for i in {0..255} ; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"time" | |
"github.com/gdamore/mangos" | |
"github.com/gdamore/mangos/protocol/pub" | |
"github.com/gdamore/mangos/protocol/sub" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
# config | |
$docker_port = 4243 | |
$go_version = "1.4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
- | |
########################################################## | |
# IRCにJOINするサンプル | |
NICK="YOUR_NICK" | |
SERVER="YOUR_SERVER" | |
CHANNEL="YOUR_CHANNEL" | |
PORT=6667 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BINNAME=YOUR_APP_NAME | |
export GO_VERSION=1.3.3 | |
pushd ~ | |
wget -q https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz | |
tar zxf go${GO_VERSION}.linux-amd64.tar.gz | |
popd | |
export GOROOT=~/go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
// | |
// 型TがインタフェースIを実装している事を保証する実装例 | |
// | |
type Nigiri interface { | |
Press() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# Get github trending repositories | |
# | |
# Dependencies: | |
# "request": "^2.42.0" | |
# "cheerio": "^0.17.0" | |
# | |
# Configuration: | |
# | |
# Commands: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build main_irc2 | |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"net" | |
"net/textproto" |