-
Recent Posts
- Hwarang Spirit
- Alchemy
- ListView minHeight, typeface
- Clear All Lint Markers Errors
- android.permission.INTERNET
- eclipse Korean character problem
- OnItemCLickListener not working gridview
- G is G!
- Eclipse shortcut to comment selection in an XML file
- android.app.activitythread.performlaunchactivity nullpointerexception
- How to uninstall Windows Live Essentials via CMD line parameter
- vi fold method
- android.os.NetworkOnMainThreadException
- android socket
- socket2
Tags
Archives
Monthly Archives: August 2013
Raspberry Pi network configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
$ sudo vi /etc/network/interfaces auto lo iface lo inet loopback ## ethernet #iface eth0 inet dhcp iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 ## wireless allow-hotplug wlan0 auto wlan0 #iface wlan0 inet dhcp iface wlan0 inet static wireless-essid app address 192.168.0.3 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 wpa-ssid "MYWIFI" wpa-psk "password" #iface wlan0 inet manual #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf #iface default inet dhcp |
Razdroid download
image download http://androidpi.wikia.com/wiki/Android_Pi_Wiki open Git Shell git clone https://github.com/Razdroid/razdroid-kernel <- copy and paste(right-click)
Raspberry Pi update
1 |
$ sudo raspi-config |
Advanced Options > Update or
1 2 |
$ sudo apt-get update $ sudo apt-get upgrade |
vi upgrade
1 |
$ sudo apt-get install vim -y |
Raspberry Pi bash profile configuration
open .profile add at line end(G)
1 2 3 4 5 6 7 8 |
# alias . .aliases # vimrc . .vimrc # configure . .configure |
source compile, class execute
1 |
$ javac filename.java <- compile |
filename.class
1 |
$ java filename <- execute |
java cygwin .configure
JDK Download -> http://www.oracle.com/technetwork/java/javase/downloads/ JDK Install Save as .configure
1 2 3 4 5 |
# JAVA_HOME export set JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.7.0_21/ # PATH export PATH=$PATH:/cygdrive/c/Program\ Files/Java/jdk1.7.0_21/bin/ |
vimrc configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
set cindent set autoindent set smartindent set showcmd set incsearch set bg=dark set visualbell set nu set shiftwidth=4 set tabstop=4 set hlsearch set showmode set ruler set noignorecase set title set tagbsearch set history=1000 filetype on syn on hi PreProc term=underline cterm=bold ctermfg=1 set tags=./tags,/usr/src/linux/tags set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb if filereadable("./cscope.out") cs add cscope.out else cs add /usr/src/linux/cscope.out endif set csverb map <F2> :Tlist<cr> map <F3> <c-w><c-w> map <s-f> <c-f> map <s-b> <c-b> |
cygwin vi upgrade
cygiwin setup Editors > vim Editors > vim-common Base > vi-minimal 은 삭제하도록 alias vi=’vim’ 지정
bash_profile configuration
1 2 3 4 5 6 7 8 9 10 |
$ vi .bash_profile # alias .(source) .aliases # vimrc configuration . .vimrc # develop configuration . .configuration |
cygwin, git Install
< Cygwin Installation > http://cygwin.com/install.html http://cygwin.com/setup-x86.exe run setup-x86.exe as Administrator Next > Install from Internet or Install from Local Directory > Root Directory=C:\cygwin, All User(recommended) check Select, Devel -> git Net -> openssh Setup Comleted, Cygwin Terminal shortcut created < … Continue reading
Is there a quick way to clear “frequent” items list?
Answer: Open “Taskbar and Start Menu Properties” by right clicking the start menu button\properties when this opens you have the ability on the Start Menu tab to change this. If you just want to clear it for now uncheck under … Continue reading
Redmine installation
Ubuntu 12.04 LTS 32bit 기준
1 |
$ sudo apt-get install tasksel |
1 |
$ sudo tasksel |
하여 메뉴를 선택하거나 또는 command line에서
1 |
$ sudo tasksel install lamp-server |
; man tasksel -> https://help.ubuntu.com/community/Tasksel
1 2 3 4 |
$ sudo apt-get install python-software-properties <-변화없음 $ sudo add-apt-repository ppa:ondrej/redmine $ sudo apt-get update $ sudo apt-get install redmine redmine-mysql |
Redmine installed directory ->/usr/share/redmine ->/etc/redmine
1 |
$ sudo ln -s /usr/share/redmine/public /var/www/redmine |
1 2 3 4 5 6 7 8 |
$ sudo vi /etc/apache2/mods-available/passenger.conf PassengerDefaultUser www-data <-IfModule내에 라인추가 $ sudo vi /etc/apache2/sites-available/default <Directory /var/www/redmine> <- VirtualHost내에 블럭추가 RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on </Directory> |
1 2 |
$ sudo a2enmod passenger <- 변화없음 $ sudo service apache2 restart <-아파치 재시작 |
ifconfig로 ip확인 http://ip/redmine admin/admin <- 기본 로그인 … Continue reading