This file contains hidden or 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 | |
yum install firefox | |
wget "http://download.mozilla.org/?product=firefox-20.0&os=linux&lang=ja" | |
tar jxvf firefox-20.0.tar.bz2 | |
cp -frp firefox /usr/local/ | |
mv /usr/bin/firefox{,.bak} | |
ln -s /usr/local/firefox/firefox /usr/bin/. |
This file contains hidden or 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 | |
# GTK+ and Firefox for Amazon Linux | |
# Written by Joseph Lawson 2012-06-03 | |
# http://joekiller.com | |
# http://joekiller.com/2012/06/03/install-firefox-on-amazon-linux-x86_64-compiling-gtk/ | |
# chmod 755 ./gtk-firefox.sh | |
# sudo ./gtk-firefox.sh | |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<style> | |
* { | |
font-family: Verdana, Arial, sans-serif; |
This file contains hidden or 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
require 'ostruct' | |
require 'csv' | |
require 'rubygems' | |
require 'kdtree' | |
class GeoName < OpenStruct | |
end | |
class GeoNames |
This file contains hidden or 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 | |
sudo yum -y install gcc gcc-c++ make python libjpeg-devel libtiff-devel jasper-devel libpng-devel zlib-devel cmake | |
mkdir ~/tmp | |
cd ~/tmp | |
wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.2/OpenCV-2.4.2.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fopencvlibrary%2Ffiles%2Fopencv-unix%2F2.4.2%2F&ts=1344353647&use_mirror=jaist | |
tar xvf OpenCV-2.4.2.tar.bz2 |
This file contains hidden or 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 | |
# Download the latest atrpms-repo rpm from | |
wget http://dl.atrpms.net/el6-x86_64/atrpms/stable/atrpms-repo-6-5.el6.x86_64.rpm | |
# Install atrpms-repo rpm: | |
sudo rpm -Uvh atrpms-repo*rpm | |
# Install atrpms-repo rpm package: | |
sudo yum install -y atrpms-repo | |
sudo yum --disablerepo=epel --enablerepo=atrpms-testing install -y qt47-devel qt47-webkit qt47-webkit-devel | |
sudo ln -s /usr/bin/qmake-qt47 /usr/bin/qmake |
This file contains hidden or 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 | |
echo "プロキシとfisheyeを設定しますか?(y/n)" | |
read proxy_flag < /dev/tty | |
if [ $proxy_flag = "y" ]; then | |
echo "ユーザ名を入力してください" | |
read user < /dev/tty | |
echo "パスワードを入力してください" | |
read passwd < /dev/tty |