Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service nginx start | |
sudo systemctl restart nginx.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"\u00e1\u00bb\u00a3": "ợ", | |
"\u00e1\u00bb\u009b": "ớ", | |
"\u00e1\u00bb\u0085": "ễ", | |
"\u00c3\u00a0": "à", | |
"\u00c6\u00a1": "ơ", | |
"\u00e1\u00bb\u0083": "ể", | |
"\u00c5\u00a9": "ũ", | |
"\u00c6\u00b0": "ư", | |
"\u00c3\u00ba": "ú", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var electronInstaller = require('electron-winstaller'); | |
resultPromise = electronInstaller.createWindowsInstaller({ | |
appDirectory: './dist/build/Release/app-win32-ia32', | |
outputDirectory: './dist/', | |
exe: 'app.exe', | |
setupExe: 'app.exe', | |
noMsi: true, | |
authors: 'vubui', | |
description: 'App' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
dist/ | |
yarn.lock | |
wwwroot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |
Một số kĩ thuật viết SCSS đảm bảo tính tái sử dụng, đóng gói và dễ maintain:
I. Một số "lỗi" thường gặp khi viết SCSS
a. 2 component có view giống y hệt nhau nhưng thực sự chúng là 2 component khác nhau và cần phải viết CSS riêng
=> Nhầm tưởng là một và dùng chung CSS
=> quá nhiều global css và sửa chỗ này hỏng chỗ khác
having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html
, .js
etc.) in a browser via http://
.
if you're not sure whether or not you have a web server running, no problem! its easy to confirm.
what happens when you visit http://localhost/?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default TEST = { | |
createdAt: '2019/12/11 00.00.000', | |
updatedAt: '2019/12/11 00.00.000', | |
publishAt: '2019/12/11 00.00.000', | |
views: 1000, | |
taken: 100, | |
homeworkId: Object('12345'), | |
name: 'Listening test', | |
description: 'This test get from ABC IELTS book', | |
type: 'reading || listening || writing', |