2014-01-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã¤ãå¿ãã Linuxã32ãããçã64ãããçãã®ç¢ºèª - æè¡ã¡ã¢ OS uname -a CPU cat /proc/cpuinfo | grep flags | grep lm ããããå½ä»¤ã»ããï¼ å¾ã§æ¸ã
ãã£ãã Dddããã£ã¨èº«è¿ã« DDDã¨ã¯ãããããã¨ãªã®ã - Some Days You Get the Bear ã¬ã¤ã¤ã¼åã¢ã¼ããã¯ã㣠ãã¡ã¤ã³é§åè¨è¨ã»ã¢ããªã±ã¼ã·ã§ã³æ§ç¯ç·¨ã»ã¬ã¤ã¤åã¢ã¼ããã¯ã㣠- Strategic Choice DDDã®èªæ¸è¨é²ï¼ç¬¬4ç« ããã¡ã¤ã³ãéé¢ããï¼ - éâ¦
åé¡ Goè¨èªãã¡ããã¨å¦ã¼ãã¨æã£ã¦ããããåå¼·ãã¦ãã®ã ããã© ããã¯ã¿ã¤ãã³ã°ã£ã¦ä¸ä½ãªããªã®ããgolangã - DRYãªåå¿é² Goè¨èªã«ç¶æ¿ã¯ç¡ããã§ãããgolangã - DRYãªåå¿é² Goè¨èªã®goroutineã£ã¦ä¸ä½ä½ããgolangã - DRYãªåå¿é² ããããgorâ¦
åé¡ åã åãååã¨ããã¼ã«ã«ã®Macã«nginxã®ãµã¼ããç«ã¦ã ãã¼ã80ã§åãããã¨ããã¨ã以ä¸ã®ã¨ã©ã¼ãåºã [12:44:15] â nginx nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied) ã¡ãªã¿ã«ãå¤æ´ã¯ä»¥ä¸ diff -u /usr/local/etc/nginâ¦
Goal MacOSX10.9 mavericks ã§ãWebå ±æããç¡ãã®ã§ - DRYãªåå¿é² ã§apacheç«ã¦ããã© éçºç¨Macã®ã¦ã§ããµã¼ããapachaããnginxã«ãããã Log [11:20:29] â sudo apachectl stop Password: http://localhost ã«ã¦ãapacheæ¢ã¾ã£ããã¨ãç¢ºèª [11:20:40]â¦
åé¡ mavericksã®ç°å¢è¨å®âå ±æã«è¡ã£ã¦ããWebå ±æããç¡ã apacheã©ããã£ã¦ç«ã¦ãã® localhost/ã§éçºãããã®ã ã 解決 OS X ãMavericksã«ãããApacheãä¸æããããªãã£ãã¡ã¢ | UREILESS sudo apachectl start DRY
goroutineã£ã¦ä¸ä½ä½ã ãã£ã±ãåãããªããã並è¡å¦çï¼ãããPythonãªãthreadingãã¡ãã£ã¨ã ã使ã£ããã¨ããã ããã¹ã¦ã¿ãã ãããã£ã¡ãåããããã£ãã§ã Go ã®ä¸¦è¡å¦ç - Block Rockinâ Codes ãã£ã¦ã¿ãã 確ãããããã¤ã³ãã¨ãã¦ã¯ goroutiâ¦
å°ã£ã ç¶æ¿ãç¡ãã®ã¯å°ã£ããå ±éã¡ã½ããã¨ãã©ããããããããçãªã ååã®ããã¯ã¿ã¤ãã³ã°ã£ã¦ä¸ä½ãªããªã®ããgolangã - DRYãªåå¿é²ã«å¼ãç¶ãããã£ã¡ãåèã«ããã®ã¯ãã Goè¨èªã«ãããåãè¾¼ã¿ã«ããã¤ã³ã¿ãã§ã¼ã¹ã®é¨åå®è£ ãã¿ã¼ã³ - Qiiâ¦
ããã¯ã¿ã¤ãã³ã°ã£ã¦ ããã¯ã»ã¿ã¤ãã³ã° - Wikipedia ä¸ä½ä½ããããããªãã 調ã¹ã golangã«ãããããã¯ã¿ã¤ãã³ã°ã¨ã¯ãã§ä¸çªåãããããã£ãã®ãã Goè¨èªã«ãããåãè¾¼ã¿ã«ããã¤ã³ã¿ãã§ã¼ã¹ã®é¨åå®è£ ãã¿ã¼ã³ - Qiita 2014/05/27 è¿½è¨ ã¤ã¾ãâ¦
åé¡ golangã®oauthã¢ã¸ã¥ã¼ã«ã¨ã使ã£ã¦æ¥½ã TwitterAPIçæ´»ããããããªãã§ããgolangã§ãã§OAuthã¯ç°¡åã«å®è£ ã§ãããã ãã©ããã°ã¤ã³ã¦ã¼ã¶ã®screen_nameåããã¨ãã¦åããªãã çµè«ããè¨ãã¨encoding/jsonã®ä½¿ãæ¹ã ã£ã 3æéãããè©°ã¾ã£ãããª...â¦
Goal ã¢ããªå ã®ãã¼ã¿ã®æ°¸ç¶åã©ãããã®ããªã¼ã¨æã£ããsqliteã使ãã¿ãããããªããã¨ãããã¨ã§ã使ã£ã¦ã¿ãã å ¨ã¦ã®è¨é²ã¯ãã Commits · otiai10/Unko.Sample.SQLite · GitHub ã§ãã ãªã sqliteãçã§æ¸ãã®ã¯å¤§å¤ã§ãããæ®éã¯CoreDataã¨ã使ãâ¦
第3å ãã£ã¨ä½è ã«ããªããªãåã¯ãGoè¨èªã®ã¦ã§ããã¬ã¼ã ã¯ã¼ã¯ã§ããRevelã®ããã¥ã¡ã³ããå訳ãã¤ã¤ãç解ãæ·±ãããã§ãããã åå : (訳ããªãã)ã¤ãã£ã¦è¦ããRevelãã¬ã¼ã ã¯ã¼ã¯ - ãã®ï¼ - DRYãªåå¿é² ä»å㯠Introduction ã®ãã¥ã¼ããªã¢ã«â¦
ååã«ã²ãã¤ã¥ããGolangã©ããããã¬ã¼ã ã¯ã¼ã¯ã®ãªãããããç解ãã¦ããªãåã¯Revelã®ããã¥ã¡ã³ããå訳ãã¤ã¤ãç解ãæ·±ãããã§ãããã ããã§ã¯ ä»åã¯Overviewããã§ãããã Overview This section gives you a taste of various parts of the fâ¦
Revelã¨ã¯ The Revel Web Framework for Go Golangã®ã¦ã§ããã¬ã¼ã ã¯ã¼ã¯ã§ããRouter,Controllerãæä¾ãã¦ãã¦ãä»ã«ãæä½éã®ã¢ããªã±ã¼ã·ã§ã³ãã¹ããæåããæºåããã¦ããæãã®ãã®ã ãã§ã« ããã¤ãã®èªåã®ãµã¼ãã¹ã¯Revelã§éç¨ãã¦ãã otiaiâ¦
Goal ãããããã¨ããã ãã£ã¦ããã§ãï¼ ãªãå ¨ã¦ã®ä½æ¥è¨é²ã¯ä»¥ä¸ã®ã¬ãã¸ããªã®commitã«ããã¾ãã Commits · otiai10/Unko.Sample.Segue · GitHub 1.ããã¸ã§ã¯ããã¤ããã¾ã ããã¸ã§ã¯ãã¯ããããããã¯ãåã®ã¨ã³ããªã§è§¦ãã¦ã¾ãã Xcodeã§è¶ ç°¡â¦
Goal brew installã§ã¯ãªããã½ã¼ã¹ãããã«ããã¦mongoDBãã¤ã³ã¹ãã¼ã«ãã mongoã³ãã³ãã使ããã¤ã³ã¿ã©ã¯ãã£ãã¢ã¼ãã§èµ·åã§ãã Log ä¸å¿ãbrewã§ä½ãè½ã¨ãããè¦ã¦ãã % brew search mongo libmongoclient mongo-c mongodb mongoose % brew infoâ¦
revelã¤ã³ã¹ãã¼ã«ããã % go get github.com/robfig/revel % which revel revel not found ãµãã£ï¼ ããã ã£ã % go get github.com/robfig/revel/revel % which revel /Users/otiai10/proj/go/bin/revel