Skip to content

Instantly share code, notes, and snippets.

View magichim's full-sized avatar
🎯
Focusing

Songwon Park magichim

🎯
Focusing
View GitHub Profile
@magichim
magichim / convert_utf8.sh
Last active September 25, 2018 03:45
Convert EUC-KR Assembly File Encode As UTF-8
#!/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
@magichim
magichim / package.json
Created December 3, 2018 12:29
rollup + webgl setting
{
"name": "gl_base",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
},
"keywords": [],
"author": "",
"license": "ISC"
@magichim
magichim / init.el
Last active April 25, 2019 04:00
My basic emacs setting.
(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 / .bash_profile
Last active October 12, 2019 16:33
bash config
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 / .emacs
Last active February 28, 2020 08:03
New emacs init
;; 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)
@magichim
magichim / loading.swift
Created May 21, 2020 14:11
swift loading view
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)
}