Facebook Graph APIã®å®é¨ã®çºã«ããããããªãµã³ãã«ã¢ããªãä½ã£ãããã¦ãã¾ãã æ¬çªç¨ã®ã¢ããªãä½ãã¨ãã¯Railsãæ¡ç¨ãããããã®ã§ãããç°¡åã«APIã試ãã ãã®ãµã³ãã«ã®å ´åã¯ãSinatraã使ã£ãã»ãããµã¯ã£ã¨ä½ãã¦ä¾¿å©ã§ãããã ãããªã¨ãã¯ãRuby OAuth2 gemã¨Sinatraã使ãã¨ããFacebookã¢ã«ã¦ã³ãã§ã®ãã°ã¤ã³ã®ä»çµã¿ããç°¡åã«å®è£ ãããã¨ãåºæ¥ãããã¾ãã ä»åã¯ããã¯ãæ®æ®µä½¿ã£ã¦ãããµã³ãã«ã³ã¼ããç´¹ä»ãããã¨æãã¾ãã æ¬å½ã¯ Rack::Session::Pool ã使ãããã®ã§ãããshotgunã¨ä½µç¨ããã¨ãã¾ãã»ãã·ã§ã³ãå¹ãã¦ãããªãã£ãããããã¨ããããRack::Session::Cookieã§ææ ¢ãã¦ãã¾ãã https://gist.github.com/998545 require 'rubygems' r
ãã¾ã¾ã§ Mix-up Attack 㯠Client ã AS æ¯ã« redirect_uri ã使ãåãã¦ããã°é²ããã¨ä¿¡ãããã¦ãã¾ããããããããé²ããªãã±ã¼ã¹ããããã£ã¦ã®ã OAuth ML ã«æ稿ããã¾ããã ç´°ãã解説ã¯è±èªèªãã§ãããã¨ãã¦ãã·ã¼ã±ã³ã¹ã«ããã¨ãããããã¨ã§ãã Attacker AS ã (Display Name ããã´çãéãã¦) ä¸è¦ Honest Client ã«è¦ãããã㪠Client (Attacker Client) ã Honest AS ã«ç»é²ãã¦ããå¿ è¦ãããã¾ãã User ã Attacker AS é¸ãã§ãã®ã« Honest AS ã«é£ã㧠Approve ãã¦ãã¾ã£ã¦ãé¨åããAttacker Proxy ãå©ç¨å¯è½ãªç¶æ³ (e.g., Client ã HTTP ãªã¨ã³ããã¤ã³ã㧠Honest AS ã®ãã°ã¤ã³ãã¿ã³çã
OAuth 2.0㧠Webãµã¼ãã¹ã®å©ç¨æ¹æ³ã¯ã©ãå¤ããã ã½ã¼ã·ã£ã«APIæ´»ç¨ã«å¿ é ã®âOAuthâã®åºç¤ç¥è æ ªå¼ä¼ç¤¾ãã¼ã³ã³IT æ¨æ篤彦 2011/2/2 TwitterãOAuth 1.0ãæ¡ç¨ããã®ãç®åãã«ãä»ã§ã¯å¤ãã®ãµã¼ãã¹ãOAuth 1.0ã«å¯¾å¿ãã¦ãã¾ããå½å ã§ããä¾ãã°ããã¤ã¯ãããã°åã³ã©ããã¼ã«ãyouRoomããå°è¦æ¨¡ã°ã«ã¼ãåãã°ã«ã¼ãã¦ã§ã¢ããµã¤ãã¦ãºLiveãããã¯ã¦ãªãã®ããã¤ãã®ãµã¼ãã¹ããYahoo!ãªã¼ã¯ã·ã§ã³ãããªã¢ã«ã¿ã¤ã ããã¼ãã¼ã«ãCacooããªã©ãOAuth 1.0ã«å¯¾å¿ããAPIãå ¬éãã¦ãã¾ãã ããæ°å¹´ã§OAuthã¯ãã¾ãã¾ãªWebãµã¼ãã¹ã®ãªã½ã¼ã¹ãå©ç¨ããéã®èªè¨¼æ¹å¼ã¨ãã¦æ®åãã¦ãã¾ãããããã¯å¤§ããªãã¬ã¼ã¤ã¼ããµãã¼ããããã¨ãä¸å ã§ãããOAuthã®æã¤ä»¥ä¸ã®2ã¤ã®ç¹å¾´ã«ãã£ã¦ããOAuthã使ãã¨ããµã¼ãã¹ãããã¤
ããã¤ãã®ã¿ã¤ã ã©ã¤ã³ï¼@itsumonoTLï¼ãã¨ããTwitterã¢ã«ã¦ã³ããããã3æ11æ¥ã«ãªã¼ãã³ããã¢ã«ã¦ã³ãã§ã11æ18æ¥æç¹ã§1ä¸9000人以ä¸ã«ãã©ãã¼ããã¦ããããã¤ã¶ããæ°ã¯ããã3ã¤ã§ããã©ãã¼æ°ã¯ã¼ããæå人ãæåãã£ã©ã¯ã¿ã¼â¦â¦ã§ããªãã ãã¤ãã®ã¿ã¤ã ã©ã¤ã³ã®ãããã£ã¼ã«æ¬ã«ã¯ãããããããTLã殺ä¼ã¨ãã¦ããæãªã©ããã¤ãã©ããã®å¤æ postãè¦ã¦è½ã¡çããããã©ãä¸è¬¹æ ã ã大äºãªæ å ±ãæµããããªãããæ°ãå¼ãããã¨ãã«ãpostã®å 端ã«@ãã¤ãã¦ãªãã©ã¤ããå½¢ã§postãã¦ã¿ã¦ãã ããããã®ã¢ã«ã¦ã³ãããã©ãã¼ãã¦ãã人ã«ããã¤ã¶ãããè¦ããªããªãã¾ãã ãã¤ãã®ã¿ã¤ã ã©ã¤ã³ã¯ãæ±æ¥æ¬å¤§éç½ã®å½æ¥ã«ãªã¼ãã³ãããTwitterã®ãªãã©ã¤åä»å°ç¨ã¢ã«ã¦ã³ããæªæ¾æã®å¤§éç½ãèµ·ããä»ãæ®æ®µéããã ããªããã¨ããã¤ã¼ãããã¨ä¸è¬¹æ ãªã®ã§ã¯ãªããã¨èãããããã
使ãæ¹ â èµ·å screen ä½æ¥ãã ã¦ã£ã³ãã¦ãããä¸ã¤éããããªã£ãã ^a^c ã§æ°ããã¦ã£ã³ãã¦ã¨ã·ã§ã«ãèµ·å ä½æ¥ãéä¸ã®ã¾ã¾ãããããªã£ãã ^a^d ã§ãã¿ãã ä½æ¥ãåéããããªã£ãã screen -r screen ä¸ã®å ¨ã¦ã®ã¦ã£ã³ãã¦ã exit ãã㨠screen èªä½ãçµäºã â prefixãã¼ â ããã©ã«ãã 㨠Crt+A ãªã®ã§ããã㯠shell ã§ãé »ç¹ã«ä½¿ãã®ã§å°ãã 以ä¸ã追å ãã㨠Ctr+Z ã screen ã® prefix ãã¼ã«ãªãã escape ^z^z ã¿ããªä½ã«å²ãå½ã¦ã¦ããããªãã ãããªã ãã¨ãå ±ç¨ã®ã¢ã«ã¦ã³ãã¨ãã§å¥½ãåæã« .screenrc ãç½®ããªãã¨ããªã©ã¯èµ·åãªãã·ã§ã³ã§ãå¤ããããã®ã§è¦ãã¦ããã¨è¯ãã screen -e^z^z â ã¹ã¯ãã¼ã«ãããã¡ãµã¤ãºï¼è¡æ°ï¼ â ã³ã³ã½ã¼ã«ã«æµããæåã®å±¥æ´ãä½è¡
GNU screenã¨ã¯ ã²ã¨ã¤ã®ç«¯èã§ãè¤æ°ã®ä»®æ³ç«¯èã使ãã·ã¹ãã ãç°¡ååãæ¿ããã§ãã¦ãã²ã¨ã¤ã®ã¿ã¼ããã«ã§å ¨ã¦ãã§ããã¹ã°ã¬ã¢ããCUI使ããªãæ´»ç¨ãã¹ãã 使ãã«ã¯ãããã¾ãã«ãã£ã¦æ¬¡ã®2ã¤ãããã¨æãã ããã³ãã㧠'screen' ã¨æã¤ã kterm -T kterm -e screen ãªã©ã¨ãã¦ãã(-Tãæå®ããªãã¨ãã¦ã£ã³ãã¦ã¿ã¤ãã«ãscreenã«ãªã£ã¦ãå人çã«æ°æã¡æªã)ã å人çã«ã¯ã.xinitrcãªã©ã®ãã¡ã¤ã«ã§å¼ã³åºãwindowã¨ãã¦screenãå©ç¨ãããã¨ãæ¨å¥¨ã GNU screenã®ä½¿ããã GNU screenã¯ããã³ãã³ãæåããã©ã¹ãªã«ãã®æåã§ãã¾ãã¾ãªæ©è½ãé«ç¾ã§ãããã³ãã³ãæåã¯ããã©ã«ãã§ã¯C-aã ãã.screenrcä¸ã§escapeå½ä»¤ããè¨å®ã§ããããã¨ãã°ç§ã¯ã escape ^t^t ã¨ãã¦ãããããã¯C
ããã¯ä½ããã¦ããã¨ããã¨ãscreenã使ãã¨ãscreençªå·ãå²ãæ¯ãããã¨æãã ããã«ç°¡åã«ç§»åããããã«keyãå²ãå½ã¦ã¦ããã§ãã ã¡ãªã¿ã«ããã£ããã¯æãçãã¦è¤æ°ãã¼ãåæã«æ¼ããªãã®ã§ãä¸ã¤ã®ãã¼ã§åä½ãå®äºããã¦ã¾ãã ããã¯ããªãã¡ãã¡ã³ã¯ã·ã§ã³ãã¼ï¼ ã»ã¨ãã©ä½¿ããªããã¼ã§ãããããã ãªã®ã§ããã¤ããæ´»ç¨ãã¾ãï¼ å ·ä½çã«ã¯ããF1ããæ¼ãã¨ã0çªã®screenã«ãF2ãªã1çªãF3ãªãã»ã»ã» ã£ã¦æãã k; 㯠F10 ãæãã¦ãã¦ãæ°è¦ã¦ã£ã³ãã¦ã®èµ·å F1 㯠F11 ãæãã¦ãã¦ãã¹ã¯ãªã¼ã³ãã¼ã ã®å¤æ´ ã£ã¦æãã§ãã ãã¡ã³ã¯ã·ã§ã³ãã¼ãªãã使ããªãããããããã¦ããã¨ä¾¿å©ã ã ã¾ãããã¼ã ãã¸ã·ã§ã³ããé¢ãã¡ãããã©ãã»ã»ã» Tags: screen
表é¡ã®éãï¼ç±³ã¹ã¿ã³ãã©ã¼ã大ãèªç¶è¨èªå¦çã¨ç¢ºçã¢ãã«ã®è¬ç¾©ã®ãªã³ã©ã¤ã³å ¬éãå§ããããã§ãï¼Natural Language ProcessingProbabilistic Graphical ModelsNLPãæ å½ããManningå çã¯ï¼ãã®åéã§ã¯ç¥ãã¬ãã®ã¯ããªãæç§æ¸ãFoundation of Statistical Natural Language Processingãã®èè ã§ãããã¾ãï¼ããã¯å¿ è¦ã§ããï¼ ãªãï¼ä»¥åããå ¬éããã¦ãã¦æ¢ã«è¬ç¾©ã課é¡ãå§ã¾ã£ã¦ããæ©æ¢°å¦ç¿ã¨äººå·¥ç¥è½ã®è¬ç¾©ã¯ãã¡ãï¼Machine LearningIntro to AI - Introduction to Artificial Intelligence - Oct-Dec 2011 ã¹ã¿ã³ãã©ã¼ã大å¦ã®ãªã³ã©ã¤ã³è¬ç¾© - nokunoã®æ¥è¨ãã¤ã¼ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}