[STATUS (WIP/HOLD/READY)] - [TICKET_ID] - NAME OF PULL REQUEST
Link to JIRA’s User Story
Description - It might be same as user story, but sometimes, they might be different. For example: This PR is just a small part of User Story.
CREATE OR REPLACE FUNCTION vessels_arrival_departure_time(imos text[], | |
since timestamp without time zone default null, | |
port_locode text default null) | |
RETURNS TABLE(port_vessels_id int, imo varchar, mmsi varchar, | |
vessel_name varchar, voyage_number jsonb, | |
port_locode varchar, event_name varchar, | |
event_time timestamp without time zone | |
) AS $$ | |
SELECT pv.id, v.imo, v.mmsi, |
{ | |
"customer": { | |
"id": 59, | |
"first_name": "North Customer", | |
"last_name": "TGM STAP2 Completed", | |
"email": "north_customer_tgm_stap2_completed@tgm.vn", | |
"gender": "male", | |
"birthdate": "1991-04-17", | |
"phone": "06546465", | |
"address": null |
----- BEGIN LICENSE ----- | |
MinBan | |
Single User License | |
EA7E-806395 | |
318133A3 8F202A61 B0DBB8EB 21E17D2E | |
97D540E6 34079344 54620650 71E47589 | |
9EF87857 345F5042 0D728DD1 8D8C979D | |
6A4F4DD2 67BB0345 746CA297 515BDA91 | |
6CEAB381 4DB56700 D77DCD14 977BD326 | |
1AC309ED 0EB414B8 4730DA10 99DBD291 |
app = angular.module("myBookshelf", ["ngResource", "ui.router", "ui.bootstrap"]) | |
app.config ['$httpProvider', ($httpProvider) -> | |
$httpProvider.defaults.headers.common['X-CSRF-Token'] = $('meta[name=csrf-token]').attr('content') | |
$httpProvider.defaults.headers.common.Accept = 'application/json' | |
] | |
app.factory "Book", ($resource) -> | |
$resource("/books/:id", { id: "@id" }, { | |
update: { method: "PUT" } |
./configure --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --without-http_empty_gif_module --without-http_rewrite_module --without-http_autoindex_module --without-http_ssi_module --without-http_scgi_module --with-http_realip_module --without-http_uwsgi_module --without-http_fastcgi_module --with-file-aio --with-http_stub_status_module --with-http_gzip_static_module |
#user nobody; | |
#Defines which Linux system user will own and run the Nginx server | |
worker_processes 1; | |
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores. | |
#error_log logs/error.log; #error_log logs/error.log notice; | |
#Specifies the file where server logs. |
Bởi vì User Root có quyền tối cao trên hệ thống nên sẽ rất nguy hiểm nếu sử dụng thường xuyên tài khoản root, do đó, ta nên add thêm một User khác và đăng nhập SSH vào User này, thay cho root. Để an toàn hơn, chúng ta sẽ bỏ luôn việc đăng nhập SSH bằng mật khẩu mà chỉ cho đăng nhập bằng ssh public key của máy.
Bước 1 - Đăng nhập vào tài khoản root, Thêm một User mới
ssh root@ip_address
useradd viphat
git checkout ae72740612bc -- vendor/assets/bower_components/moment/ |