Skip to content

Instantly share code, notes, and snippets.

View upamune's full-sized avatar

Yu SERIZAWA upamune

View GitHub Profile
# sudo brew bundle
### CAN'T INSTALL ###
# LINE #
# Xcode #
# ForkLift #
# 1Password #
# CLCL Lite #
# ToyViewer #
# Simplenote #
# Pixelmator #
@upamune
upamune / .zshrc
Last active August 29, 2015 14:08
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="amuse"
HIST_STAMPS="mm/dd/yyyy"
plugins=(git)
source $ZSH/oh-my-zsh.sh
" インデントをスペースだけにする "
set tabstop=2
set autoindent
set expandtab
set shiftwidth=2
" Ctrl-jでESCでできるようにする
imap <c-j> <esc>
"---------------------------
" Start Neobundle Settings.
#!/usr/bin/bash -eu
# To do this script by root
# Usage
# ./arch.sh [username] [password]
username=$1
password=$2
useradd -m -g wheel $username
inoremap 1 !
inoremap 2 @
inoremap 3 #
inoremap 4 $
inoremap 5 %
inoremap 6 ^
inoremap 7 &
inoremap 8 *
inoremap 9 (
inoremap 0 )
@upamune
upamune / AOJいい感じ (use jquery)
Last active August 29, 2015 14:20
AOJがjQueryを使用していることに依存している
javascript:(function(){var n=document.getElementById("nav");n.parentNode.removeChild(n);n = document.getElementById("logo");n.parentNode.removeChild(n);n = document.getElementById("header");n.parentNode.removeChild(n);$(".subinfo").remove()})();
@upamune
upamune / AOJ いい感じ (not use jquery)
Created April 29, 2015 01:32
subinfoは消さない
javascript:(function(){var n=document.getElementById("nav");n.parentNode.removeChild(n);n = document.getElementById("logo");n.parentNode.removeChild(n);n = document.getElementById("header");n.parentNode.removeChild(n);n = getElementsByClassName("subinfo");n.parentNode.removeChild(n);})();
@upamune
upamune / AOJいい感じ
Created April 29, 2015 03:51
AOJの問題を印刷するときにいい感じにするブックマークレット
javascript:(function(){var n=document.getElementById("nav");n.parentNode.removeChild(n);n = document.getElementById("logo");n.parentNode.removeChild(n);n = document.getElementById("header");n.parentNode.removeChild(n);$(".subinfo").remove();$("#pageinfo").css("background-color", "white")})();
############################################
# _______| |__ _ __ ___ | |__ _ _ #
# |_ / __| '_ \| '__/ __| | '_ \| | | |#
# _ / /\__ \ | | | | | (__ | |_) | |_| |#
#(_) /___|___/_| |_|_| \___| |_.__/ \__, |#
# |___/ #
# _ _ _ #
# (_) __ _ (_) | _____ __ _ ___ ___ #
# | |/ _` || | |/ / _ \/ _` |/ _ \/ __| #
# | | (_| || | < __/ (_| | (_) \__ \ #
# ### ### #
# # ##### #### # # ### # # ##
# # # # # # # # ### # # # #
# # # # # ###### # # # #
####### ##### # # # # # #
# # # # # # # # ### # # #
# # # # #### # # ### ### #####
_ _ ___ __
/\ | | | |/ _ \/_ |