Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tucq88's full-sized avatar
🎯
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
@tucq88
tucq88 / transaction-fee-with-gas-and-gwei.md
Last active August 24, 2018 03:51
Transaction Fee 101

tx-pool-infographic

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
tucq88 / tutorial.md
Created August 2, 2018 15:02 — forked from swalkinshaw/tutorial.md
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
tucq88 / studio-commandments.md
Created July 24, 2018 16:24
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.

Ref: https://superyesmore.com/studio-commandments-a5300cdf50b8a30ec909955b119f9174

@tucq88
tucq88 / simple_helpers.php
Created November 15, 2017 08:35
Simple PHP Helpers
<?php
function dump()
{
//
}
function dd()
{
//
}
@tucq88
tucq88 / .csscomb.json
Created October 27, 2017 04:08 — forked from Yimiprod/.csscomb.json
smacss definition for scss-lint and csscomb
{
"exclude": [
".git/**",
"node_modules/**"
],
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": false,
@tucq88
tucq88 / simple-git-workflow-for-rapid-development.md
Last active October 12, 2023 04:47
Simple Git Workflow for Rapid Development

As a lean team, so we've optimized Git-flow to be more simple and have it fits with our team size and project complexities better

We gonna have 3 primary types of branches: master branch, staging branch and features branches, which are:

  • Brach master is latest version of workable product. Each increaments will be merged to master after sprint is finished. And it's always release-able.

  • Branch staging is branched-off from master. When new iteration is started, it will reset to latest master's state. And dev team will use this branch to demo their work.

@tucq88
tucq88 / engineer-workflow.md
Created October 21, 2017 17:52
Engineer Workflow

Engineer Workflow

Collaboration

  • We're practising Scrum seriously with certificated Scrum Master in our team.
  • We put ownership in all products we build, so we value collaboration with customers for helping us understand each others.
  • For projects management: We prefer Jira, Trello. But still very familiar with Teamworks, Basecamp...
  • For communication: Skype and Slack (I think they're best-and-only choices)
  • For source control: We use Git and prefer Github to Bitbucket or Gitlab.
@tucq88
tucq88 / list.txt
Created September 21, 2017 02:50
De-procrastinate
# News
kenh14.vn
dantri.vn
vnexpress.net
genk.vn
tinhte.vn
nhattao.vn
# Social
www.facebok.com
@tucq88
tucq88 / javascript-arrays-loop.md
Created August 16, 2017 09:20
Javascript Arrays Loop
  • Return one thing for each existing thing: map()
  • Return only some of the existing things: filter()
  • Return only one new thing: reduce()
  • Don't return anything, but do something with each existing thing: forEach()

Ref: https://dev.to/andrew565/which-array-function-when

@tucq88
tucq88 / Meetup with 3T Angular team.md
Last active June 1, 2017 07:23
Meetup with 3T Angular team

Meetup with 3T Angular team

Introduction

I'm Tu - from Hanoi. I'm full-stack developer. You could find me @tucq88 (Skype, Twitter, Github - whatever you want)

Current issues

  • Not using angular-cli
  • Not isolate build files and source ones