Skip to content

Instantly share code, notes, and snippets.

View sluongng's full-sized avatar
🚀
FUSE + Monorepo is the next k8s

Son Luong Ngoc sluongng

🚀
FUSE + Monorepo is the next k8s
View GitHub Profile
@sluongng
sluongng / PullRequestTemplate.md
Last active April 30, 2017 09:39
MD template for pull request comment

What did you implement:

Closes #XXXXX

How did you implement it:

Refactored the getElement() method

How can we verify it:

@sluongng
sluongng / Cart.js
Last active May 8, 2017 16:36
lzd-cart-project
/**
* Created by NB on 5/7/2017.
*/
import React, {Component} from "react";
import {withRouter} from "react-router-dom";
import {
ControlLabel,
FormControl,
FormGroup,
@sluongng
sluongng / README.md
Last active August 12, 2018 09:22
Example request to get job listing information from VNWork
@sluongng
sluongng / events.log
Created April 13, 2020 17:07
Git Trace2 Event Stuck
{
"event": "version",
"sid": "20200413T170337.578690Z-Hf8bd5587-P0000bff3",
"thread": "main",
"time": "2020-04-13T17:03:37.579433Z",
"file": "common-main.c",
"line": 48,
"evt": "2",
"exe": "2.26.0"
}
@sluongng
sluongng / Perf Trace2
Last active May 1, 2020 08:08
Seg fault when git fetch
% GIT_TRACE2_PERF=1 git pull
10:02:43.890830 common-main.c:48 | d0 | main | version | | | | | 2.26.2.651.g4d7c6debf3
10:02:43.891034 common-main.c:49 | d0 | main | start | | 0.003299 | | | git pull
10:02:43.891621 repository.c:134 | d0 | main | def_repo | r1 | | | | worktree:/usr/local/git_tree/foo-bar
10:02:43.892843 git.c:442 | d0 | main | cmd_name | | | | | pull (pull)
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:
git config pull.rebase false # merge (the default strategy)
@sluongng
sluongng / test (macos-latest, run_external_tests.sh, latest)
Created June 23, 2023 07:33
grail/bazel-toolchain fail without dynamic_lookup
2023-06-22T21:19:00.3800066Z Requested labels: macos-latest
2023-06-22T21:19:00.3800386Z Job defined at: grailbio/bazel-toolchain/.github/workflows/tests.yml@refs/pull/202/merge
2023-06-22T21:19:00.3800585Z Waiting for a runner to pick up this job...
2023-06-22T21:19:00.8706519Z Job is waiting for a hosted runner to come online.
2023-06-22T21:19:09.6760057Z Job is about to start running on the hosted runner: GitHub Actions 12 (hosted)
2023-06-22T21:19:12.8932740Z Current runner version: '2.305.0'
2023-06-22T21:19:12.8973970Z ##[group]Operating System
2023-06-22T21:19:12.8974550Z macOS
2023-06-22T21:19:12.8974760Z 12.6.6
2023-06-22T21:19:12.8975470Z 21G646
@sluongng
sluongng / temp.txt
Created August 13, 2024 11:23
Go Build log
WORK=/var/folders/ly/gjsqx9wd0cv1ck7xdslrt6t00000gn/T/go-build2643562791
mkdir -p $WORK/b060/
mkdir -p $WORK/b007/
echo '# import config' > $WORK/b007/importcfg # internal
cd /Users/sluongng/work/misc/test-go
/opt/homebrew/Cellar/go/1.22.6/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/goarch -std -complete -buildid l_Ft6jIJsEZxO3Ce3f3e/l_Ft6jIJsEZxO3Ce3f3e -goversion go1.22.6 -shared -nolocalimports -importcfg $WORK/b007/importcfg -pack /opt/homebrew/Cellar/go/1.22.6/libexec/src/internal/goarch/goarch.go /opt/homebrew/Cellar/go/1.22.6/libexec/src/internal/goarch/goarch_arm64.go /opt/homebrew/Cellar/go/1.22.6/libexec/src/internal/goarch/zgoarch_arm64.go
/opt/homebrew/Cellar/go/1.22.6/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b007/_pkg_.a # internal
cp $WORK/b007/_pkg_.a /Users/sluongng/Library/Caches/go-build/09/092cc7fb71dc5cca1b0ff63cd9f913fe8cb211a1dc0ba97080c8f7763311365f-d # internal
mkdir -p $WORK/b006/
echo -n > $WORK/b006/go_asm.h # internal