Skip to content

Instantly share code, notes, and snippets.

View rkJun's full-sized avatar

Juntai Park rkJun

View GitHub Profile
@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
@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
while (1) do host www.undefined.kr;sleep 1;done
@rkJun
rkJun / asciiart.txt
Created July 30, 2013 01:04
asciiart.txt from undefined
Main Controls - *FIGlet and AOL Macro Fonts Supported*
Font:
Character Width:
Character Height:
Test All More Opts About
Other Stuff From patorjk.com That You Might Like:
Typing Speed Test
Keyboard Layout Analzyer
@rkJun
rkJun / ejectHDD.sh
Created July 29, 2013 05:25
ejectHDD
# change directory to My external Hard disk
# remove it's dummy files e.g) ._ hidden files.
# and, eject it.
# modify Leto_1TB to your configuration.
# modify disk1s1 to your configuration.
cd /Volumes/Leto_1TB
find ./ -name "._*" -exec rm {} \;
hdiutil eject /dev/disk1s1
@rkJun
rkJun / myBatisLogParse.html
Created June 11, 2013 06:03
myBatis 로그 합치기 (Log Parser) input) Preparing: Select dummy from dual where col = ? and col2 = ? and no = ? Parameters: val1(String), val2(String), 1(Long) output -result) select ... where col = 'val1' and col2 = 'val2' and no = 1
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>MyBatis Log parse</title>
<script src="jquery-2.0.2.js"></script>
</head>
<body>
<div id="div_origin" style="float:left">
<textarea id="txt_origin" rows="30" cols="40"></textarea>
@rkJun
rkJun / Default (OSX).sublime-keymap
Last active December 18, 2015 05:39
Sublime Text 3 configuration files
[
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["super+k", "super+s"], "command": "convert_to_snake"},
{ "keys": ["super+k", "super+c"], "command": "convert_to_camel"},
{ "keys": ["ctrl+shift+t"], "command": "delete_trailing_spaces" },
{ "keys": ["ctrl+shift+d"], "command": "toggle_trailing_spaces" },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
{ "keys": ["super+alt+v"], "command": "insert_file_path" }
@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.";
@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>