Skip to content

Instantly share code, notes, and snippets.

View puhitaku's full-sized avatar
:octocat:
= 🐙 + 🐱

Takumi Sueda puhitaku

:octocat:
= 🐙 + 🐱
View GitHub Profile
# Color Diff
if [[ -x `which colordiff` ]]; then
alias diff='colordiff -u'
else
alias diff='diff -u'
fi
export LESS='-R'
# Memo
memo() {
@puhitaku
puhitaku / stackedit.css
Created August 19, 2015 02:07
StackEdit.io
#wmd-input {
font-family: "Source Han Code JP Medium" !important;
}
#wmd-input.font-monospaced * {
font-family: "Source Han Code JP Medium" !important;
}
body {
font-family: "Source Han Code JP Medium" !important;
@puhitaku
puhitaku / t1.md
Last active August 31, 2015 11:40
Golang Training Text #1

Golang Training #1

Held at Fuller, Inc. office.

Install

sudo apt-get install golang
brew install go

Hello World

$GOPATH/src/github.com/user/hello/内に hello.goを作って以下のコードを入れましょう。

@puhitaku
puhitaku / slack.css
Last active August 31, 2015 13:01
Slack.com
span.emoji {
width: 2em;
height: 2em;
vertical-align: middle;
}
span.emoji-sizer {
width: 2em;
height: 2em;
vertical-align: middle;
@puhitaku
puhitaku / main_sabae.py
Last active September 4, 2015 15:28
SABAE Walk Game Hackathon
from flask import Flask
from flask import request as req
from manager import MapPlayerManager, GameMaster
app = Flask(__name__)
manager = MapPlayerManager()
gm = GameMaster()
@app.route('/')
def index():
@puhitaku
puhitaku / weblio.css
Created October 4, 2015 13:54
weblio.css
body {
font-family: Consolas, Meiryo !important;
}
table#logoBar {
display: none;
}
.subMenuTop {
margin-top: 0px;
@puhitaku
puhitaku / typeracer.css
Last active November 24, 2015 02:31
typeracer.com
.newWestWidget {
display: none;
}
.newEastWidget {
display: none;
}
#notebook, .prompt input_prompt, .inner_cell {
font-family: "Source Han Code JP" !important;
}
.prompt {
font-family: "Source Han Code JP" !important;
}
.CodeMirror-code {
font-family: "Source Han Code JP" !important;
.CodeMirror {
font-family: "Source Han Code JP" !important;
}
@puhitaku
puhitaku / private.xml
Created December 17, 2015 06:40
Karabiner Adobe Replacement
<?xml version="1.0"?>
<root>
<appdef>
<appname>ADOBE</appname>
<prefix>com.adobe.</prefix>
</appdef>
<item>
<name>Swap Control and Command (only in Adobe apps)</name>
<identifier>private.swap_ctrl_and_cmd</identifier>
<only>ADOBE</only>