- OS:macOS 14.6.1
- キーボード:104
- Google IME
- 環境設定 -> キー設定 -> キー設定の選択 -> MS-IME
- Google Chrome
- Homebrew
(require 'url) | |
(defun send-http-request (url) | |
"Send a simple http request and open a result within an other buffer.." | |
(let | |
( | |
(url-request-method "GET") | |
(url-request-extra-headers '(("Content-Type" . "application/x-www-form-urlencoded")))) | |
(url-retrieve url 'switch-to-buffer-for-responce))) |
# Change prefix | |
unbind-key C-b | |
set-option -g prefix C-t | |
bind-key C-t send-prefix | |
# Set Keybind | |
## Resize pane | |
bind -r C-h resize-pane -L 5 | |
bind -r C-l resize-pane -R 5 | |
bind -r C-j resize-pane -D 5 |
require 'irb/completion' | |
IRB.conf[:SAVE_HISTORY] = 10000 | |
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" | |
IRB.conf[:PROMPT][:DEFAULT] = { | |
:PROMPT_I=>"%N(%m):%03n:%i> ", | |
:PROMPT_N=>"%N(%m):%03n:%i> ", | |
:PROMPT_S=>"%N(%m):%03n:%i%l ", | |
:PROMPT_C=>"%N(%m):%03n:%i* ", |
# 各種エイリアス | |
alias ls="ls -G" | |
alias history="history -E 1" | |
alias bundleinit="bundle init --gemspec=~/.gemspec_template" | |
alias gits="git status" | |
# 履歴サイズ | |
export HISTSIZE=100000 | |
# Go |
set noautoindent | |
set paste | |
filetype plugin indent on | |
syntax on | |
set term=builtin_ansi | |
set backspace=indent,eol,start | |
augroup vimrcEx | |
au BufRead * if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal g`\"" | endif | |
augroup END |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.network "private_network", ip: "192.168.100.10" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = 4096 | |
vb.cpus = 2 | |
end | |
end |
tap "aws/tap" | |
tap "homebrew/bundle" | |
tap "homebrew/services" | |
brew "python" | |
brew "awscli" | |
brew "glib" | |
brew "curl" | |
brew "go" | |
brew "emacs" | |
brew "ffmpeg" |
Gem::Specification.new do |spec| | |
spec.add_dependency "pry" | |
spec.add_dependency "pry-doc" | |
spec.add_dependency "solargraph" | |
end |