Python ã ãã§ä½ã Web ã¢ããªã±ã¼ã·ã§ã³ç¬¬ä¸å¼¾ã§ããHTML/CSS/JSã使ããã«ãPythonã ãã§UIãå«ãWebã¢ããªã±ã¼ã·ã§ã³ãä½ãã¾ãã
俺ã®å ´åãã½ã¼ã¹ã³ã¼ãããèªãããã«ããããã By ãã¼ã©ã³ãæ³ ã¯ããã« PHPã«éã£ã話ã§ã¯ãªãã§ãããã³ã¡ã³ãã£ã¦ãããããããªãã¨æããã§ãã ã³ã¡ã³ããããã®ã¯ããã¾ã§ãã³ã¼ãã§ã¯ä¼ãããããªãé¨åãä¼ãããããã ã¨æããã§ãã ãªã®ã§ãå ¨ããããªããããããªããããããã話ãããã¨æ°¸é ã«çãåºãªãã¨æããã§ãã ã§ãããªãã§ãããªã³ã¡ã³ãé å¼µã£ã¦ä»ãã¦ãã®ããªã£ã¦æãäºãå¤ã ããã®ã§ããããå人çã«ã¾ã¨ãã¦ã¿ã¾ããã â»ä»åã¯PHPã ãã«çµã£ã¦èãã¦ã¿ã¾ããã â»ä»ã¾ã§èªåãæ¼ ç¶ã¨ä»ãã¦ããé¨åãããã®ã§ãèªåã¸ã®æãã®ããã®è¨äºã§ããï¼ï¼ï¼ãã®ã§ãããªãã¦æ¥ã ï¼ï¼ PHPã®æ¨æºã³ã¼ãã£ã³ã°è¦ç´ è²ã ããã¾ããããPSRããªã©ãèªãã§ããã°ãããã¨ã âãã¬ã¼ã ã¯ã¼ã¯ãä½ãæ¡ç¨ãã¦ãããã¯éè¦ãªã®ã§ãããªãã使ç¨ãã¦ãããã¬ã¼ã ã¯ã¼ã¯ãä½åºæºãªã®ãã¯æ¼ããã¦ããã¾ãããã ã³
ããã«ã¡ã¯ãã¨ã³ã¸ãã¢ã®çã§ãã ä»åã¯ãã¶ã¤ã³ãã¿ã¼ã³ã¨ããã¶ã¤ã³ãã¿ã¼ã³ã®ä¸ã®ãStrategyãã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã ãã¶ã¤ã³ãã¿ã¼ã³ã¨ã¯ï¼ 端çã«ããã¨ããããããåé¡ã¸ã®ãããã解決çãã§ãã ããã§ã¯ãããã¾ã§ãã½ããã¦ã§ã¢è¨è¨ã®å ´åã«éå®ãã¦ããã®ã§ããããã¾ãã¾ãªã³ã³ããã¹ãã§æ´»ãããæ¦å¿µã§ãã ãä»ã¾ã§ã®çµé¨ä¸ããã®æã®åé¡ãªãããã®æ¹æ³ï¼ãã¿ã¼ã³ï¼ã§ããã°ãã¾ããããï¼ãã¨ããçµé¨åã¯èª°ã«ã§ãããã¨æãã¾ãããããã²ã¼ã ã®å ´åãªããæ»ç¥æ³ããæçã®å ´åãªããã¬ã·ãããèªå¦ã®å ´åãªããå®åæãã ã£ãããã¾ãã ã½ããã¦ã§ã¢è¨è¨ã®å ´åãç¹ã«ãªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ã«ããã¦è¨ããªããããã¶ã¤ã³ãã¿ã¼ã³ãã¨ã¯ãéå»ã®ã½ããã¦ã§ã¢è¨è¨è ã失æã«å¤±æãéãã試è¡é¯èª¤ã®ä¸ããå°ãåºããåå©ç¨ãããããã¦ãã¦ã®é大æã®ãããªãã®ã§ãã ãããè¦ããã«ãæè»æ§ãæ¡å¼µæ§ãå
PHP ã«éãããããã°ã©ãã³ã°ã§ä½¿ãããå¤ãã®é¢æ°åã¯ãåè©ï¼ç®çèªãã¨ããå½åè¦åã«ãªã£ã¦ãããã¨ãå¤ãããinsertPost()ãã§ããã°æ稿ãæ¿å ¥ããã¨ããæå³ãååããèªã¿åãã¾ãã ã§ã¯æ稿ãåé¤ããå ´å㯠delete ã§ããããï¼ãããã¨ã remove ã§ããããï¼ é¢æ°ã¯åºæ¬çã«è±èªã使ãã®ãéåã§ãããä¼¼ããããªæå³ãæã¤åèªãªã©ãå¤ãå³å¯ãªæå³ã®éãããããã«ãããã¨ãããã¾ãã ããã§ãããã°ã©ãã³ã°ã§é¢æ°åã¨ãã¦ä¸è¬çã«ä½¿ããã¦ããé »åºèªå¥ãããã¯ã¢ãããã主ãªç¨éã¨ç´°ããæå³ããã¥ã¢ã³ã¹ã使ãåãã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ããã 追å ã»ä½æ set
ç§ã¯ã·ã§ã«ã¹ã¯ãªããã®å¤§ãã¡ã³ã§ãä»äººã®ã¹ã¯ãªããããé¢ç½ãæ¹æ³ãå¦ã¶ã®ã大好ãã ãæè¿ãSSHãµã¼ãã®2è¦ç´ èªè¨¼ãç°¡åã«ããããã®authy-sshã¹ã¯ãªããã«åºä¼ã£ãããã®ã¹ã¯ãªãã群ãè¦ã¾ããã¦ãã¦ãã¿ããªã¨å ±æãããããããã®ã¯ã¼ã«ãªãã¨ãè¦ã¤ããã åºåã«è²ä»ããã åºåæååããæåããæã¯ç·ã«ã失æããæã¯èµ¤ã«ãè¦åã¯é»è²ã«è²ã¥ããããã¨æããã¨ã¯ããããããã ããã NORMAL=$(tput sgr0) GREEN=$(tput setaf 2; tput bold) YELLOW=$(tput setaf 3) RED=$(tput setaf 1) function red() { echo -e "$RED$*$NORMAL" } function green() { echo -e "$GREEN$*$NORMAL" } function yellow() { e
Python使ãã¨ãã¦ã¯ããªãå½å ã§Perlãæ¥éã«èãã ã®ããã«ã¤ãã¦ä¸è¨ããã³ã¿ããã¨ãããããã¾ãã >éã«Perlã«ã¨ã©ããåºããã®ã¯Pythonã§ãããå®åç¯å²ã¯å½ç¶ãªããPerlã¨é§ã 被ã㧠ãã£ãPerlã¨Pythonã®å®åç¯å²ãã ã ãã¶ãã£ã¦ãèè ã®è¦³æ¸¬ãã¦ããããããã®è¨èªã®ãå®åç¯å²ãã£ã¦ã©ãã ãçããã§ãããï¼ ã¾ããããªéç®±ã®é ãã¤ã¤ãã®ã¯ããã¦ããã¾ãããããã®ã¨ã³ããªã¼ã«ã¯çµè«ã®æç« (ã®ä¸é¨)ã¯ã¨ã¦ãç´ æ´ãããã§ãã >10å¹´ã§ããã¾ã§æ代ã¯å¤ãããä»ã®ã¡ã¤ã³ãã¯ããã¸ã¼ãææ¥ã¯æã身ã ã >å¤åã®éãæ代ã«çããæã ã«å¿ è¦ãªã®ã¯æ¬è³ªãå¦ã¶äºã ã >ãã£ã¨10å¹´20å¹´ãã£ã¦ãè²ãããªãæ å ±å·¥å¦ã身ã«ã¤ããªããã°ãªããªãã ãããããã§æèãã³ã¼ãã£ã³ã°ãæ¯ããæè¡ãã®ãããªæ¬ãå¿ è¦ã«ãªãããã§ãï¼(宣ä¼) ã¡ãªã¿ã«åèªèº«ã¯ä»äºã§ã趣å³ã§ãPerlã¯ä½¿ã£ã¦ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}