Skip to content

Instantly share code, notes, and snippets.

Fake it till you make it. Confidence is more important than knowledge.

Tu Chu tucq88

Fake it till you make it. Confidence is more important than knowledge.
View GitHub Profile
View gist:d5c8ac5e5197fb72069696718172fe78
tucq88 / crontab
Last active Aug 14, 2020
Nginx config for Sendy. With Ubuntu@18.04, php@7.3, nginx@1.14.0
View crontab
# sudo crontab -e
*/1 * * * * php /var/www/html/sendy//import-csv.php > /dev/null 2>&1
*/5 * * * * php /var/www/html/sendy//scheduled.php > /dev/null 2>&1
*/1 * * * * php /var/www/html/sendy//autoresponders.php > /dev/null 2>&1
tucq88 /
Created Sep 12, 2019
My learning about RxJS

Learning RxJS


  • Reactive programming is programming with asynchronous data streams, also deal with synchronous.
    • A stream is a sequence of ongoing events ordered in time, that can emit:
      • Value,
      • Error,
      • Completed signal
  • Everything could be considered as a stream: Single value, Array, Event, etc

Keybase proof

I hereby claim:

  • I am tucq88 on github.
  • I am tucq88 ( on keybase.
  • I have a public key ASBh_OYPN972zWlq6HGDHS4xCfaM83ExmFm_HXZ5825Miwo

To claim this, I am signing this object:

tucq88 /
Created Oct 17, 2018 — forked from aurorabbit/
Bitbar timely progress bar
# add this to your bitbar directory
# don't forget to chmod +x
# width and characters for the progress bars
# feel free to configure these
tucq88 / example-links.txt
Last active Oct 17, 2018
SafariBook Links Process #safari #books #links
View example-links.txt


When you

  • send tokens,
  • interact with a contract,
  • send ETH,
  • or do anything else on the blockchain,

You must PAY for that computation. That payment is calculated in Gas and gas is paid in ETH.

tucq88 /
Created Aug 2, 2018 — forked from swalkinshaw/
Designing a GraphQL API

Tutorial: Designing a GraphQL API

This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.

It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.

tucq88 /
Created Jul 24, 2018
Personal Studio Commandments
  1. Learn something (Reading, Watching) from 05-25 minutes before start working.
  2. Prepare today TODO list a day before
  3. Break work into measurable pieces and work in (multiple) 1 hour session(s)
  4. Be human and healthy by getting up, go around, take a walk and talk with people
  5. You don't need inspiration to start anything. Just do it.


View simple_helpers.php
function dump()
function dd()