Skip to content

Instantly share code, notes, and snippets.


Kento KAWAKAMi kimitoboku

View GitHub Profile
dig +norec
; <<>> DiG 9.10.2-P1 <<>> +norec
; (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
View amazon.txt
> go run main.go>
jp. ->> ->>
net. ->> ->>
View gist:8386554
(¥・д・¥) < %(!.#.$)%{${reset_color}%} "
View lifegame.c
#define H 10
#define W 10
void init(int cell[][H+2][W+2]);
View gist:7786171
using namespace std;
int p[500000];
int m[300];
int max(int a,int b){
return (a < b) ? b : a;
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
;; Base distribution to use. This is a layer contained in the directory
View vimperatorrc
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;
noremap j 10<C-e>
noremap k 10<C-y>
""C-n C-p移動
noremap <C-n> 5<C-e>
View test.rb
require 'open-uri'
require 'pp'
require 'nokogiri'
require 'kconv'
URL = ""
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
ackage main
import (