Wantedlyã¯ãéå½ã®ãã¼ã ãä»äºã«åºä¼ãããã人èãåºãããã¸ãã¹ã®æ å ±åéã«ä½¿ãããã¸ãã¹SNSã§ãã
ã¤ã³ããã¯ã¹ã使ãã¨ä½æ æ©ããªãã®ã æ¬ãã¼ã¸ã§ã¯ORACLEã«ããã¦ã¤ã³ããã¯ã¹ã使ãã¨ä½æ ã¯ã¨ãªãæ©ããªãã®ããã¾ãã¯ãªãéããªããªãã®ãã説æãã¾ãã ãªããæ¬ãã¼ã¸ã§ã¯ç´¢å¼æ§æ表ãããããããã¤ã³ããã¯ã¹çã®ç¹æ®ãªãã¼ã¿æ§é ãæã¤ãªãã¸ã§ã¯ãã¯èæ ®ãã¦ãããä¸è¬çãªãã¼ãã«ã¨ã¤ã³ããã¯ã¹ãæ³å®ãã¦ãã¾ãã åæç¥è ã¤ã³ããã¯ã¹ã使ãã¨ãªãéããªãã®ããç解ããããã«ã¯ä»¥ä¸ã®åæãç解ãã¦ããå¿ è¦ãããã¾ãã ã»ãã£ã¹ã¯ã¢ã¯ã»ã¹ã¯CPUã¢ã¯ã»ã¹ã¨æ¯è¼ããã¨é常ã«é ã ä¸è¬çã«ã¯CPUå¦çæéãããç§åä½ã§ããã®ã«å¯¾ãã¦ãã£ã¹ã¯ã®ã¢ã¯ã»ã¹æéã¯ããªç§åä½ã§ããããã£ã¹ã¯ã¯CPUã«æ¯ã¹ã¦100ä¸åç¨åº¦å¦çãé ãã¨ããã¦ãã¾ãã ãããã£ã¦ãã¯ã¨ãªã®å¦çæéã¯ãã£ã¹ã¯ã¢ã¯ã»ã¹ãæãå°ãªãå®è¡è¨ç»ãæãé«éã¨ãªãå¯è½æ§ãé«ãã¨èãããã¾ãã ã»I/Oã®åä½ã¯ãããã¯ã§ãã ORACLEã®I
éçºè åãã®SQLã¤ã³ããã¯ã¹è§£èª¬ãµã¤ãã管çã«ã¤ãã¦ã®ééããªãç¥èãæä¾ãã¾ãã ã¤ã³ããã¯ã¹ã¯éçºæã«ã¯å¿ããããã¡ã§ããä¸æ¹ã§ãé常ã«å¹æçãªSQLã®ãã¥ã¼ãã³ã°æ¹æ³ã§ããUse The Index, Lukeã§ã¯ãHibernateãªã©ã®ORMãã¼ã«ã®è§£èª¬ã«ã¨ã©ã¾ãããSQLã®ã¤ã³ããã¯ã¹ã«ã¤ãã¦åºç¤ãã説æãã¾ãã Use The Index, Lukeã¯SQLããã©ã¼ãã³ã¹è©³è§£ã®Webä¸ã®ç¡æçã§ãããµã¤ããæ°ã«å ¥ã£ã¦é ãããããã²æ¸ç±ãè³¼å ¥ãã¦ã¿ã¦ä¸ãããã¾ãããã®ãµã¤ãã®éå¶ããµãã¼ãããæ§ã ãªã°ããºã販売ãã¦ãã¾ãã MySQLãOracleãSQL Serverãªã©ã«ãããSQLã®ã¤ã³ããã¯ã¹Use The Index, Lukeã§ã¯ããã³ãã«ã¨ããããªãã¤ã³ããã¯ã¹ã®èª¬æãå¿ããã¦ãã¾ãã製åç¹æã®äºæã«ã¤ãã¦ã¯ã以ä¸ã®ãããªè¡¨ç¤ºããã¦ãã¾ãã Db2 (LUW)U
ãã©ã¦ã¶ããèªåã®ãµã¼ãã¼ãéããAmazon S3ã«ç´æ¥ç»åãã¡ã¤ã«ãã¢ãããã¼ãããå®è£ ããã¦ã¿ã¾ããã èæ¯ ãµã¼ãã¼ãµã¤ãã¯Railsã§ä½ã£ã¦ãã¦ããã¨ãã¨ã¯carrierwaveã¨ããgemã使ã£ã¦ãã¡ã¤ã«ã¢ãããã¼ããå®è£ ãã¦ãã¾ããã ãã®gemã¯ãµã¼ãã¼ã«ã¢ãããã¼ãããããã¡ã¤ã«ãç°¡åãªè¨å®ã§S3ã«ä¿åã§ããã¹ã°ã¬ã¢ããªã®ã§ãããããã©ã¼ãã³ã¹ã«é£ç¹ãããã¾ããã ãµã¼ãã¼ã¯herokuã§ã®éç¨ãèãã¦ããã®ã§ããããã®è¨è¨ã ã¨ãã©ã¦ã¶ããherokuã«ã¢ãããã¼ããããã¡ã¤ã«ãherokuããS3ã«éä¿¡ãããã¨ã«ãªãã®ã§ããããã¯ã¼ã¯ã®ã³ã¹ããé«ãä¸ãherokuã®ãµã¼ãã¼ã¯è²§å¼±ãªã®ã§ãµã¼ãã¼å ã®å¦çæéã大ããã§ãã 解決çãæ¢ããã¨ãããherokuã®ããã¥ã¡ã³ãã«Direct to S3 Image Uploads in Railsã¨ããè¨äºãè¦ã¤ãã¾ããããã®è¨
JavaScriptã§ãªãã¸ã§ã¯ããé£æ³é åã®ããã«æ±ããå ¨é¨ã®ãã¼ã¨å¤ã«å¯¾ãã¦ä½ãããããå ´åãfor in ã使ãã¤ã¤ãhasOwnProperty ã§ãã®ãªãã¸ã§ã¯ããæã£ã¦ãããã©ãããã§ãã¯ããããã«ä»¥ä¸ã®ãããªã³ã¼ããæ¸ããã¨ãå¤ãã®ããªã¨æãã¾ãã Object.prototype.parent = "Parent!"; var obj = { name: "koba04", from: "kyoto" }; for (var key in obj ) { if ( obj.hasOwnProperty(key) ) { console.log(key + ":" + obj[key]); } } // name:koba04 // from:kyoto http://d.hatena.ne.jp/koba04/20110918/1316357080 ä¸ã®ã¨ã³ããªã§ã¯æ··ä¹±ãã
Railsã5.1ç³»ãã5.2.0.rc1ã«ã¢ããã°ã¬ã¼ãããéã«ãsecretså¨ãã ãçµæ§å¤ãã£ã¦ããªã¼ã¨æã£ãã®ã§ã¾ã¨ãã¨ãã¾ãã ç°¡åã«è¨ã£ã¦ããã¨ãå¹³æã®secretsã¯å ¨ã¦å»æ¢ãã¦æå·åãããcredentials.yml.encã®ã¿ãæ±ãããã«ãªãã¾ãããã¾ããsecrets.ymlã¯èªåçæã¯ãããªããªãã¾ãããããã¡ã¤ã«ãããã°ä»¥åã®ããã«Rails.application.secretsã§åç §ãããã¨ã¯åºæ¥ãã®ã§ã¢ããã°ã¬ã¼ãã®éã«ããã«å¯¾å¿ããå¿ è¦ãããããã§ã¯ç¡ãã§ãã çºç«¯ DHHãããã secrets.yml secrets.yml.enc ENV['SECRET_KEY_BASE'] ã®ï¼ã¤ã®çµã¿åããã ã¨ãç°å¢æ¯ã«ä½å¦ã«å¤ãè¨å®ããã°è¯ãã®ããããã¥ãããè¤éã ããã æ°ãã config/credentials.yml.enc ã追å ãã¦ä¸å 管çã§ããã
æ°å¹´åã§ããã°ä»æ¹ãªãã£ãã¨ããã§ããã2018å¹´ã®ä»ã¨ãªã£ã¦ã¯ããã¹ã¯ã¼ãããã·ã¥ã®æåè¨ç®ã¯ãã¯ã"æª"ã§ãã ã¾ããã°ã¤ã³èªè¨¼ã¨ç§°ãã¦md5ã¨ãsha1ã¨ãæ¸ãã¦ããã½ã¼ã¹ã¯ã´ããªã®ã§æãæ¨ã¦ã¾ãããã hashãcryptã¯ä¸è¨ã«æ¯ã¹ãã°ãã£ã¨ãã·ã§ããã使ãæ¹ã«ãã£ã¦ã¯ç°¡åã«èå¼±ã«ãªããã¾ãã ãã¨ããã¹ã¯ã¼ããæå·åãããã£ã¦è¡¨ç¾ãã¦ãã¨ãããè¦ãªãã¦ããã§ãã PHPã«ã¯ãããã·ã¥ã«é¢ãã諸ã ã®è½ã¨ãç©´ãä¸çºã§è§£æ¶ãã¦ãããpassword_hashã¨ããè¶ çµ¶ä¾¿å©é¢æ°ãããã®ã§ãããã使ãã¾ãã ã¨ãããããã以å¤ã使ã£ã¦ã¯ããã¾ããã 以ä¸ã¯ãã¬ã¼ã ã¯ã¼ã¯ã使ããã«å®è£ ããéã®ä¾ç¤ºã§ãã ãã¬ã¼ã ã¯ã¼ã¯ã使ã£ã¦ããå ´åã¯å½ç¶ãã®æµåã«å¾ã£ã¦ããã¾ãããã ããã·ã¥ã®å®è£ ãã¼ã¿ãã¼ã¹ ã¦ã¼ã¶æ å ±ãä¿åãããã¼ãã«ãä½æãã¾ãã ãã¹ã¯ã¼ãã«ã©ã ã®æåæ°ã¯ãã·ã¹ãã ä¸ã®ãã¹ã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}