Starting a personal node project could be easy; starting a team node project could be challenging.
I am a developer currently working in SEEK Australia.
In my experience, common mistakes developer make when starting a projects are:
- No Linting
Starting a personal node project could be easy; starting a team node project could be challenging.
I am a developer currently working in SEEK Australia.
In my experience, common mistakes developer make when starting a projects are:
You know the pain, you cloned a repo over HTTPS, and now Git asks you for your password each time you want to push or pull.
Chances are you already have the git credential-osxkeychain command installed.
If not, just install Git with brew: brew install git.
Once installed, just tell Git to use the KeyChain to store your credentials:
git config --global credential.helper osxkeychain
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
| module GoBuild | |
| extend self | |
| def build(file) | |
| process = ChildProcess.build('go', 'build', file) | |
| err = Tempfile.new('stderr-spec') | |
| process.io.stderr = err | |
| process.start | |
| process.poll_for_exit(10) | |
| err.rewind |
| class DatabaseController < ApplicationController | |
| def database_dump | |
| database = Rails.configuration.database_configuration[Rails.env]["database"] | |
| send_file_headers!(:type => 'application/octet-stream', :filename => "#{database}_#{Time.now.to_s(:human)}.backup") | |
| pipe = IO.popen("pg_dump '#{database}' -F c") | |
| stream = response.stream | |
| while (line = pipe.gets) | |
| stream.write line | |
| sleep 0.0001 # HACK: Prevent server instance from sleeping forever if client disconnects during download |