Skip to content

Instantly share code, notes, and snippets.

Yongjun Cho choyongjoon

Block or report user

Report or block choyongjoon

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
View SomeComponent.tsx
const SomeComponent = inject("someStore")((props: SomeComponentProps) => {
// use hooks in here
const { someStore } = props;
const ref = useRef(null);
useEffect(() => {
someStore!.setRef(ref.current);
}, []);
return (
<Observer>
View SignupForm.tsx
import React from "react"
import Form, { label, defaultValue, required, regex, length } from "cake-form"
interface SignupFormSource {
email: string
password: string
}
export default class SignupForm extends Form<SignupFormSource> {
@label("Email")
View .gitconfig
[alias]
b = branch
f = fetch
l = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
s = status -s
a = add
c = commit
cm = commit -m
ch = checkout
rb = rebase
@choyongjoon
choyongjoon / syllabus.md
Last active Sep 9, 2016
Data Visualization Course Syllabus (Hierarchy)
View syllabus.md

Lessons

  1. Type your data into Google Fusion Table
  2. Draw network graph with Google Fusion Table
  3. Convert table to hierarchy with d3.js
  4. Draw tree layout with d3.js
  5. Add custom style with d3.js
  6. Make a new layout with d3.js

Want to cover

@choyongjoon
choyongjoon / .bashrc
Last active Dec 1, 2017
Home setting
View .bashrc
#!/usr/bin/env bash
# use 'vi' for 'vim'
alias vi='vim'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
# before prompt
@choyongjoon
choyongjoon / README.md
Last active Sep 9, 2015
보고 있는 웹툰들
View README.md

2015-09-09 완결 웹툰 늘어남

You can’t perform that action at this time.