2008-10-01ãã1ã¶æéã®è¨äºä¸è¦§
QRCode大好ãclouderãããText::QRcodeãä½ã£ãã®ãã¿ãnipotanãããæ©éterminalåããç©ãgyazoã«ãpãã¦ãã®ã§ãgazoã®ã³ã¼ããè¦ãªããè³å ã³ãããã¦10åãããã§Term::QRCodeãä½ã£ãã®ã§ããã£ã¨ãªã£ã¦CSSã¨æ¦ããªããHTML::QRCodeä½ãã¾ãããhttpâ¦
Passenger(mod_passenger)ãCentOSã«ã¤ã³ã¹ãã¼ã«ããæã®ã¡ã¢ã apache, apache-devel, ruby, ruby-rdoc, etcãªããã±ã¼ã¸ã¨rubygemsã¯ã¤ã³ã¹ãã¼ã«ãã¨ããã¨ãPassengerãgemã§ã¤ã³ã¹ãã¼ã« $ sudo gem install passenger $ sudo passenger-install-apachâ¦
Module::Setup::Flavor::PBPãä½ãã¨ãè¨ã£ãã°ã£ããã«Damianå çã®Module::Starterãä¹ ã ã«è¦ããã ãã©ãå çã²ã©ããï¼ use version; $VERSION = qv('0.0.3'); å½ç¶ use version; our $VERSION = qv('0.0.1'); ã§ããããRTä½åãä¸ãã£ã¦ãã®ã«äºå¹´ä»¥ä¸â¦
ä¸ã®ãã¤ãModule::Setup::Flavor::CatalystStarterã¨ãã¦codereposã«ã³ããããã¾ããã module-setup --init --flavor-class=CatalystStarter catalystããã¨~/.module-setup/flavors/catalystã«flavorãã¤ã³ã¹ãã¼ã«ããã¾ãã module-setup MyApp catalyâ¦
ã¨ããããcatalyst.plãã¾ããããã®ã¾ã¾flavoråãã¦ã¿ããhttp://nopaste.com/p/adxy68cd9ã¤ã³ã¹ãã¼ã«ã¯MyCatalyst.pmã¨ãã§ä¿åã㦠module-setup --init --flavor-class=+MyCatalyst catalystãããããããªãã®åã£ãããSchema対å¿ããããããã¡ãªâ¦
after_setup_template_varsã§æ¸¡ãããtempalte_vars ä¾ãã°ã¢ã¸ã¥ã¼ã«åãFoo::Barã ã£ãã [% dist %] -> Foo-Bar [% module_path %] -> Foo/Bar [% module %] -> Foo::Bar ã«ãªãã ãã£ã¤ãããããªããªãã®ã§ã¡ã¢ã
mysqlã§ã¯ããã©ã«ãã§ã¯NOT NULLå¶ç´ã«æ示çã«å¤ãä¸ããªãå ´åãåæã«ç©ºæåã0ã¨ãã£ãå¤ãåæã«å ¥ãã¡ãããä¾ãã° CREATE TABLE users ( id INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) NOT NULL ); ãªãã¼ãã«ã«å¯¾ã㦠INâ¦
CPANã«MooseçCatalystã§ãã5.8ã®developer releaseãåºã¦ããã®ã§ãã³ããã¼ã¯åã£ã¦è¦ã¾ããã ãªããCatalyst::ClassDataãããã±ã¼ã¸ã«å«ã¾ãã¦ããªãã£ãã®ã§ãããã ããªãã¸ããªããæã£ã¦ãã¦åããã¦ã¾ãããã¹ãå 容ã¯cataltst.pl MyAppã§åºæ¥ãâ¦
ä½ãããããã¨ããã¨adminã°ã«ã¼ãã¯userã°ã«ã¼ãã«å ¥ã£ã¦ãããuserã°ã«ã¼ãã«æ¨©éãä¸ãããããadminã°ã«ã¼ãã«ãä¸ãããããã£ã¦å ´åãapache2.2ä»å±ã®mod_authnz_ldapã§ã¯ç¡çã£ã½ãããã©ã2.3ä»å±ã®ã ã¨ãAuthLDAPSubGroupAttribute Directiveã§åºâ¦
ã¨ããé ¼ã¾ããã¨ã§QRã³ã¼ããçæããå¿ è¦ãã§ã¦ããã®ã§ãæä½ã£ãC::V::GD::Barcode::QRcode(ã¢ã¸ã¥ã¼ã«åãªãã¼ã)ãå¼ã£å¼µãåºãã¦ãããã ãã©ãä½ãççã«å¤èããGD使ããããªãã£ãã®ã§id:clouderããã®Imager::QRCodeã¨ãã¤ããªããã«ãã¦Coderepoâ¦
_____________________________ < THE PEOPLE DEMAND MORE Ã'S! > ----------------------------- \ \ \_\_ _/_/ \ \__/ (oo)\_______ (__)\ )\/\ ||----w | || || http://twitter.com/nothingmuch/statuses/951005294
ããããã使ãããã«ããå¿ããã®ã§åå¿ãã¾ãã¯Catalystã®Controllerã§Data::Page::Navigationãuseãã¦MyApp::Controller::User package MyApp::Controller::User use strict; use warnings; use parent 'Catalyst::Controller'; use Data::Page::Navigatâ¦
æè¿ã¯ãã£ã±ããããªæ§æ MyApp/ |-- Changes |-- Makefile.PL |-- README |-- conf - è¨å®ãã¡ã¤ã«ã¯ã¾ã¨ãã¦ãã㸠| `-- myapp.conf |-- docs - ããã¥ã¡ã³ãã¨ãSQLã¨ã |-- lib | |-- MyApp | | |-- Base - Base::Controllerã¨ãåºåºã¯ã©ã¹ | | |-- Coâ¦
# less /etc/redhat-release CentOS release 5.2 (Final)ãã£ã¤ãå¿ãããã¼ã
Tracã£ã¦ç´ ã§ã¯ãã¼ã«ã«ã®subversionãªãã¸ããªããè¦ããªãã®ãã ãããããªãã®ã§ãã¼ã«ã«ã«ãã©ã¼ãããã¨ã«ããã ã§ãã©ããã£ã¦ãã©ã¼ããããªãã ãã©SVKãããªãã¦svnsync使ã£ã¦ã¿ããã¾ãã¯ãã©ã¼å ã§æ®éã«ãªãã¸ããªä½ã£ã¦ svnadmin create /varâ¦