2014-01-01ãã1å¹´éã®è¨äºä¸è¦§
çµè«ããè¨ãã¨ãã²ãããæã¾ããã¨æãé ã«ããããã°ããããããªãã®ï¼ã£ã¦ã®ãåæãã¾ãã my.cnfã«[libmysqlclient]ã°ã«ã¼ãã追å ãããã«default-character-set = utf8mb4ã¨æ¸ããDBD::mysqlã§ã¯ mysql_read_default_file=/etc/my.cnf;mysql_read_dâ¦
空ç½çµ¡ãã¨ã©ãã«ãé åã§è¿ããªãã£ããã§ãè£å¤æ°ï¼_splitï¼çµç±ã§çµææ¸¡ãããã«ãã¦ãã®ãã¤ãã¤ãããã #!/bin/bash set -u set -e export LANG="C" split() { sep=$1 str=$2 _split=() if [[ $str =~ $sep ]]; then while IFS= read -r e; do _split+â¦
static linkããã«ããã£ã¦ã®åæ©ã諸注æï¼ãã¡ãããã®ã§å¿ èªï¼ã¯ [twitter:@sonots] ããã® mysql2 gem ã mysql5.6 ã® libmysqlclient.a 㨠static link ããã話 - sonots:blog ãåç §ãã¦ãã ãããããã§ã¯DBD::mysqlããã«ãããéã®ãªãã·ã§ã³ã®ã¿â¦
Vagrantã§ã¯Sahara pluginã使ããã¨ã§ãVMã®ç¶æ ã以åã®ç¶æ ã«å·»ãæ»ããã¨ãã§ãã¾ã(sandobx mode)ãVMã®ä¸ã§ããããããã£ã¦ããéã«å¤æ´åã®ç¶æ ã«æ»ããã®ã¯ã¨ã¦ã便å©ãªã®ã§ãããSaharaã§ã¯æ»ãããã§ãã¯ãã¤ã³ããã²ã¨ã¤ããä½ãã¾ãããèªåã®â¦
tail -Fãã¦ããfluent-agent-liteã§ããã£ãã®ã§ã¡ã¢ã åå¨ããªããã¡ã¤ã«ãtail -Fããå¾ããã®ååã®ã·ã³ããªãã¯ãªã³ã¯ãä½ã£ãå ´å $ rm -fr ~/oreno-tmp && cd ~/oreno-tmp $ tail -F tailme & tail: cannot open `tailme' for reading: No such fileâ¦
Chefã§daemontoolsé ä¸ã®ãµã¼ãã¹ããã³ããªã³ã°ããã¨ãã¯ãã³ãã¥ããã£ã¯ãã¯ããã¯ã® daemontools ã使ã£ã¦ã人ãå¤ãã¨æãã¾ãã https://supermarket.getchef.com/cookbooks/daemontools https://github.com/opscode-cookbooks/daemontools ãããªæâ¦
ã¡ãã£ã¨åã«ãªãªã¼ã¹ããã Berkshelf 3ãããBerkshelf APIã¨ããã¤ã³ããã¯ã¹ãµã¼ãã¼ããã¯ãã¯ããã¯ã®æ å ±ãå¾ãããã«ãªãã¾ããã https://github.com/berkshelf/berkshelf/wiki/2.x-to-3.0-Upgrade-Guide https://github.com/berkshelf/berkshelf-aâ¦
[twitter:@stillpedant](mooz)ããä½ã®percolã¯ã·ã§ã«ã¨ã¯ç¬ç«ãã¦ããã®ã§ãããã°ã°ãã¨zshã¨å ±ã«ä½¿ã£ã¦ãã人ãå¤ãããã§ããããã¯zshã®å¼·åãªè¡ç·¨éæ©è½ãæä¾ããzleã«å ãã¨ããã大ããããã ã¨æãã¾ããbashã§ãpercolã使ã£ã¦ãã人ãããã®ã§ãâ¦
Apacheã®mod_statusã使ãã°åããã»ã¹ã®ç¶æ ãç¥ããã¨ãã§ãã¾ããCloudForecastãCactiçã§ãããå ã«è¦è¦åãã¦ãã人ãå¤ãã¨æãã¾ããmod_statusã§ç¢ºèªã§ããç¶æ ã«ã¯ä»¥ä¸ã®11種é¡ãããã®ã§ããã ç¶æ å å¤ mod_stautsã§ã®è¨å· 説æ SERVER_DEAD 0 â¦
InfluxDBã¨ã¯ http://influxdb.org ã¡ããªã¯ã¹ãã¤ãã³ãã¨ãã£ãæç³»åãã¼ã¿ãæ ¼ç´ããã®ã«é©ãããã¼ã¿ã¹ãã¢ã§ããã¡ãªã¿ã« go ã§æ¸ããã¦ãã¾ããã¡ãªã¿ã« 2013ã®Open Source Rookiesã«é¸ã°ãã¾ããã InfluxDBã®ç¹å¾´ RRDãMySQLã«æç³»åãã¼ã¿ãæ ¼ç´ãâ¦
æ©éä½ãã¾ãããUbuntu 12.04 LTS ã§åä½ç¢ºèªãã¾ãããUbuntu ãããªãã¨åããªãã¨æãã¾ãã # aptitude install update-motd # rm -f /etc/update-motd.d/* # vi /etc/update-motd.d/99-imoutable (å¾è¿°) # grep UsePAM /etc/ssh/sshd_config UsePAM yeâ¦
èªåã¯ãã£ã¹ãã¬ã¤ã®æä¸ã«LimeChatã®consoleï¼å ¨ãã£ã³ãã«ã®ã¡ãã»ã¼ã¸ãæµããpaneï¼ã常ã«è¦ããããã«ãã¦ãã©è¦ãã¦ããã§ãããjoin, partã®åµã«ã¡ãã»ã¼ã¸ããã¼ã£ã¨æµããã¡ãããã¨ããã£ã¦ã¦ã ã¼ã¨æã£ã¦ãã¨ããã macçã¯webkitã§ã¬ã³ããªã³ã°â¦
redis-traffic-stats ã¨ãã Redis ã®ã¯ã¨ãªã¼ã¢ãã©ã¤ã¶ã¼ãä½ãã¾ããã https://github.com/hirose31/redis-traffic-stats redis-traffic-statsã¯tcpdump -wã§æ¸ãåºããpcapãã¼ã¿ãè§£æãã¦ã以ä¸ã®ãããªçµ±è¨ã表示ãã¾ãã ç·ãããã¯ã¼ã¯ãã©ãã£ãâ¦
[twitter:@fujiwara] ããã®ããã æ°ããPerlã«ä»ã¾ã§ä½¿ã£ã¦ãã¢ã¸ã¥ã¼ã«ãã¾ã¨ãã¦ã¤ã³ã¹ãã¼ã«ãã - é æ¥è¨ ã¯ã¦ãªæ¯åº ExtUtils::Installedã§ç¾å¨ã¤ã³ã¹ãã¼ã«ããã¦ããã¢ã¸ã¥ã¼ã«ããcpanfileãä½ã ããã¼ã¹ã«ã¡ãã£ã¨å¼ã£ã¦ã¢ã¸ã¥ã¼ã«ããªã¹ãã¢ãâ¦
ã¦ã¿ããã« Macã®ã¹ãã¼ã¿ã¹ãã¼ã«CPU温度ã表示ããã ãã®ã¢ããªã±ã¼ã·ã§ã³ãä½ãã¾ãã ã¹ã¯ãªããã®appåã®æ¹æ³ãç´¹ä»ãã¾ã 1. Macã®ã¹ãã¼ã¿ã¹ãã¼ã«CPU温度ã表示ãã é·ãã Temperature Monitor ã使ã£ã¦Macã®ã¹ãã¼ã¿ã¹ãã¼ã«CPU温度ã表示ããã¦ãâ¦