View nstld.com.txt
This file contains 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
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
This file contains 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
> 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 gist:8386554
This file contains 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
PROMPT="[%{${fg[gray]}%}%~%{${reset_color}%}] | |
(¥・д・¥) < %(!.#.$)%{${reset_color}%} " |
View lifegame.c
This file contains 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
#include<stdio.h> | |
#include<time.h> | |
#include<stdlib.h> | |
#define H 10 | |
#define W 10 | |
void init(int cell[][H+2][W+2]); |
View gist:7786171
This file contains 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
#include<iostream> | |
using namespace std; | |
int p[500000]; | |
int m[300]; | |
int max(int a,int b){ | |
return (a < b) ? b : a; | |
} |
View 何かのダウンロード
This file contains 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
cut -d, -f9 SearchResults.csv | sed "s/book/content\/pdf/" | grep http | sed 's/"//g' | awk '{print $0 ".pdf"}' | xargs wget |
View .spacemacs
This file contains 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: 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 vimperatorrc
This file contains 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
""ヒントモード | |
set hintchars=ifjklasdweuocvbnm | |
highlight Hint z-index:5000; font-family:monospace; font-size:15px; color:white; background-color:blue; border-color:ButtonShadow; border-width:0px; border-style:solid; padding:0px 1px 0px 1px; position:absolute; text-transform: uppercase; | |
""jk移動の距離 | |
noremap j 10<C-e> | |
noremap k 10<C-y> | |
""C-n C-p移動 | |
noremap <C-n> 5<C-e> |
View test.rb
This file contains 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
require 'open-uri' | |
require 'pp' | |
require 'nokogiri' | |
require 'kconv' | |
URL = "https://www.ead.tut.ac.jp/board/main.aspx" | |
doc = Nokogiri::HTML.parse(open(URL).read.toutf8) | |
lectureCancellation = doc.xpath(%Q[//table[@id="grvCancel"]]) | |
lectureCancellation.text.split(/(\s\s\s+)/).each do |i| | |
if(i =~ /\(.\)/)then |
View timelinelog.go
This file contains 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
ackage main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/ChimeraCoder/anaconda" | |
"io/ioutil" | |
"net/url" | |
"os" | |
"strconv" |