Skip to content

Instantly share code, notes, and snippets.

View sunghwanJo's full-sized avatar

luman sunghwanJo

  • Clbak
  • Seoul in Korea
View GitHub Profile
@tbfleming
tbfleming / main.abi
Last active October 20, 2021 14:06
cib eos demo: Track incoming funds
{
"structs": [{
"name": "withdraw",
"base": "",
"fields": [
{"name":"user", "type":"account_name"}
]
},{
"name": "balance",
"base": "",
@lopspower
lopspower / README.md
Last active June 25, 2026 05:38
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@staltz
staltz / introrx.md
Last active June 23, 2026 21:33
The introduction to Reactive Programming you've been missing
@Kartones
Kartones / postgres-cheatsheet.md
Last active June 26, 2026 07:51
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@gre
gre / easing.js
Last active June 11, 2026 04:06
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {