Skip to content

Instantly share code, notes, and snippets.

View igxactly's full-sized avatar

Ingu Kang igxactly

  • NAVER Corp.
  • Korea, Republic of
  • 10:01 (UTC +09:00)
View GitHub Profile
@igxactly
igxactly / saenaru.js
Created November 18, 2017 03:23 — forked from nacyot/saenaru.js
자바스크립트 새나루 한글 입력기
/**
* Saenaru Javascript Hangul Input Method by wkpark at gmail.com
* 2013/03/25
* License: GPLv2
*/
var Saenaru = function() {};
Saenaru.prototype = {
_q: [],
1. 필요 패키지 설치
$ sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
$ sudo apt-get update
$ sudo apt-get install golang
$ sudo apt-get install nodejs nodejs-legacy npm
$ sudo npm install -g bower
2. Go 환경변수 설정
$ mkdir $HOME/go
$ { echo && echo 'export GOPATH=$HOME/go' && echo 'export PATH=$PATH:$GOPATH/bin'; } | tee -a $HOME/.profile
@igxactly
igxactly / add_this_lines_to_the_end_of_bashrc.sh
Last active March 10, 2016 12:49
standard ubuntu bash prompt style + shorten parent path + full current directory + home directory ommision (without dependency)
########
# standard ubuntu bash prompt style + shortened parent dir path + full current directory + home directory ommision (without dependency)
PS1='\u@\h:`printf "$(pwd | sed -e "s!$HOME!~!" | sed -e "s/\/\(.\)[^\/]\+/\/\1/g" | sed -e "s/\/\([^/]\)$/\//g")""$([ "${PWD}" != "${HOME}" ] && printf "${PWD##*/}" || printf "")"`\$ '
########
# references:
# Path initial prompt: http://superuser.com/a/180272
# String concat in bash: http://stackoverflow.com/q/4181703
# PWD without full path: http://stackoverflow.com/q/1371261
# Ternary operator in bash: http://stackoverflow.com/a/3953712
@igxactly
igxactly / sprial2d.c
Created August 7, 2015 05:42
Filling up matrix in spiral order
/*
* main.c
*
* Created on: 2015. 8. 6.
* Author: igx
*/
#include <stdio.h>
#include "matrix.h"
  • Figure out wormholes
    • Call @arfon
    • Research (docs)
    • Build prototype #15
    • Test run #43 @world-domination/time-travel
  • ...?
  • Profit!
!!! HTTP CONNECTION TEST PAGE !!!
1. test
1.1. test
1.2. test
2. test
2.1. test
2.2. test
test ({"test": "hello"});