This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 変換キーを半角/全角へ | |
keycode 100 = Zenkaku_Hankaku | |
# 無変換をメタキーへ | |
keycode 102 = Escape | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# dropbox service | |
# /etc/init.d/dropbox | |
# From http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall/UbuntuStartup | |
DROPBOX_USERS="root hdemon" | |
DAEMON=.dropbox-dist/dropbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# install | |
cd ~ | |
# wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86" | |
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64" | |
tar xvzf dropbox.tar.gz | |
rm dropbox.tar.gz | |
# 起動スクリプトと自動起動の設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~ | |
git clone [email protected]:hdemon/my-emacs.git | |
### 一から構築する場合 ################################ | |
# cd ~/.emacs.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install with English | |
# Language Setting | |
# VMwareToolsは/tmpを作業ディレクトリにしない。再起動時に消えるので、上手くインストールが完了していない気がする。 | |
### basic package | |
sudo apt-get update | |
sudo apt-get install --yes aptitude | |
sudo aptitude -y install \ | |
zsh \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# http://namakesugi.blog42.fc2.com/blog-entry-98.htmlを参考に。 | |
# | |
sudo aptitude install -y \ | |
cmake \ | |
paco \ | |
bison \ | |
g++ \ | |
libncurses5-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### rvm | |
# rvmをシングルユーザで入れることがオフィシャルで推奨されているので、sudoは付けない。 | |
# 以下全て同様。 | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.zshrc | |
### Ruby 1.9.2 | |
sudo aptitude -y install \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 参照: http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/ | |
wget http://www.ring.gr.jp/pub/misc/eclipse/downloads/drops/R-3.7-201106131736/eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/share/applications | |
[Desktop Entry] | |
Encoding = UTF-8 | |
Name = Easystroke | |
Comment = Easystroke | |
Exec = easystroke | |
Icon = | |
Terminal = false | |
Type = Application | |
Categories = GNOME;Application; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[client] | |
#password = your_password | |
port = 3306 | |
#socket = /tmp/mysql.sock | |
socket = /var/run/mysqld/mysqld.sock | |
default-character-set = utf8 | |
[mysqld] | |
port = 3306 |