Skip to content

Instantly share code, notes, and snippets.

View yeoupooh's full-sized avatar

Thomas Jinwoo Min yeoupooh

View GitHub Profile
@yeoupooh
yeoupooh / playground.rs
Created October 15, 2017 09:37 — forked from anonymous/playground.rs
Rust code shared from the playground
fn main() {
println!("Hello, world! 안녕");
}
@yeoupooh
yeoupooh / main.d
Created October 15, 2017 09:36 — forked from anonymous/main.d
import std.stdio;
import std.algorithm;
import std.range;
void main()
{
// Let's get going!
writeln("Hello World!");
// An example for experienced programmers:
@yeoupooh
yeoupooh / SlackIncomingWebhookBotTest.java
Created April 1, 2016 04:43
Slack Incoming Webhook Test with OkHttp
package com.nlp.util;
import com.google.gson.JsonObject;
import com.squareup.okhttp.*;
import org.junit.Test;
import java.io.IOException;
/**
* Created by mio on 4/1/16.
@yeoupooh
yeoupooh / LinuxMintInstallation.md
Created March 19, 2016 00:16
Linux Mint Installation Guide

Install Oracle JDK 8

Install

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
@yeoupooh
yeoupooh / My Javascript Snippets.md
Last active February 25, 2016 01:51
Javascript libraries examples on codepen.io, jsfiddle.net

this repo contains two analogous script prototypes for screencasting to livecoding.tv

  • ffmpeg implementation - full-featured and works quite well
  • gstreamer implementetion - work in progress
@yeoupooh
yeoupooh / XLaunchCygwinSSHExample.xlaunch
Created February 2, 2016 14:57
XLaunch cygwin ssh configuration example (port#1234)
<?xml version="1.0"?>
<XLaunch
xmlns="http://www.straightrunning.com/XmingNotes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.straightrunning.com/XmingNotes XLaunch.xsd"
WindowMode="MultiWindow"
ClientMode="StartProgram"
Program="xterm"
ClientStart="OpenSSH"
PathToProtocol="C:\cygwin\bin\mintty.exe /bin/"
@yeoupooh
yeoupooh / CentOS Tips.md
Last active February 2, 2016 07:48
CentOS Tips

Install Google Chrome Browser

  1. Download script:
  wget https://raw.githubusercontent.com/khilnani/devops/master/centos/install_chrome.sh
  chmod u+x install_chrome.sh
  ./install_chrome.sh
  1. Open /usr/bin/google-chorme script
  2. Edit below line:
{
"mods": [
{
"name": "Pixelmon",
"version": "3.5.1",
"url": "http://download.nodecdn.net/containers/pixelmon/core/Pixelmon-1.7.10-3.5.1-universal.jar",
"requiredVersion": "1.7.10"
}
]
}

Customized Prompt

Online generator

r2

export PS1="\[\033[38;5;7m\][\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;10m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;14m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;13m\]\d\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;11m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;7m\]]\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]\[\033[38;5;7m\][\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;9m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;7m\]]\[$(tput sgr0)\]\[\033[38;5;15m\]\n> \[$(tput sgr0)\]"