2017-01-01ãã1å¹´éã®è¨äºä¸è¦§
使ãæ¹ CMDã«å®è¡ãããã³ãã³ããã«ã³ãåºåãã§å ¥åããTask Definition ãä½æããã®ä»ç°å¢å¤æ°ã¨ãã ä½æãã Task Definition ã Cluster ã® scheduled task ã«ã¦è¨å®ãCronãã¤ã³ã¿ã¼ãã«ããé¸æã§ããã CloudWatch ã§ãã°ãè¦ããã®ã§ä¾¿å©
ç°å¢ $ rails -v Rails 5.1.2 åºæ¬å½¢ where(ã«ã©ã : [è¦ç´ ]) Model.where(id: [1,3,5]) enumã®Symbolããã®ã¾ã¾ããã Model.where(status: [:active, :inactive]) åè: Active Record Query Interface â Ruby on Rails Guides
ã¡ã¢: CURRENT_DATE - interval (DAYOFWEEK(CURRENT_DATE) - 1) day AS THIS_SUNDAY æ¥ææ¥å§ã¾ãã¨ããã ä»æ¥ã®ææ¥ã¤ã³ããã¯ã¹(DAYOFWEEK(CURRENT_DATE))ããæ¥ææ¥ã®ææ¥ã¤ã³ããã¯ã¹ãå¼ãã¨ãä»æ¥ãæ¥ææ¥ããä½æ¥ç®ããåããã CURRENT_DATE + inteâ¦
ã¡ã¢ ERROR: unsatisfiable constraints: py-pip (missing): required by: world[py-pip] ERROR: Service 'web' failed to build: The command '/bin/sh -c apk add py-pip' returned a non-zero code: 1 ã¤ã³ã¹ãã¼ã«å¯è½ãªããã±ã¼ã¸ä¸è¦§(ã¤ã³ããã¯ã¹)ã®â¦
ã«ã¬ã³ããã£ã¬ã¯ããªä»¥ä¸ãã¹ã¦ã®ãã¡ã¤ã«å ã®HOGEã¨ããæååãFUGAã«ç½®æãã find ./ -type f | xargs sed -i '' 's/HOGE/FUGA/g' xargs ⦠æ¨æºå ¥åããåãåã£ããã¼ã¿ããä»»æã®ã³ãã³ãã«å¼æ°ã¨ãã¦ä¸ããã³ãã³ã sed ⦠StreamEditor. å ¥åã¹ããªâ¦
ã¡ã¢ãã¯ã¨ãªãè¤æ°ã«ãªãã¨ã¨ã©ã¼ã«ãªãã£ã½ã SELECT id, (SELECT @date := huga) AS date, FROM hoge
const muiTheme = getMuiTheme({ raisedButton: { textColor: 'white', color: purple900, } }); ãããªæãã«Material-UIã®è²ãå¤ãã¦éãã§ããã¨ã©ã¼ãåºã: Warning: Material-UI: The white color was not parsed correctly, because it has an unsuppoâ¦
Rails4ã§ã¯ä½¿ããFoo.skip_callback(:create, :after, :bar)ãRails5ã§ã¯ä½¿ããªãã ArgumentError: After create callback :do_something has not been defined 対çã¨ãã¦ã次ã®ããã«FGã«ããã¦ã¡ã½ãããä¸æ¸ããã: class User < ActiveRecord::Base afâ¦
Controller: class ProfilesController < ApplicationController def search @profiles = Profile.search_by_full_name(search_params[:name]) end private def search_params params.require(:search_profile).permit(:name) end end Model: class Profile â¦
èªåã使ã£ã¦ããã¨ããã ããç°¡åã«ã詳ããã¯https://webpack.js.org/guides/migrating 以ä¸ãwebpack.config.jsã®å¤æ´ç¹: resolve.extenstions 空ã®æååã¯å¿ è¦ãªããªã£ãã®ã§åé¤ãããã¡ãªã¿ã«ããã©ã«ãã§ã¯.jsã.jsonãresolveããã¦ããã // v1 reâ¦
èªåç¨ã«ã¾ã¨ããéææ´æ° å 責äºé : çè ã¯ãããªãã«å¯¾ãã¦ä½ãä¿è¨¼ãã¾ãããçè ã¯ãããªãã«å¯¾ãã¦ä¸å責任ãè² ãã¾ããããã¹ã¦ã®ä½æ¥ã¯èªå·±è²¬ä»»ã§è¡ã£ã¦ä¸ããã ææ ã»ãã¥ãªã㣠ãã¼ãã¼ã¦ã©ã¬ãã>ç©çããã¤ã¹>>>ãã¹ã¯ãããã¦ã©ã¬ãã>>ã¢ãâ¦
ã¦ã£ã«ãã³ã½ã³ Dash Buttonãããã¯ããã¨ãã®åå¿é²ã Amazon Dash Buttonã®ã»ããã¢ãã ã¾ãã¯Amazon iOS/Androidã¢ããªã使ã£ã¦ãAmazon Dash Buttonã®ã»ããã¢ãããååé¸æã§ãã£ã³ã»ã«ãã¦ãããã¨ã«æ³¨æã MACã¢ãã¬ã¹ã®åå¾ ä½¿ç¨ããã®ã¯dash-butâ¦
nokogiriãã¤ã³ã¹ãã¼ã«ã§ããªã Gem::Ext::BuildError: ERROR: Failed to build gem native extension. An error occurred while installing nokogiri (1.6.8.1), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.6.8.1'` succeeâ¦