Skip to content

Instantly share code, notes, and snippets.

View rkJun's full-sized avatar

Juntai Park rkJun

View GitHub Profile
while (1) do host www.undefined.kr;sleep 1;done
@rkJun
rkJun / ri20min.rb
Created July 16, 2014 09:39
my first ruby code form studying ruby 20 minutes
#! /usr/bin/env ruby
class MegaGreeter
attr_accessor :names
# Create the object
def initialize(names = "World")
@names = names
end
@rkJun
rkJun / .zshrc
Last active August 29, 2015 14:21
my ubuntu dot files
alias h='history'
alias dl='docker ps -l -q'
# Invoke GnuPG-Agent the first time we login.
# Does `~/.gpg-agent-info' exist and points to gpg-agent process accepting signals?
if test -f $HOME/.gpg-agent-info && \
kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then
GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info | cut -c 16-`
else
# No, gpg-agent not available; start gpg-agent
{
init: function(elevators, floors) {
var elevator_zero = elevators[0];
var elevator_active = elevators[0];
var idle_elevators = [];
var idle_elevator = {};
var getIdleElevator = function(floorNum, direction) {
if (idle_elevators.length > 0) {
@rkJun
rkJun / .profile
Last active September 26, 2015 08:48
Mac profile
#rkJun's MacBook Pro with Retina display .profile
export EDITOR=vim
#export PATH=$PATH:
# GREP coloring
export GREP_OPTIONS='--color=auto'
export GREP='1;33'
@rkJun
rkJun / .vimrc
Created July 8, 2011 13:48
gVim Configuration
"gVim 용 설정. macVim, vim 에서는 일부 제거할 것.
set number
set guifont=나눔고딕코딩:h10
set fileencodings=unicode,utf-8,cp949,euc-kr,koi8-r,sjis,ucs-bom,iso10646
source $VIMRUNTIME/colors/torte.vim
set co=120
set lines=45
set ts=4 "set tabstop=4 " Tab을 눌렀을 때 8칸 대신 4칸 이동하도록 한다.
set sw=4 "set shiftwidth=4 " 자동 들여쓰기를 할때 4칸 들여쓰도록 한다.
@rkJun
rkJun / Back_to_the_Mac_20120805.css
Last active October 9, 2015 10:37
Safari, Google Chrome Font Style Sheet for Mac
//# Link (출처) : http://macnews.tistory.com/162
//# Safari/Google Chrome Korean Font Style Sheet for OS X Mountain Lion
//#
//# Google Chrome : ~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css
@font-face {
font-family: AppleGothic;
src: local("Apple SD Gothic Neo"),
local("Nanum Gothic");
}
@rkJun
rkJun / index.html
Created December 29, 2012 18:39
A CodePen by Juntai Park. CSS image caption 06
<center><div class="box">
<div class="rotate">
<img src="http://25.media.tumblr.com/avatar_1a0f9b8a64c3_128.png" width="200"/>
<span class="caption">
<p class="nick">
@rkJun [알케이준]</p>
<p class="bio">
Freelance Web Developer, Student, 세벌식 사용자, undefine:D organizer, OKJSP committer, MPlayer X Korean Localization, Macbook Pro, iPhone 4S, iPad mini, One Piece ...<br/>
</p>
</span>
@rkJun
rkJun / undefindkr_profile.js
Last active December 17, 2015 10:48
undefine:D profile
var undefine:D = "We're Front-end Group " +
"for Developers and Designers " +
"who live in Korea." +
"We love the web and to make it better." +
"Also, We like front-end code, and code base design." +
"undefine:D is not undefined, " +
"undefine:D is the Front-end Developer & Designer Group " +
"and HTML5 and JavaScript Intensive Study Group.";