Ubuntu, Emacs 24.4 compile


1) 의존성 패키지 설치
$ sudo apt-get build-dep emacs24

2) emacs 24.4 설치

2-1) 압축을 풀고

2-2)
$ ./configure —prefix=/usr
$ make
$ sudo make install

– 끝 –

KDE, “kde-open” command


KDE’s mac-like “open” command is “kde-open”.
ex)
$ kde-open keepass.kdbx

OS X Man Pages – open
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/open.1.html

Emacs, Terminus + 나눔고딕코딩 글꼴 설정


emulator002

$HOME/.emacs.el
(defun xftp (&optional frame)
"Return t if FRAME support XFT font backend."
(let ((xft-supported))
(mapc (lambda (x) (if (eq x 'xft) (setq xft-supported t)))
(frame-parameter frame 'font-backend))
xft-supported))

(when (xftp)
(let ((fontset "fontset-default"))
;; (set-default-font "Terminus 10")
;; (set-face-font 'default "Terminus 10")
(set-default-font "Terminus")
(set-face-font 'default "Terminus")
;; (set-fontset-font fontset 'latin
;; '("NanumGothicCoding" . "unicode-bmp"))
(set-fontset-font fontset 'hangul
'("NanumGothicCoding" . "unicode-bmp"))
(set-face-attribute 'default nil
:font fontset
:height 120)
))

Mac, nfs mount (Operation not permitted)


On Linux,
% cat /etc/exports
/opt/nfs/root 192.168.0.*(rw,sync,no_subtree_check)

On Mac,
“Operation not permitted” : add -o resvport option.

% sudo mount -t nfs -o resvport,rw,soft,intr,rsize=8192,wsize=8192,timeo=900,retrans=3,proto=tcp 192.168.0.11:/opt/nfs/root /private/nfs

참고:
“Mac Os X: Mount NFS Share / Set an NFS Client”
http://www.cyberciti.biz/faq/apple-mac-osx-nfs-mount-command-tutorial/

#PasswordBox LastPass를 대체할 PasswordBox


Chrome, Firefox, Safari, IE, Android, iOS 에서 패스워드 25개 저장 한정으로 무료로 사용할 수 있음.
5명 초대하면 무제한으로 사용 가능함.

사용방법 동영상 보면 모바일에서도 자동으로 로그인 해주고 기능은 괜찮아 보인다.

LastPass는 모바일 무조건 Premium 사용자만 가능하니… 25개 한정이지만 괜찮아 보이네요.

PasswordBox 추천 & 다운로드 URL:
http://j.pbox.io/K40ze5HB

이미지

이미지

이미지

이미지

이미지

– 끝 –

 

GIMP, 2.7.3 version screenshots


I have compiled with my Linux box, Kubuntu 11.04 🙂

ssh client, 느린 접속 해결. (Solved too slow connect to server.)


add line,”AddressFamily inet”, on your $HOME/.ssh_config

This is my $HOME/.ssh_config


$ cat $HOME/.ssh_config

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
AddressFamily inet
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
SendEnv LANG LC_*
HashKnownHosts yes
# GSSAPIAuthentication yes
# GSSAPIDelegateCredentials no

Reference Sites :
[SOLVED] ssh slow to connect
Disabling SSH connections on ipv6

– EOP –