Skip to content

Instantly share code, notes, and snippets.

View haog1's full-sized avatar
🚀

Tony Gao haog1

🚀
  • Atlassian
  • Melbourne, Australia
View GitHub Profile
@haog1
haog1 / clean-architecture-notes.md
Created October 7, 2020 22:22
Clean Architecture Notes

Clean Architecture Notes

@haog1
haog1 / clean-code-notes.md
Created October 7, 2020 22:22
Clean Code Notes

Clean Code Notes

#Considerations

1. Cost of Migrations

  • New user learning curve
  • Need to create/invite new accounts

2. Cost of Using existing platform

  • Bugs & Quirks
  • Need to downgrade to the free plan to continue to use it (No longer supporting churches)
  • Limited groups of 50 for free plan
  • Limited file storage per person of 5GB for free plan
  • No suvery function available anymore
@haog1
haog1 / css-trick-1.md
Last active October 7, 2020 22:18
CSS Tricks 1 - Center an element

CSS Tricks Series 1 - Basics

1. Center an element

#Using position:absolute

postion: absolute;
top: 50%;
left: 50%;
@haog1
haog1 / ssr-and-local-storage.md
Created April 9, 2020 02:03
SSR and local storage

SSR and Local storage

@haog1
haog1 / .zshrc
Last active January 13, 2022 07:17
zsh commands
# Change host name
export PS1="tg$ "
# General shortcuts
alias cler="clear"
alias claer="clear"
alias clr="clear"
alias vizsh="vi ~/.zshrc"
alias sbzsh="subl ~/.zshrc"
alias flu="source ~/.zshrc"
@haog1
haog1 / explain.md
Created November 7, 2018 06:08
How do you handle cookies and cache when there are 3 sites sharing 2 domains

will come back to this

@haog1
haog1 / cloudSettings
Last active September 29, 2019 04:11
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-09-07T05:36:55.796Z","extensionVersion":"v3.4.2"}
@haog1
haog1 / overrides.scss
Created September 23, 2018 23:40
Bootstrap layout override
/**
* ================== Bootstrap Overrides ==================
*
* Perferred to override bootstrap default behaviours in
* our own files.
*
*/
// Grid breakpoints
//
@haog1
haog1 / key-bindings.json
Last active October 24, 2018 02:26
Sublime colour theme
[
{ "keys": ["super+d"], "command": "duplicate_line" },
]