Skip to content

Instantly share code, notes, and snippets.

💭
I would like GitHub back plz

David Hong hongymagic

💭
I would like GitHub back plz
  • Akunca Capital
  • Sydney, Australia
Block or report user

Report or block hongymagic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hongymagic
hongymagic / remap.ahk
Created Feb 17, 2019
Windows 10 key remap
View remap.ahk
; Natural scrolling of the mouse wheels
WheelUp::WheelDown
WheelDown::WheelUp
; Remap Caps Lock to something more useful
CapsLock::Escape
@hongymagic
hongymagic / kubeui.sh
Last active Aug 1, 2017
Starting Kubernetes UI for current gcloud setup
View kubeui.sh
kubeui () {
PROJECT=${1:-$(gcloud config list --format 'value(core.project)' 2>/dev/null)}
CLUSTER=${2:-$(gcloud config list --format 'value(container.cluster)' 2>/dev/null)}
ZONE=${3:-$(gcloud config list --format 'value(compute.zone)' 2>/dev/null)}
echo "==> Starting Kubernetes UI for cluster $PROJECT/$CLUSTER in $ZONE..."
gcloud container clusters get-credentials $CLUSTER --project $PROJECT --zone $ZONE && kubectl proxy --port=0
}
@hongymagic
hongymagic / settings.json
Created Jun 6, 2017
VSCode workspace settings
View settings.json
{
"editor.cursorBlinking": "solid",
"editor.cursorStyle": "block",
"editor.folding": false,
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 18,
"editor.lineHeight": 54,
"editor.lineNumbers": "relative",
"editor.renderIndentGuides": true,
View README.md

This gist holds image assets for K2.

View keybase.md

Keybase proof

I hereby claim:

  • I am hongymagic on github.
  • I am hongymagic (https://keybase.io/hongymagic) on keybase.
  • I have a public key ASBWSCI8ECscypqkQ9r9BVAprZAJg6NDe4XNgJHSzVjlvQo

To claim this, I am signing this object:

View settings.json
{
"editor.cursorBlinking": "solid",
"editor.cursorStyle": "block",
"editor.folding": false,
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 18,
"editor.lineHeight": 54,
"editor.lineNumbers": "relative",
"editor.renderIndentGuides": true,
View gist:d4c4d8e94789195f26345e6b99f55d38
### Roster
Players named in preferred order.
1. flux-
2. never say never
3. arislayer, Trojan
4. crazybrodd
5. Trojan, arislayer, hazrold
@hongymagic
hongymagic / employement_hero_add_timesheet.js
Last active Jul 11, 2016
Add timesheet entries into Employement Hero from console
View employement_hero_add_timesheet.js
const add_timesheet_entry = (date) => {
const form = {
"utf8": "✓",
"timesheet_entry[created_by]": <your employment hero user id>,
"timesheet_entry[date]": `${date.getDate()}/${date.getMonth() + 1}/${date.getFullYear()}`,
"timesheet_entry[start_hm]": "9:00 AM",
"timesheet_entry[end_hm]": "5:00 PM",
"timesheet_entry[units]": "",
"timesheet_entry[member_id]": "<your employment hero user id>",
"timesheet_entry[work_type_id]": "",
View react.md

React style guide

Follow the normal Javascript style guide - including the 80 character line limit. In addition there are several React-specific rules.

In addition to these style rules, you may also be interested in React best practices.


Syntax

@hongymagic
hongymagic / README.md
Created Feb 25, 2015
React.js svg rounded (soft edged) line
You can’t perform that action at this time.