Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Jeong crowjdh

View GitHub Profile
View on_the_fly_layout.json
[
{
"type": "menu_section_1",
"elements": [
[
{
"image": "https://univ.go.kr/static/v1.0.1/images/news.png",
"background": "#ffffff",
"text": "대학공지",
"action": "some-app-action-id"
@crowjdh
crowjdh / UaaL.md
Last active Jul 15, 2020
How to setup Unity as a Library(for iOS/Android) with Vuforia
View TIPS_FOR_USING_TMUTIL.md

$ sudo tmutil listbackups
$ sudo tmutil uniquesize "/Volumes/Time Machine/Backups.backupdb/YOUR_MACHINE_NAME/BACKUP_NAME"
$ sudo tmutil calculatedrift "/Volumes/Time Machine/Backups.backupdb/YOUR_MACHINE_NAME/"

@crowjdh
crowjdh / THINGS_I'V_LEARNED.md
Last active Jan 15, 2020
This may contain numerous errors. DO NOT treat this article as a reliable source of learning.
View THINGS_I'V_LEARNED.md

Ethereum

Overview

  • Blockchain
    • What it is: Hash-based growing list of blocks, commonly implemented using merkle-tree
    • Why: Data integrity, no double-spending, no central point of failure
    • How: Using public-private cryptography. Using public key as an identity of asset owner and private key as a proof of ownership(right to do action on the asset)
  • EVM
    • Public blockchain-based distributed computing platform using smart contract.
  • Solidity and smart contract
View Enable eth for Centos 7
# Check connection status
$ nmcli d
# Edit network setting via tui
$ nmtui
# Restart network service
$ service network restart
@crowjdh
crowjdh / Troubleshooting_IstanbulJS.md
Created Oct 27, 2019
Things to try when IstanbulJS is not working(zero coverage)
View Troubleshooting_IstanbulJS.md

Things to try when it's not working(npm run coverage):

  • Try removing node_modules and .nyc_output directory and run npm install
  • Use different version of binaries
    • NodeJS version: v12.13.0
    • NPM version: 6.12.0
    • NPX version: 6.12.0
  • Add --exit option to MochaJS
  • Add cache option to .nycrc file
View h264-to-mp4.md
$ ffmpeg -i input.h264 -c:v libx264 -c:a copy output.mp4
View library-loading-error-when-using-sqlplus.md

Symptom:

# sqlplus
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

Solution:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/12.1/client64/lib

You can’t perform that action at this time.