Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Songwon Park magichim

🎯
Focusing
View GitHub Profile
@magichim
magichim / loading.swift
Created May 21, 2020
swift loading view
View loading.swift
if albumArray[self.selectedAlbumIdx!].loadingStatus {
loadingView.backgroundColor = .darkGray
loadingView.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.height)
self.view.addSubview(loadingView)
}
@magichim
magichim / .emacs
Last active Feb 28, 2020
New emacs init
View .emacs
;; melpa default setting
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/")
t))
;;
;;(when (not package-archive-contents)
View .bash_profile
export PS1="\e[0;33m\u:\W$ \e[m"
export CLICOLOR=1
export LSCOLORS=exfxcxdxbxegedabagacad
alias get='scp <id@uri:/path> <localpath>'
alias set='scp <localpath> <id@uri:/path>'
@magichim
magichim / init.el
Last active Apr 25, 2019
My basic emacs setting.
View init.el
(package-initialize)
(setq auto-save-default nil)
;; Not make backup files
(setq make-backup-files nil)
;; Set language environment
(set-language-environment "UTF-8")
@magichim
magichim / package.json
Created Dec 3, 2018
rollup + webgl setting
View package.json
{
"name": "gl_base",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
},
"keywords": [],
"author": "",
"license": "ISC"
@magichim
magichim / convert_utf8.sh
Last active Sep 25, 2018
Convert EUC-KR Assembly File Encode As UTF-8
View convert_utf8.sh
#!/bin/bash
for file in `find . -name '*.asm'`;
do
iconv -f euc-kr -t utf-8 $file > $file.new && mv -f $file.new $file
done
You can’t perform that action at this time.