As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
mysqldump --all-databases | gzip > /home/alldatabases.sql.gz |
class ApplicationController < ActionController::Base | |
# omitted stuff | |
private | |
# Used to correct content type for files uploaded with bulkupload or from PicMonkey | |
def correct_content_type_for_octet_stream(filedata) | |
return nil if filedata.blank? | |
# see what the unix file command thinks this is | |
if filedata.content_type == 'application/octet-stream' | |
filedata.content_type = type_from_file_command(filedata.path) | |
end |
As a developer, you will very likely work for a company that has a peer review process. While the specific process that a company uses may differ, there is one underlying goal - for you to write better code.
Why code reviews are important?
The code review process has multiple goals:
Ensure the team is staying up to date with changes in the code Ensure everyone is following the company approved style guide Better each others coding skills by creating discussion around different methods, or solutions Ensuring good documentation