Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🛠️ building

Carl Dong dongcarl

💭
🛠️ building
View GitHub Profile
@dongcarl
dongcarl / typescript
Created Jun 10, 2019
escaping should be added to list of hardest things in computer science
View typescript
[dongcarl@dai tar-testing]$ REFERENCE_DATE=2019-01-01
[dongcarl@dai tar-testing]$ REFERENCE_TIME=00:00:00
[dongcarl@dai tar-testing]$ export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
[dongcarl@dai tar-testing]$ echo $TAR_OPTIONS
--mtime=2019-01-01\ 00:00:00
[dongcarl@dai tar-testing]$ tar -cf in.tar in/
[dongcarl@dai tar-testing]$ tar tvf in.tar
drwxr-xr-x dongcarl/dongcarl 0 2019-01-01 00:00 in/
-rw-r--r-- dongcarl/dongcarl 0 2019-01-01 00:00 in/hello
[dongcarl@dai tar-testing]$ unset TAR_OPTIONS
@dongcarl
dongcarl / 8a503a6.err
Created Jun 10, 2019
Comparison of stdout and stderr of `make -j(nproc) V=1 xtrans_built` {pre,post}- #16183
View 8a503a6.err
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
17 178k 17 32768 0 0 39670 0 0:00:04 --:--:-- 0:00:04 39622
100 178k 100 178k 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k
configure: WARNING: unrecognized options: --with-pic, --disable-shared
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
@dongcarl
dongcarl / ldd (just x86_64)
Created Jun 10, 2019
Guix-produced Bitcoin Binaries dynamicism
View ldd (just x86_64)
distsrc-x86_64-linux-gnu/installed/bitcoin-0.18.99/bin/test_bitcoin:
linux-vdso.so.1 (0x00007ffce5960000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7b95053000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f7b95049000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f7b94f03000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f7b94ee9000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f7b94d24000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7b960d5000)
distsrc-x86_64-linux-gnu/installed/bitcoin-0.18.99/bin/bitcoind:
linux-vdso.so.1 (0x00007ffebd793000)
View keybase.md

Keybase proof

I hereby claim:

  • I am dongcarl on github.
  • I am dongcarl (https://keybase.io/dongcarl) on keybase.
  • I have a public key ASCNifu_86QNwHpOEYKDBDUHCDVVuSoKC3iBqlFoGKwKogo

To claim this, I am signing this object:

@dongcarl
dongcarl / # llvm - 2015-12-04_20-45-13.txt
Created Dec 5, 2015
llvm on OS X 10.11 - Homebrew build logs
View # llvm - 2015-12-04_20-45-13.txt
Homebrew build logs for llvm on OS X 10.11
Build date: 2015-12-04 20:45:13