Instantly share code, notes, and snippets.

View tmux.conf
set -g prefix C-t
unbind C-b
set -g default-terminal "screen-256color"
set -sg escape-time 1
View ロジスティクス写像.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View spacemacs.el
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
View nstld.com.txt
dig +norec @m.root-servers.net vs2.nstld.com
; <<>> DiG 9.10.2-P1 <<>> +norec @m.root-servers.net vs2.nstld.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7956
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 16
;; OPT PSEUDOSECTION:
View amazon.txt
> go run main.go www.amazon.co.jp
202.12.27.33=>
jp. -> f.dns.jp.
150.100.6.8=>
amazon.co.jp. -> ns2.p31.dynect.net.
202.12.27.33=>
net. -> f.gtld-servers.net.
192.35.51.30=>
dynect.net. -> ns3.dynamicnetworkservices.net.
202.12.27.33=>
View 何かのダウンロード
cut -d, -f9 SearchResults.csv | sed "s/book/content\/pdf/" | grep http | sed 's/"//g' | awk '{print $0 ".pdf"}' | xargs wget
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
View timelinelog.go
ackage main
import (
"encoding/json"
"fmt"
"github.com/ChimeraCoder/anaconda"
"io/ioutil"
"net/url"
"os"
"strconv"
View hoge
$ cat techack*
# Nmap 7.00 scan initiated Sun Dec 20 14:14:18 2015 as: nmap -A -oA techac
# Nmap done at Sun Dec 20 14:14:19 2015 -- 0 IP addresses (0 hosts up) scanned in 1.05 seconds
# Nmap 7.00 scan initiated Sun Dec 20 14:14:18 2015 as: nmap -A -oA techac
WARNING: No targets were specified, so 0 hosts scanned.
# Nmap done at Sun Dec 20 14:14:19 2015 -- 0 IP addresses (0 hosts up) scanned in 1.05 seconds
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nmaprun>
<?xml-stylesheet href="file:///usr/bin/../share/nmap/nmap.xsl" type="text/xsl"?>
View testnmap
$ sudo nmap -A techack.net -oA techach
Starting Nmap 7.00 ( https://nmap.org ) at 2015-12-20 14:14 JST
Nmap scan report for techack.net (49.212.146.45)
Host is up (0.047s latency).
Not shown: 997 filtered ports
PORT STATE SERVICE VERSION
80/tcp open http nginx 1.2.1
| http-robots.txt: 1 disallowed entry
|_/memo/