Skip to content

Instantly share code, notes, and snippets.

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

Takumi Sueda puhitaku

:octocat:
= 🐙 + 🐱
View GitHub Profile
@puhitaku
puhitaku / great.css
Created February 1, 2016 02:19
Readability for all sites.
p {
font-family: Lucida Grande;
}
pre {
font-family: Source Han Code JP;
}
@puhitaku
puhitaku / image-to-ansi.py
Last active January 19, 2019 21:46 — forked from klange/image-to-ansi.py
Convert images to ANSI escape sequences
#! /usr/bin/env python
"""This is an improved image_to_ansi.py.
It's 7x faster than original version.
WTFPL is preserved for saying thank you to original developer, Mr. Elliott.
"""
__author__ = 'Micah Elliott http://MicahElliott.com; Kevin Lange <[email protected]>; Takumi Sueda <[email protected]>'
__version__ = '0.1'
@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>
.CodeMirror {
font-family: "Source Han Code JP" !important;
}
#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;
@puhitaku
puhitaku / typeracer.css
Last active November 24, 2015 02:31
typeracer.com
.newWestWidget {
display: none;
}
.newEastWidget {
display: none;
}
@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 / 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 / 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 / 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を作って以下のコードを入れましょう。