Install the latest git version on Ubuntu

Original Url



  • Install required packages on Ubuntu 14.04
sudo apt-get install software-properties-common
  • Run this command
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

South Korea Tour Guide

# Museum
1. National Museum of Korea
2. National Hangeul Museum
– This museum is located at same place with ‘National Museum of Korea’

3. Gyeongbokgung Palace Office & National Fork Museum of Korea
– National Fork Museum of Korea :
– Gyeongbokgung Palace Office :
: You can enter this palace for free if you wear Han-Bok(Korean Traditional Costume)
There are stores near Gyeongbokgung Palace that you can rent Han-Bok

4. Jongmyo Shrine
– Web site

4. Changdeokgung Palace and its Secret Gargen
– Main site
– Secret Gargen Information page
– Reservation Url

# National Park
1. Sorak National Park
– Web Site
– Recommended hotel
: Seorak Kensington Stars Hotel –
: Hanhwa Resort Seorak Sorano –
– Access to hotel
: Route –
: Where you take a bus – Seoul Express Bus terminal / Interval – 30 minutes
– Comments
: It’s better that you will visit Sorak National Park in weekdays.
: This national park is popular place to see Korea’s Maple View.

# Places
1. N Seoul Tower
– Web site
– Getting here
– You can
2. 북악팔각정
: Nice place to see Seoul Night View

# Theme Park
1. Korean Folk Village
– Web site
– Getting Here
: You can get here by Bus 5001-1. This bus stops at a point near Gangnam Artnoueveau City.
: I recommend that you visit here on Saturday or Sunday because you can see some characters

2. Everland
– Web site
– Getting Here
: You can get here by Bus 5002. This bus stops at a point near Gangnam Artnoueveau City.

# Others
1. DMZ Tour Program by Korail
– 1 Day Program
– This page is written in Korean. You can call +82-1544-7755


Ubuntu: Start/Stop a program with ‘service’ command

# Step
1. Define a servicename
2. Create a script in /etc/init.d/[SERVICE_NAME]

case "$1" in
        start-stop-daemon --start --quiet  --chuid gatekeeper.tvsw:users --pidfile $PIDFILE --exec $DAEMON_START -- \
            $DAEMON_ARGS || return 2
#        start-stop-daemon --stop --quiet --oknodo  --retry=0/30/KILL/5  --pidfile $PIDFILE --name jenkins_hq
        start-stop-daemon --start --quiet  --chuid gatekeeper.tvsw:users --pidfile $PIDFILE --exec $DAEMON_SHUTDOWN -- \
            $DAEMON_ARGS || return 2
        echo "Usage : $0 {start|stop}"
        exit 1

“$1” means a first parameter of a script. For example, if you use this command to start a service,

service tomcat start

“$1” is ‘start’

3. Use ‘update-rc.d’ in ordert to register a script you created

sudo update-rc.d tomcat defaults

#Watch out!
1. When you start/stop a service, please use ‘start-stop-daemon’ command with an option ‘–chuid’.
If you do not use that option, a service you registred is runned with root account

Get a custom field object and update its value to be displayed

In order to update a custom field’s value, please follow these stesp

  1. Get an mutable issue object
  2. Get ‘ComponentManager’ object
  3. Get ‘CustomFieldManager’ object
  4. Get an custom field object with an custom field id (like 10106)
  5. Update custome field’s value
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.CustomFieldManager
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.issue.fields.CustomField

//Get an mutable issue object
MutableIssue myIssue = issue

issueKey =  myIssue.getKey()

//Get 'ComponentManager' Object
componentManager = ComponentManager.getInstance()
//Get 'CustomFieldManager' Object
CustomFieldManager customFieldManager = componentManager.getCustomFieldManager()

//Get Custom Field Object
CustomField codeReview = customFieldManager.getCustomFieldObject(10106)

//Update Custom field's value.
myIssue.setCustomFieldValue(codeReview, issueKey)

passesCondition = false

You can select custom field object with its name. But it’s better to use field id numeric value because it’s not changed after a custom field was created. With this feature, you can change field name .