Skip to content

Instantly share code, notes, and snippets.

View mitkot's full-sized avatar

Mitsuhiro Kotake mitkot

View GitHub Profile
#!/usr/bin/env python
# _*_ coding: utf-8 _*_
#
# OBJECTIVES
# ============
# On Windows OS, the following command can export the hotfixes list.
#
# "wmic qfe list full /format:list > hotfixes.txt"
#
;; Environment to Japanese / encoding to utf-8
(set-locale-environment nil)
(set-language-environment "Japanese")
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-buffer-file-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(prefer-coding-system 'utf-8)
(menu-bar-mode 0)
(setq inhibit-startup-message t) ;; Surpress Startup message
alias em='emacsclient'
alias cpidrsa='cat ~/.ssh/id_rsa|pbcopy'
alias dsl='sudo pmset -a disablesleep 1'
alias esl='sudo pmset -a disablesleep 0'
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"