æ¨æ¥ã®ã¹ã¯ãªãããæ¸ãã¦ãã¦æã£ããã©ãTwitterã®APIã£ã¦RESTã ããï¼å®å ¨ã«ã§ã¯ãªããã©ï¼ãããã£ã¦ActiveResourceã§ã¢ã¯ã»ã¹ããã°ç°¡åã ã£ãã®ï¼ã¨æã£ããã¨ãããã¨ã§ActiveResourceã®åå¼·ãããã¦è©¦ãã¦ã¿ããçµæã¨ãã¦ã¯æ £ããã°ããªã楽ããPostã¯ã©ã¹ã¯æé»çã«Postãã¼ãã«ãè¦ããã®ããã«å½åè¦åã«å¾ã£ã¦ã¹ãã¼ãã«Webãµã¼ãã¹ã¸ã¢ã¯ã»ã¹ãããã¨ãã§ãããSOAPã®WSDLã¿ãããªåå®ç¾©ãæºåããå¿ è¦ãªãã®ã¯è¯ããããActionWebServiceã§ããåå®ç¾©ãçµæ§ããã©ãããããã ãã¨ã¤ãã§ã«æ¨æ¥ã®ã¹ã¯ãªãããWebãµã¼ãã¹ã«ãã¦ã¿ãã ã¾ãæ°ããRailsã¢ããªãä½ãï¼ä»åã¯Twittã¨ãã§ï¼ãããã«ææ°ã®EdgeãªRailsãè½ã¨ãã¦ãã rails twitt cd twitt/vendor/ sudo svn co htt
ããããã®ãããä¸çãèããä¸ã§ãLong tailãã¨ä¸¦ãã§éè¦ãªã³ã³ã»ããã ã¨æãã®ããWisdom of crowdsãã§ããã The Wisdom of Crowds: Why the Many Are Smarter Than the Few and How Collective Wisdom Shapes Business, Economies, Societies and Nations ä½è : James Surowieckiåºç社/ã¡ã¼ã«ã¼: Doubledayçºå£²æ¥: 2004/05/25ã¡ãã£ã¢: ãã¼ãã«ãã¼ ã¯ãªãã¯: 70åãã®ååãå«ãããã° (12件) ãè¦ãç´1å¹´åã«ãã®æ¬ãåºçããã以æ¥è²ã ãªã¨ããã§å¤ãã®ãã¨ãæ¸ããã¦ãããæ¬ãåºçãããç´å¾ã«æ¸ãããã®ããå±±å£ããã®BlogãH-Yamaguchi.netãã®ãã®ã¨ã³ããªã¼ã§ããã http://w
DASFAA 2008 proceedings (LNCS 4947) is now available online. You can find information about it at this Springer site or access the online version of the processings. Introduction DASFAA is an annual international database conference, located in the Asia-Pacific region, which showcases state-of-the-art R & D activities in database systems and their applications. It provides a forum for technical pr
Twitterã®APIã§Railsã®Active Resouceã試ãã¦ã¿ã http://blog.tkmr.org/tatsuya/show/318-twitter-api-rails-active-resouce ã®å½±é¿ãåãã¦ActiveResourceã使ã£ã¦ã¿ãã ä¸ã®è¨äºã¨åããã¦æã£ããã¨ãã¤ãã¤ãã¨æ¸ãã¾ãã å¤ãã®å ´åæ¸ãã¯ã©ã¹ã®è¨å®ã¯å ±éãã¦ããã®ã§ãµã¤ããã¨ã«ãã¼ã¹ã®ã¯ã©ã¹ãç¨æãã¦ãã£ã¦å°ã¯ã©ã¹ã¯ãããç¶æ¿ãã¦ãã£ã¦ãã使ãæ¹ãè²ã ã¨æ¥½ã§ããã¨æããã¤ã¾ãä¸ã®è¨äºã®ä¾ãªãã require 'highline' require 'logger' class Twitter::API < ActiveResource::Base USER = HighLine.new.ask('user:') PASSWD = HighLine.new.ask('passwd:')
See here from some syntactical changes that occurred after this post was published Following the tail of David Heinemeier Hanssonâs much talked about RailsConf keynote speech comes the addition of the ActiveResource library to edge Rails. Whatâs all the hype about? Well, Iâll let you read Davidâs post for the lowdown, then Iâll try to do some justice to the conceptâ¦.. Done reading? If you were too
å æ å ±ã¯1é±éåãªã®ã§ãæ¡ããã¦ããªãã¿ã§ã¯ãªããã©ãITproã«ãã£ãè¨äºãä½æ°ãªãçºãã¦ãã¦è¦ã¤ããã®ãããã親è¨äºã¯ã ãæ¥æ¬Rubyã«ã³ãã¡ã¬ã³ã¹2006ãã趣å³ã®è¨èªãããã¸ãã¹ã®è¨èªã¸ã---æ¥æ¬åã®Ruby大è¦æ¨¡ã¤ãã³ãéå¬ãããã ç»åãæ¶ããã¨å°ãã®ã§(ãã¶ãæ¶ããªãã¨ã¯æããã©)ãä¸èº«ã転è¼ã Person = ActiveResource::Struct.new do |p| p.uri = "http://www.example.com/people" p.credentials :name => "dhh", :password => "secret" end david = Person.new(:name => "David") # POST http://www.example.com/people # <person><name>David</name><
jpmobileã¯ä¾¿å©ãªãã©ã°ã¤ã³ã§ãããéçºã§ä¸ä¾¿ãªã¨ããããã¾ãã æºå¸¯ã®ãã¥ã¼ããã©ã¦ã¶ã§è¦ããã¨ãã« UserAgentSwitcherã§ã使ãã¨ãããã«æºå¸¯ã®ãã¥ã¼ãå¾ããã¾ãã ããããç§ã¯ã¿ãã§é常ã®ãã©ã¦ã¶ã®ãã¥ã¼ã¨æºå¸¯ã®ãã¥ã¼ãåæ¿ãã¦ã¿ããã®ã§ãã ããã§ãhttp://localhost:3000/?mobile=on ã¨ãã㨠D505isããã®æ¥ç¶ã ã¨åéãããããã«ãã¦ã¿ã¾ããã --- vendor/plugins/jpmobile/lib/jpmobile/hook_cgi_request.rb (ãªãã¸ã§ã³ 1578) +++ vendor/plugins/jpmobile/lib/jpmobile/hook_cgi_request.rb (ä½æ¥ã³ãã¼) @@ -2,7 +2,7 @@ class ActionController::CgiRequest
ã½ã¼ã¹ã®ç®çã¯å°æåã大æåã«ãã¦ç©ºç½æ¹è¡ã¿ããåãé¤ããã¨ã§ãã ã©ããããããæªããã¦ããã¿ããã§ãã ãªã®ã§ããããã ãgsubã«ãã¦ã¿ãã def str_upcase(str) oldkcode=$KCODE $KCODE="UTF-8" result=str.tr("ã£ã¥ã§ã¡ã£ã¥ã§ã©","ã¤ã¦ã¨ã¢ã¤ã¦ã¨ãª").gsub(/ã/,'ã') result.gsub!(/ã| |\r|\n|\t/,'') $KCODE=oldkcode result end 次ã«ãgsubã§trãããã°ã£ã¦ã¿ã¾ããã class String def utf8tr(from,to) # toãfromããçãã¨ä¾å¤ãã $KCODE="UTF-8" from_arr=from.split // to_arr=to.split // raise "Size error" if from_arr.siz
以åã«ãã«ããå ¥ã£ã¦ããã¨ç¹å®ã®ãã©ã¦ã¶ï¼AUã®W44Tã§ãã¹ãï¼ã§ã¯ ~ã%7Eã«èªåå¤æãã¦ãã¾ãåé¡ãåãä¸ãã¾ãããã ãã®ãããããã©ã°ã¤ã³ã«ãã¾ããã ãã®åé¡ã¯ä¾ãã° http://foo/~bar ããªã¯ã¨ã¹ãããã¨ãã«ããã©ã¦ã¶ã«ãã£ã¦ã¯ãåæã« ãã«ãã%7Eã«èªåå¤æãã¦ã http://foo/%7Ebar ã¨ãã¦ãªã¯ã¨ã¹ãããã¨ãããã®ã§ãã ãã®ãããRailsã誤èªãã¦ãApplication Errorãåºãã¨ãããã®ã§ãã ã¤ã³ã¹ãã¼ã«ã¯ç°¡åã§ãã ruby script/plugin install http://xibbar.net/svn/rails/plugins/trunk/tilde_replace/ã§ã¤ã³ã¹ãã¼ã«ããã¾ããããã§èªåçã«Railså´ã§ %7Eã~ã«å¤æãç´ãã¦å¦çãã¾ãã
Railsã§mongrelã¨ãfastcgiã¨ã使ã£ã¦ããã¢ããªã§ postgresqlã®ã»ãã·ã§ã³ãåãã¦ãã¾ã£ãå ´åã¯ã1åç®ã¯ä¾å¤ãçºçãã¾ãã ãã®å ´åã«ä¾å¤ãææãã¦ãèªåçã«ãªãã©ã¤ããã¦ãããããã«ãããããã ãã©ã°ã¤ã³ã«ãã¾ããã ãããã¤ã³ã¹ãã¼ã«ããã¨ãPostgreSQLã®ã»ãã·ã§ã³ãåãã¦ãã¾ã£ã¦ãã ä¾å¤ãèµ·ãããã«ã»ãã·ã§ã³ãåæ¥ç¶ãã¦ããã¾ãã 使ãããã¯ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããã ãã§ãã ruby script/plugin install http://xibbar.net/svn/rails/plugins/trunk/postgresql_reconnect/ã©ã¤ã»ã³ã¹ãæ¸ãã¦ããªãã®ã§ãããrubyã©ã¤ã»ã³ã¹ãããããªãã
PostgreSQLã¯pg_dumpããã ãã§ã¯ä»ã®ã¦ã¼ã¶ã¼ã§ä½¿ããªãã§ãã ãã³ããããã¡ã¤ã«ã«ãªã¼ãã¼ã¨ããæ¸ãè¾¼ã¾ãã¦ããããã§ãã ãã®ãããã¡ãã£ã¨ã ãã ãã³ããè¦ãã¾ãã ã¾ãã-Oãã¤ãã¦ãã³ããã¾ãã pg_dump -O dbname > dbname.sqlå¤ããããªã¼ãã¼ãä½æãã¾ãã $ createuser www-data Shall the new user be allowed to create databases? (y/n) y Shall the new user be allowed to create more new users? (y/n) yã¹ã¼ãã¼ã¦ã¼ã¶ã§ä½æããã®ãã³ãã§ãã æ¢åã®ã¦ã¼ã¶ã¼ãã¹ã¼ãã¼ã¦ã¼ã¶ã«ããã«ã¯ http://wrath.rubyonrails.org/pipermail/rails/2005-March/0040
http://foo.bar/~aaa/ ãã®ãããªURLã®å ´åãé常ã¯ããã§ãªã¯ã¨ã¹ãããã¾ããã ç§ãæã£ã¦ããAUã®W44Tã¯~ã%7Eã«èªåçã«å¤æãã¾ãã ããããã¨ããªã¯ã¨ã¹ãã¨URLãç°ãªã£ã¦ãã¾ãã¾ãã ãã®ãããã«ã¼ãã£ã³ã°ããããããªãã 404ã¨ã©ã¼ãçºçãã¾ãã ãã®ãããããããä½ãã¾ããã --- request.rb.org 2007-04-17 12:42:55.487682329 +0900 +++ request.rb 2007-04-17 12:42:34.387251466 +0900 @@ -138,7 +138,7 @@ # Return the request URI, accounting for server idiosyncracies. # WEBrick includes the full URL. IIS leaves REQUES
ã¾ããjpmobileãã©ã°ã¤ã³ãå ¥ãã¦ããã¾ãã ./script/plugin install svn://rubyforge.org/var/svn/jpmobile/trunk/jpmobileã¾ãããµã¤ãºã®å¤æ´ãrmagickã§è¡ãã¾ãã®ã§ã gemã§rmagickãããã¦ããã¾ãã sargeã§ã¯ apt-get install libmagick6-devãå¿ è¦ã§ããããã㧠gem install rmagickã§ããã ä¸ã®ç¶ãã¨ãªãã¾ããã require 'RMagick' class BbsController < ApplicationController def show_photo @photo=Photo.find(params[:id]) imgs=Magick::ImageList.new imgs.from_blob(@photo.data) if r
ã¢ãã«ã create_table "photos", :force => true do |t| t.column "mimetype", :string t.column "data", :binary end ã ã¨ãã¦ãmimetypeã«content_typeãdataã«ç»åã®ä¸èº«ãã®ãã®ãå ¥ãã¦ããã¾ãã class BbsController < ApplicationController def show_photo @photo=Photo.find(params[:id]) send_data(@photo.data,:type=>@photo.mimetype, :disposition=>"inline")) end end ã¨ããã¨ãhttp://localhost:3000/bbs/show_photo/1 ã¨ã㧠ç»åã表示ããã¾ãã
.screenrc escape ^Tt hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w" shelltitle "% |$SHELL".zshrc if [ "$TERM" = "screen" ]; then precmd(){print -n '\ek\e\\'} fi PROMPT='%n@%m:%(5~,%-2~/.../%2~,%~)%# 'ãããã¦ããã¨ã¹ãã¼ã¿ã¹ã©ã¤ã³ã«å®è¡ä¸ã®ã³ãã³ããåºãã ç§ã¯gvimã使ãã®ã§vimã®æã¯vimã¨åºã¦ã»ãããããã
Vim ã 256 è²ã§ä½¿ããã 2007-06-30-2: [Vim][Solaris] 以åã¿ã¼ããã«ã 256 è²ã«ããã®ã§ããï¼ãã£ãããªã®ã§ Vim ã 256 è²ã§ä½¿ãããã¨æã£ã¦ä»¥ä¸ã®ãããªã¹ã¯ãªãããæ¸ãã¾ããï¼ #!/usr/bin/env perl use strict; use warnings; my $fg = "\x1b[38;5;"; my $bg = "\x1b[48;5;"; my $rs = "\x1b[0m"; my $color = 0; for (my $row = 0; $row < 32; ++$row) { for (my $col = 0; $col < 8; ++$col) { print get_color($color); $color++; } print "\n"; } sub get_color { my ($color) =
Wikipedia:Keyboard shortcuts - Wikipedia via http://www.micropersuasion.com/2007/06/surf-wikipedia-.html 調ã¹ãã®ããã¨ããªã©ã«ããWikipediaãå©ç¨ãã¦ãã¾ããããã¡ãã®ã¨ã³ããªã«ããã¨ãWikipediaã«ã¯ã·ã§ã¼ãã«ãããã¼ãç¨æããã¦ãããã§ãããç¥ãã¾ããã§ãããã 使ãæ¹ ã·ã§ã¼ãã«ãããã¼ã¯Windowsã¨Macã§è¥å¹²ãã¼ãéã£ã¦ã¾ãã Windowsã®å ´å ãã©ã¦ã¶å¥ã«ä»¥ä¸ã®éãã§ãã Mozilla Firefox 1.5: Alt + ã·ã§ã¼ãã«ãããã¼ Mozilla Firefox 2: Alt + Shift + ã·ã§ã¼ãã«ãããã¼ Internet Explorer: Alt + ã·ã§ã¼ãã«ãããã¼ + Enter Opera: Shift + Esc
Google Code Archive - Long-term storage for Google Code Project Hosting. Firefoxã®ã·ã§ã¼ãã«ãããã¼ããå¿ãããã¨ãã«ä¾¿å©ãªã¢ããªã³ã®ãç´¹ä»ã ãã®æä½ã®ã·ã§ã¼ãã«ãããã¼ã£ã¦ä½ã ã£ãï¼ã¨ãããããªå ´åã«ãã¡ãã®ãasdf-jklããã¤ã³ã¹ãã¼ã«ãã¦ããã°ãã«ã¼ã½ã«ãã®ããç®æã«å²ãå½ã¦ããã¦ããFirefoxã®ã·ã§ã¼ãã«ãããã¼ããããã¢ãã表示ãã¦ãããããã«ãªãã¾ãã ä¾ãã°ä¸ã®ã¤ã¡ã¼ã¸ã®ããã«ããã±ã¼ã·ã§ã³ãã¼ã«ã«ã¼ã½ã«ãæã£ã¦ããã°ãã±ã¼ã·ã§ã³ãã¼ãé¸æããããã®ã·ã§ã¼ãã«ãããã¼ãCmd+Lï¼Macã®å ´åï¼ãã表示ããã¾ãã ä»ã«ããæ¤ç´¢çªãªããCmd+Kã ãã¼ã¸ã®åèªã¿è¾¼ã¿ã¯ãCmd+Rã ãªã©ãªã©ãä»ã«ã表示ãããç®æã¯ããã¤ãããããã§ãã ã¾ããFirefoxã®ã表示ãã¡ãã¥ã¼ã«ãKeyb
http://www.twitterverse.com/ æè¿ãTwitterã®äººæ°ã¶ããã¹ã´ãã§ãããé ãã°ããªããç§ãå§ãã¦ã¿ã¾ããâ starocker (@starocker) | Twitter ãããªããããªTwitterã§ä½¿ããã¦ããåèªãéè¨ãã¦ããã使ããã¦ãåèªãã¿ã°ã¯ã©ã¦ãã«ãã¦è¦ãã¦ããããµã¼ãã¹ãTwitterverseãã®ãç´¹ä»ã ã¿ã°ã¯ã©ã¦ãã§ããªãã¿ã®ã使ç¨é »åº¦ã®é«ãåèªã大ãã表示ããæ¹æ³ã§ããã ãããã¿ãã¨ãtinyurlãã¨ãtwitterããããããã使ããã¦ããããã§ããç¡é£ãªçµæã§ããã ãã®ä»ã®åèªãã¿ãã¨ã»ã¨ãã©å·®ããªã模æ§ãããã ãå¤æ§ãªè¨èã交ãããã¦ããã¨ãããã¨ããªã ããã«ããããã®åèªãã¯ãªãã¯ããã°ãå®éã«Twitterã§ããåããããä¼è©±ãè¦ããã¨ãã§ãã¾ãã ä¸æ¥ã®çµããã«ä¸ã®ä¸ã®äººãã¡ãä»æ¥ä¸æ¥ä½ããã¦ããã¾ã¨ãã¦ãã§ã
Products Iris Intelligence Platform The first place to go when you need to know. Iris Investigate Map connected infrastructure to get ahead of threats. Iris Detect Discover and monitor lookalike domains with unmatched speed and coverage. Iris Enrich Integrate DomainTools data with SIEM, SOAR, and other tools. Farsight DNSDB The worldâs largest Passive DNS intelligence solution. DNSDB API Unlock th
æ¨æ¥ããITmediaã®é ä¿¡ããRSSã«TrendMuchã®åºåãæ¿å ¥ãããããã«ãªã£ããã ãã©ããã®æ°ãå端ãããªãã http://d.hatena.ne.jp/tomozo3/20070227/1172546694 ãããªãã§ããããçªç¶ã«ãã£ã¼ãå ã®åºåãå¢ãã¦ãè¨äºèªä½ãè¦ã«ãããªã£ããã§ãããã ããã§ãããªã¼ã®ãªã³ã©ã¤ã³ãµã¼ãã¹ã使ã£ã¦åºåãåé¤ããæ¹æ³ã模索ãã¦ã¿ã¾ããã ä»å使ç¨ãããµã¼ãã¹ã¯ãã¡ãã®ãFeed Rinseãã ãã£ã¼ãã«ãã£ã«ã¿ãè¨å®ã§ãããµã¼ãã¹ã§ãã æ©éITmedia.Bizã®ãã£ã¼ããç»é²ãã¦åºåããã£ã«ã¿ãªã³ã°ãè¨å®ã¯âã®ããã«ãã¾ããã ããã§ã¯ã¿ã¤ãã«ã«ãPR:ããä»ãã¦ããè¨äºããããã¯ããè¨å®ã«ãã¦ãã¾ãã ãã£ã«ã¿ãªã³ã°ã®å¹æã¯ã©ãã§ãããããFeed Rinseé©ç¨åã¨å¾ã§å®éã®ãã£ã¼ããè¦ã¦ã¿ã¾ãããã ã¾ãã¯Feed Rinse
ãã©ã¡ã¼ã¿èª¬æ: end point URL: http://www.usamimi.info/~ryouchi/awasete/index.php ãã©ã¡ã¼ã¿:callback: ã³ã¼ã«ããã¯é¢æ°åãæå® ãã©ã¡ã¼ã¿:url: åå¾ãããurlãæå® ä½¿ãæ¹: callbacké¢æ°:viewawasete() url:http://ryouchi.seesaa.net/ ã®å ´åã http://www.usamimi.info/~ryouchi/awasete/index.php?callback=viewawasete&url=http://ryouchi.seesaa.net/ ãªã©ã¨æå®ããã æ»ãå¤: æ»ãå¤ã¯ä¸è¨ã®ãããªæã viewawasete([{"url":"http:\/\/satokoto.blog10.fc2.com\/", "title":" \u30d6\u3
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}