Skip to content

Instantly share code, notes, and snippets.

View trungpq163's full-sized avatar
🌸
こんにちは

Trung Phan trungpq163

🌸
こんにちは
View GitHub Profile
@trungpq163
trungpq163 / workbench.colorCustomizations.json
Created March 7, 2020 06:40 — forked from jacklorusso/workbench.colorCustomizations.json
A list of all Visual Studio Code customizable colors, grouped by UI region. Copy and paste into User Settings (comments are allowed) to tweak an existing theme or work on your own.
"workbench.colorCustomizations": {
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast.
"contrastActiveBorder": "",
"contrastBorder": "",
// Base Colors
"focusBorder": "",
"foreground": "",
"widget.shadow": "",
"selection.background": "",
"descriptionForeground": "",
@trungpq163
trungpq163 / gist:f39081fdba71f079e61e5fa4064d3b45
Created April 3, 2020 00:12 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@trungpq163
trungpq163 / index.js
Created May 24, 2020 09:43 — forked from akexorcist/index.js
Axios post method requesting with x-www-form-urlencoded content type
const axios = require('axios')
const qs = require('querystring')
...
const requestBody = {
name: 'Akexorcist',
age: '28',
position: 'Android Developer',
description: 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/',
@trungpq163
trungpq163 / reactjs-interview-tips.md
Created July 7, 2020 02:47 — forked from paulnguyen-mn/reactjs-interview-tips.md
Bí kíp cho buổi phỏng vấn ReactJS thành công 🎉

Bí kíp cho buổi phỏng vấn ReactJS thành công 🎉

From unplash.com

AGENGA:

  1. Một vài lưu ý chung
  2. Ôn tập kiến thức JS/ReactJS
  3. Cày thuật toán, giải thuật
  4. Tìm hiểu về công ty mà mình xin ứng tuyển
@trungpq163
trungpq163 / git-end-to-end-commands.md
Created January 31, 2021 12:24 — forked from paulnguyen-mn/git-end-to-end-commands.md
Những lệnh git sử dụng từ lúc nhận task cho đến khi tạo PR 😍

GIT - CÁC LỆNH ĐƯỢC DÙNG TỪ LÚC NHẬN TASK CHO TỚI LÚC TẠO PR 🎉

0. Nhận task, ví dụ ở đây task có id là 123

  • Tí nữa, đọc thấy tạo nhánh có số 123 thì các bạn hiểu ngầm nó chính là taskId nhen.
  • Ví dụ team mình dev trên nhánh develop.

1. Lấy code mới nhất trên branch develop

@trungpq163
trungpq163 / stringify.js
Created April 21, 2021 05:34 — forked from cowboy/stringify.js
JavaScript: like JSON.stringify but handles functions, good for creating arbitrary .js objects?
var stringify = function(obj, prop) {
var placeholder = '____PLACEHOLDER____';
var fns = [];
var json = JSON.stringify(obj, function(key, value) {
if (typeof value === 'function') {
fns.push(value);
return placeholder;
}
return value;
}, 2);
@trungpq163
trungpq163 / encode_decode_hmac.js
Created January 6, 2022 11:13 — forked from fictorial/encode_decode_hmac.js
encode / decode with hmac for node.js
// note: encoded data is NOT encrypted
const crypto = require('crypto');
const secret = '20BBEBB8-DCC1-4544-AD32-7F3973CCED7A';
function createDigest(encodedData, format) {
return crypto
.createHmac('sha256', secret)
.update(encodedData)
.digest(format);
@trungpq163
trungpq163 / golang_job_queue.md
Created June 2, 2022 03:44 — forked from harlow/golang_job_queue.md
Job queues in Golang