Skip to content

Instantly share code, notes, and snippets.

View nguyenvanduocit's full-sized avatar
🌴
On vacation

Duoc Nguyen nguyenvanduocit

🌴
On vacation
View GitHub Profile
{
"nodes":[
{"id":"a86a70132e89b263","type":"text","text":"Dưới đây là khung năng lực dành cho engineer, và đã được tôi revised lại do sự thay đổi quá đột ngột của AI\n\n| | | | | | | | | | | | | | | | |\n|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n|Nhóm Chức Năng <br>(Function)|Năng lực - VN|Năng lực - VN (Revised)|Năng lực - EN|Năng lực - EN (Revised)|Cấp độ 1|Cấp độ 1 (Revised)|Cấp độ 2|Cấp độ 2 (Revised)|Cấp độ 3|Cấp độ 3 (Revised)|Cấp độ 4|Cấp độ 4 (Revised)|Cấp độ 5|Cấp độ 5 (Revised)|Feedback from Expert|\n|Năng lực chuyên môn|Viết code||Coding||- Hiểu yêu cầu và mục tiêu của tính năng cần viết. <br>- Viết đúng, hoàn thành đúng yêu cầu và đạt được tiêu chuẩn testcase của Quality Control. <br>- Chưa hiểu tốt về các cấu trúc dữ liệu phức tạp hoặc cách viết mã hiệu quả.|Có khả năng hiểu và thực hiện các yêu cầu lập trình cơ bản: <br>- Thể hiện khả năng đọc và phân tích yêu cầu tính năng một cách đúng đắn <br>- Có thể viết code đáp ứng được các
{
"nodes":[
{"id":"19dca0c52863d4c2","type":"group","x":2360,"y":-2800,"width":2660,"height":2920,"label":"What about me"},
{"id":"99003164de855ebf","type":"group","x":-1719,"y":-1260,"width":1479,"height":670,"label":"Source"},
{"id":"238df76043c32dc0","type":"text","text":"# Topic: Software Engineer đang dần trở thành Product Engineer\n\nPhân tích, nghiên cứu mọi khía cạnh về việc chuyển đổi của software engineer/developer trở thành Product Engineer.\n\nĐểm xem đây xứng đáng không, có phải là yếu tố nhất thời hay không.","x":-1310,"y":-234,"width":581,"height":270,"color":"3"},
{"id":"c277b6f7d2ba9bde","type":"text","text":"Focus on delivery\nFocus on shipping when you are struggling with what to do next to be better as a software engineer. When you ship something new, users will try out your build and give you feedback. It may contain bugs. It may ship with the wrong flow implemented. It may ship with known issues. You may feel bad but and frustrated but those emotions will save you ton of time. T
@nguyenvanduocit
nguyenvanduocit / install-go.sh
Last active January 14, 2025 02:50
Auto install/upgrade golang
#!/bin/bash
set -e
# Function to detect OS and architecture
detect_platform() {
OS="$(uname -s)"
ARCH="$(uname -m)"
case "$OS" in
Danh sách thuật ngữ không dịch: Lean Software Development, DevOps, Agile, developer, development, tester, testing, team, Scrum, Kanban, Continuous Integration, Continuous Delivery, Continuous Deployment, Pipeline, Workflow, Feedback loop, Value Stream, Lead time, Cycle time, Sprint, Standup, Retrospective, Git, Version Control, Repository, Build, Deploy, Testing, Monitoring, Infrastructure as Code, Configuration Management, Throughput, Velocity, Burndown, Performance, Technical debt, Mean Time To Recovery (MTTR), Mean Time Between Failures (MTBF), Service Level Agreement (SLA), Service Level Objective (SLO), Service Level Indicator (SLI)
@nguyenvanduocit
nguyenvanduocit / lambda.go
Last active August 11, 2022 16:01
generic error
{
"errorMessage": "runtime error: invalid memory address or nil pointer dereference",
"errorType": "errorString",
"stackTrace": [
{
"path": "github.com/aws/[email protected]/lambda/errors.go",
"line": 39,
"label": "lambdaPanicResponse"
},
{
gst-launch-1.0 multifilesrc location="$ARTWORK_LOCATION" start-index=1 loop=true caps='image/jpeg,framerate=\(fraction\)7/1' \
! jpegparse \
! nvjpegdec ! 'video/x-raw' \
! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' \
! omxh264enc bitrate=4500\
! 'video/x-h264,stream-format=(string)byte-stream' \
! h264parse \
! flvmux streamable=true name=mux \
! rtmpsink location="$STREAM_LOCATION" multifilesrc location="$TRACKS_LOCATION" start-index=1 loop=true \
! mpegaudioparse \
apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
#!/bin/bash
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish -y
sudo chsh -s /usr/bin/fish
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
fish
@nguyenvanduocit
nguyenvanduocit / elementIO-table-to-csv.js
Created May 11, 2020 07:50
Export elementIO table to csv
export function exportElTable (elTableRef) {
const data = dataHandler(elTableRef)
console.log(data)
exportCSVFile(data, 'product-analysis')
}
function dataHandler (elTableRef) {
let columns = elTableRef.columns
let data = elTableRef.data
let outputData = []
TpOCM[GWh{SMTd/9whF@