preloader
軟體工程 CoffeeScript gets URL parameters for HTML select tags' multiple options

Use CoffeeScript and JQuery to bind click event at website for getting parameters of a form at URL. In someone.js.coffee file. The following example is modified from reference 1,2,3 and 4 to meet my need. get_parameters_from_url = -> aryParams = {} # Initial an empty object rawVars = window.location.search.substring(1).split("&") #window is used to getting global variables of browsers in coffeescript. location.search is the query string at URL including the question

read more
軟體工程 Event-handling and function with JQuery in CoffeeScript | 在CoffeeScript裡使用JQuery Event-handling

Wanna use functions, which are defined in files of coffeescript language, to change one of CSS attributes such as display when an user clicking a button or element at a web page? You can follow below instructions. At side of web page, for example: Write down a button of HTML 5 for triggering event <button type="button" name="btn-veggie-list" class="btn-veggie-list">Veggie list</button> Target HTML. For example, it’s an unordered list for items in

read more
軟體工程 Let Devise gem to send mail for changing password and registering | 讓Devise在Rails專案上線環境具備寄信的能力

Instructions for installing and configuring sendmail software with action_mailer of rails in Ubuntu. It might be some complicated. 在 Ubuntu 安裝與設定 sendmail 可能會令人覺得複雜,以下是安裝與設定指引: Below statements are for development machines. 以下屬於開發環境機器的設定: Check below option

read more
軟體工程 Associate Devise with Doorkeeper gem for OAuth | 結合Devise帳戶認證和Doorkeeper的OAuth Client認證

If you want to associate your user model, which are built by Devise gem, with OAuth clients, which are authenticated and authorized by Doorkeeper gem, you should follow below instructions. Below instructions come from wiki pages of Doorkeeper gem. Command for Database changes rails generate doorkeeper:application_owner rake db:migrate Configuration at config/initializers/doorkeeper.rb Uncomment or add this statement into block of Doorkeeper.

read more
心得 Deploy Notice for Ruby on Rails app beginner | 部署Ruby on Rails app應學習的事情

This article is written for Rails beginners when he/she want to deploy an app. From my experience, many things must be noticed and fixed, whose range from Ubuntu, RVM, Apache, Passenger, Postgres, Git, Capistrano and GitHub.com. The following are indexes for problems, solutions and resources I had faced. It might evolve with times change. Ubuntu List packages you have installed to a machine. Command: dpkg -l | grep {packageFullnameorPartname} Change

read more
軟體工程 Remove sensitive information from your git repository | 從Git 專案移除掉敏感資訊

If you accidently add sensitive information to your repository like password and detailed configurations, you should use follow command to remove them from the repository. More than that, you should change sensitive information for remote machines with your colleagues. Substitute names of other files you want with below text within background color is gray. 如果你不小心放入敏感資訊到你的G

read more

About

Howard Lee, Frontend-engineer with Angular 7+, Typescript, ReactJS, VueJS. Flutter, Dart, PHP, Ruby, JavaScript, HTML, SASS, CSS, Postgres, MySQL, Web Developer. Have a certificate of AWS Solution Architect Associate with verify number: 8FYNL55LCEEQ10W5. You can verify at AWS Certificate site or Credly site Tech lead role Lead 4 colleagues to build products and infrastructure Coordinate schedule of delivering products Senior web frontend developer role Products Form-filling, form-sharing, file-management, repair-managemnt and project-management for construction industry at Suiqui IoT management and EC platform for Liquid Petroleum Gas(LPG) at Wave-In Comm.

Know More

Tag

Social