2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
Linq to SQLã§DAOãã¿ã¼ã³ãã¤CRUDãªæãã«ãããã¦Interfaceã¨ãabstractã§ãããããã£ã¦ããã®ã ããã¸ã§ããªãã¯ã§ã·ã³ãã«ã«è§£æ±ºã§ããããªã®ã§ã¡ã¢ã DBã®å¾å§æ«çããããéãªã®ã¯ãæå¬ã ãã¤ã³ã㯠ã¡ã½ãããã¸ã§ããªãã¯å®£è¨ï¼ãããªè¨ãæ¹ããâ¦
ãã£ã±ãIDE使ã£ãæ¹ãå¦ç¿å¹çããã£ã¦ããã§ã eclipseã«liftããã¸ã§ã¯ããä½æãã¦ã¿ã¾ãã ããã¸ã§ã¯ãã®ä½æã¾ã§ã¯ãã¡ãã http://d.hatena.ne.jp/ktdk/20100507 ä½æããããã£ã¬ã¯ããªã®ä¸ã«å ¥ã£ã¦ã mvn eclipse:eclipse ããã§eclipseã«å¿ è¦ãªãâ¦
scalaãããã£ã¦ã¿ããã©ãå®éã«ä½ãä½ã£ã¦ã¿ãªãã¨ããããããã®ã§ã Twitterãfoursquareã使ã£ã¦ããã¨ããliftã«å ¥éãã¦ã¿ãã liftã¨ã¯ ããã©ãã®ã§é£ã°ãã¾ã http://codezine.jp/article/detail/4310?p=2 ç°å¢ Linux (CentOS 5) J2SE 6.0 UPDATE â¦
Phusion Passenger(mod_rails for Apache)ãå©ç¨ãã¾ããã¾ããpassengerãã¤ã³ã¹ãã¼ã« gem install passengerApacheã¢ã¸ã¥ã¼ã«ã®ãã«ãã¨ã¤ã³ã¹ãã¼ã« passenger-install-apache2-moduleã¤ã³ã¹ãã¼ã«å®äºå¾ã«httpd.confã®è¨å®ã表示ãããã®ã§ã ããã«å¾â¦
ãã¹ãã£ã³ã°ãµã¼ãã¹ã¿ããã« aaa.example.com, bbb.example.com 㨠è¤æ°ãã¡ã¤ã³ãããã£ã½ãéç¨ããè¨å®ä¾ãIPã¢ãã¬ã¹ã¯ã²ã¨ã¤ã ã¾ããDNSã®CNAMEã« *.example.com ã¨ã¯ã¤ã«ãã«ã¼ãã§ç»é²ãã¦ããããã§ã/etc/httpd/conf/httpd.conf ã« # # Load conâ¦
VirtualHostã¨ãChrootè¨å®ãã¦ããã¨ãã«ããã¤ã®éã«ãå¤é¨ããã¢ã¯ã»ã¹ã§ããªããªã£ãããã®è¨å®ãé¢ä¿ããããããªãã®ã§ãåºæ¬çãªã¨ãããããã§ãã¯ã...DNSã¨ã°ãã¼ãã«IPãéããããªããorzãã°ãã¼ãã«IPã®èª¿ã¹æ¹ on Linuxã wget -q -O - ipchecâ¦
Pythonæ¬å®¶ããã½ã¼ã¹ã³ã¼ãããã¦ã³ãã¼ãhttp://www.python.org/ wget http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tgz 解å tar zxvf ./Python-2.6.4.tgz ã³ã³ãã¤ã« cd Python-2.6.4.tgz ./congiure make ã§ãã¨ã©ã¼ Failed to find the necesâ¦
MySql/Rubyãruby1.9ã®M17Nã«å¯¾å¿ãã¦ããªããã DBããåãåºããæååããã¹ã¦ãASCII-8BITãã«ãªã£ã¦ãã¾ãã¾ãã ãã®ããããã«ããã¤ãæåã¨æ··å¨ãããã¨ãä¸è¨ã®ãããªã¨ã©ã¼ãçºçãã¾ãããincompatible character encodings: UTF-8 and ASCII-8Bâ¦
sub hoge{ my $self = shift; if(@_) { $self->{name} = $_[0]; } return $self->{name}; } ã¨ããã¡ãã¡é¢æ°ãæ¸ãã¦ããã«ããªãã¾ãããã Class::Accessorãç¶æ¿ã㦠package Sample; use base qw(Class::Accessor); __PACKAGE__->mk_accessors(qw(hoge â¦