This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ZSH configuration | |
export ZSH="/Users/yangeok/.oh-my-zsh" | |
ZSH_THEME="agnoster" | |
plugins=(fzf git k zsh-syntax-highlighting zsh-autosuggestions macos) | |
source $ZSH/oh-my-zsh.sh | |
prompt_context() {} | |
# Java & Android | |
export PATH="$HOME/.jenv/bin:$PATH" | |
eval "$(jenv init -)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// setups | |
const uploadFile = require('setups/s3') | |
const { setWriteStream, addRow } = require('setups/resultStream') | |
const browserSetting = require('setups/browser') | |
const moment = require('moment') | |
// utils | |
const filter = require('utils/filter') | |
const sec = require('utils/sec') | |
const name = require('utils/name') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getConnection, BaseEntity } from 'typeorm' | |
export function getRelation(Entity: typeof BaseEntity, id, relation) { | |
return getConnection() | |
.createQueryBuilder() | |
.relation(Entity, relation) | |
.of(id) | |
} |