這陣子在臺灣面試蠻多份工作的經驗,以及跟幾位朋友交流,覺得臺灣網路上一些人一直鼓吹有志從事軟體工程師職業的人做作品集,太誇大做作品集然後得到
read more這陣子在臺灣面試蠻多份工作的經驗,以及跟幾位朋友交流,覺得臺灣網路上一些人一直鼓吹有志從事軟體工程師職業的人做作品集,太誇大做作品集然後得到
read moreDuring these years, Taiwan counters problems of long-term caring, unemployment and foreign investment. Also, there are many medias, which supported secretly by parties, enterprises and maybe other nations, aggressively critising actions and behaviors of the government’s policies and politicians. I take near 4 months to seek a job of software engineering in central Taiwan. I want to share my proposed solutions for these problems during this seeking period. Enforce the
read more項目名(代碼/品名 種類) 錯誤型態說明 錯誤發生日期 C1柑橘 在台北一之後沒有交易市場和天氣資訊 19960423 O2梨 秋水梨 沒有交易市場資訊,只有天氣資訊 19960811 S1
read moreBelow execution environment is at Ubuntu 14 LTS. rvm cron setup #sm start rvm example PATH="/usr/local/rvm/gems/ruby-2.3.0/bin:/usr/local/rvm/gems/ruby-2.3.0@global/bin:/usr/local/rvm/rubies/ruby-2.3.0/bin:/usr/local/rvm/gems/ruby-2.3.0/bin:/usr/local/rvm/gems/ruby-2.3.0@global/bin:/usr/local/rvm/rubies/ruby-2.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/rvm/bin" GEM_HOME='/usr/local/rvm/gems/ruby-2.3.0' GEM_PATH='/usr/local/rvm/gems/ruby-2.3.0:/usr/local/rvm/gems/ruby-2.3.0@global' MY_RUBY_HOME='/usr/local/rvm/rubies/ruby-2.3.0' IRBRC='/usr/local/rvm/rubies/ruby-2.3.0/.irbrc' RUBY_VERSION='ruby-2.3.0' #sm end rvm example change from shell to bash shell SHELL=/bin/bash # you definie your own crontab job 0 0 * * * . $HOME/.profile; cd /directory/you/want/toexecute; ruby /path/to/yourfile.rb parameter1 parameter2 ...etc > /dev/null 0 1 * * * . $HOME/.profile; cd /directory/you/want/toexecute; ruby /path/to/yourfile.rb `date -d "yesterday" "+%F"`
read moreSituation: After trying to use slick plugin of jquery using log-in user, I want to sign out. The screen shows 'No routes matches '/users/sign_out' ' when I click the link of sign-out. Before trying slick plugin, /users/sign_out route of devise gem works as normal. Cause: The addtional js jquery-migrate-min, which required for slick plugin, makes rails misunderstood original route for /users/sign_out . Environment: Rails 4.2.5.1, Devise 3.5.5, Jquery-migrate-rails 1.2.1 Solution:
read moreThis article works for both of production and development environment and not like other articles only work for development. The tested environment are Rails 4.2.5.1, Ruby 2.3.0, Doorkeeper 3.1.0, Grape 0.14.0, Grape-kaminari 0.1.8, Wine_Bouncer 0.5.1 and Devise 3.5.5 . 1. Sample configuration for Grape gem in Rails app projects. 列出Grape gem的設定檔範例 In config/application.rb, add below two
read more