2011-01-01から1ヶ月間の記事一覧
Ruby on Rails : http://rubyonrails.org/ Terminal 起動 $ cd rails3 $ rails new customer 割愛 $ cd customer/ $ rails server $ open http://localhost:3000/ "control" + c $ rails generate scaffold infomation id:integer name:string 割愛 $ rake d…
Ruby on Rails : http://rubyonrails.org/ Terminal 起動 $ cd rails3 $ rails new sample 割愛 $ cd sample/ $ rails server $ open http://localhost:3000/ "control" + c $ rails generate controller main 割愛 $ vim app/controllers/main_controller.r…
Ruby on Rails : http://rubyonrails.org/ Terminal 起動 $ mkdir rails3 $ cd rails3 $ rails bookmark3 rails3 では作れないw Usage: rails new APP_PATH [options] Options: [--skip-gemfile] # Don't create a Gemfile -d, [--database=DATABASE] # Prec…
Bundle : http://gembundler.com/ Terminal 起動 $ sudo bundle install Using rake (0.8.7) Using abstract (1.0.0) Using activesupport (3.0.4) Using builder (2.1.2) Using i18n (0.5.0) Using activemodel (3.0.4) Using erubis (2.6.6) Using rack (1…
Ruby on Rails : http://rubyonrails.org/ Terminal 起動 $ rails -v Rails 2.3.5 $ sudo gem install rails Fetching: activesupport-3.0.4.gem (100%) Fetching: builder-2.1.2.gem (100%) Fetching: i18n-0.5.0.gem (100%) Fetching: activemodel-3.0.4.g…
RubyGem : http://rubygems.org/ Terminal 起動 $ gem -v 1.3.5 $ sudo gem install rails Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.5.2 Updating RubyGems to 1.5.2 Installing RubyGems 1.5.2 RubyGems 1.5.…
Ruby on Rails : http://rubyonrails.org/ Terminal 起動 $ mkdir rails $ cd rails $ rails bookmark create create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create config/initialize…
Ruby on Rails : http://rubyonrails.org/ Terminal 起動 $ mkdir rails $ cd rails $ rails first create create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create config/initializers …
Terminal 起動 $ vim .bash_profile ## alias setting alias cyberduck="open -a Cyberduck" alias dashboard="open -a Dashboard" alias dictionary="open -a Dictionary" alias dvdplayer="open -a DVD\ Player.app" alias eclipse="open -a Eclipse" alia…
Eclipse : http://www.eclipse.org/ Terminal 起動 $ mkdir IDE $ cd IDE/ $ wget http://ftp.yz.yamagata-u.ac.jp/pub/eclipse//eclipse/downloads/drops/R-3.6.1-201009090800/eclipse-SDK-3.6.1-macosx-cocoa-x86_64.tar.gz Eclipse Classic 3.6.1 ダウン…
Trac : http://trac.edgewall.org/ Terminal 起動 $ cd /etc/apache2/other/ $ sudo vim trac.conf LoadModule python_module libexec/apache2/mod_python.so SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_f…
Genshi : http://genshi.edgewall.org/ Terminal 起動 $ sudo easy_install --always-unzip Genshi==0.5 Searching for Genshi==0.5 Reading http://pypi.python.org/simple/Genshi/ Reading http://genshi.edgewall.org/ Reading http://genshi.edgewall.or…
setuptools : http://pypi.python.org/pypi/setuptools easy_install : http://peak.telecommunity.com/dist/ Terminal 起動 $ cd /usr/local/src/ $ sudo wget http://peak.telecommunity.com/dist/ez_setup.py $ sudo python ez_setup.py Downloading http…
mod_python : http://www.modpython.org/ Terminal 起動 $ cd /usr/local/src/ $ sudo wget http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz $ sudo tar jxvf mod_python-3.3.1.tgz $ cd mod_python-3.3.1 $ sudo ./configure $ sudo …
Subversion : http://subversion.apache.org/ Terminal 起動 $ sudo htpasswd -c /Users/kudonbec/Repos/.htpasswd admin New password: Re-type new password: Adding password for user admin $ sudo htpasswd /Users/kudonbec/Repos/.htpasswd kudonbec N…
Subversion : http://subversion.apache.org/ Terminal 起動 $ cp /Users/kudonbec/Repos/svn/conf/svnserve.conf /Users/kudonbec/Repos/svn/conf/svnserve.conf.orig $ vim /Users/kudonbec/Repos/svn/conf/svnserve.conf [general] anon-access = read au…
Trac : http://trac.edgewall.org/ Terminal 起動 $ mkdir trac $ trac-admin /Users/kudonbec/trac/kudonbec initenv Creating a new Trac environment at /Users/kudonbec/trac/kudonbec Trac will first ask a few questions about your environment in o…
StartupSound.prefPane : http://www5e.biglobe.ne.jp/~arcana/StartupSound/ Terminal 起動 cd Downloads/ wget http://www5e.biglobe.ne.jp/%7Earcana/StartupSound/download/StartupSoundPrefPane11b3.dmg StartupSoundPrefPane.pkg をダブルクリック Con…
Apache : http://httpd.apache.org/ Apple logo => System Preferences... => Sharing チェック : Web Sharing ウェブサーバとして機能しているかを確認 ブラウザアクセス : http://192.168.2.103/~kudonbec/ ブラウザアクセス : http://192.168.2.103/
Trac : http://trac.edgewall.org/ Terminal 起動 $ cd /usr/local/src/ $ sudo wget http://ftp.edgewall.com/pub/trac/Trac-0.11.7.tar.gz $ sudo tar jxvf Trac-0.11.7.tar.gz $ cd Trac-0.11.7 $ sudo python ./setup.py install *1 $ which trac-admin …
Python : http://www.python.org/ Terminal 起動 $ cd SVN/Code/Python $ vim LogicalOperator.py #!/usr/bin/python python2.6.1 #!/usr/local/Python3/bin//python3 python3.1.3 # SANSYO-TOKA ENZANSHI a = ["Retention", 3, None] b = ["Retention", 3, …
Subversion : http://subversion.apache.org Terminal 起動 $ mkdir Repos $ cd Repos $ svnadmin create svn $ cd $ cd Code/ $ svn import file:///Users/kudonbec/Repos/svn/Code -m "Initial Import." Adding Python Adding Python/hello.py Committed r…
Python : http://www.python.org/ Terminal 起動 $ cd Code/Python $ vim hello.py #!/usr/bin/python python2.6.1 #!/usr/local/Python3/bin//python3 python3.1.3 print("Hello", "Python!") # HAIRETU print(" -- HAIRETSU : ZERO start! --") print("Har…
Vim : http://www.vim.org/ Terminal 起動 vim .vimrc "syntax コントロール :syntax on "カラースキーマの設定 :colorscheme elflord "文字コードの設定 :set encoding=utf-8 :set termencoding=utf-8 :set fileencoding=utf-8 "インクリメンタルサーチを使…
Python : http://www.python.org/ Terminal 起動 $ mkdir Code/Python $ cd Code/Python $ which python /usr/bin/python $ python -V Python 2.6.1 $ python3 -V Python 3.1.3 $ vim hello.py #!/usr/bin/python python2.6.1 #!/usr/local/Python3/bin//pyt…
Python : http://www.python.org/ Terminal 起動 $ cd /usr/local/src/ $ sudo wget http://www.python.org/ftp/python/3.1.3/Python-3.1.3.tgz $ sudo tar jxvf Python-3.1.3.tgz $ cd Python-3.1.3 $ sudo ./configure --prefix=/usr/local/Python3 $ sudo…
Subversion : http://subversion.apache.org/ Subversion の最新版を確認 ブラウザアクセス : http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74 Terminal 起動 $ cd /usr/local/src $ sudo wget http://subversion.…
BerkeleyDB : http://www.oracle.com/technetwork/database/berkeleydb/overview/index.html Terminal 起動 $ cd /usr/local/src $ sudo wget http://download.oracle.com/berkeley-db/db-5.1.19.tar.gz $ sudo tar jxvf db-5.1.19.tar.gz $ cd db-5.1.19/bu…
Xmarks : http://www.xmarks.com/ ブラウザアクセス : http://www.xmarks.com/ "DOWNLOAD" をクリック 該当する "Download Xmarks" をクリック "Xmarks for Safari Installer.pkg" をダブルクリック Continue => Continue => Agree => Install => Close Next…
Wget : http://www.gnu.org/software/wget/ Terminal 起動 $ sudo mkdir /usr/local/src $ cd /usr/local/src $ sudo curl -O http://ftp.gnu.org/pub/gnu/wget/wget-latest.tar.gz $ sudo tar zxvf wget-latest.tar.gz $ cd wget-1.12 $ sudo ./configure $…