Java Source Structure

 

Posted in Android, Java | Tagged , | Leave a comment

java int to string

 

Posted in Java | Tagged | Leave a comment

Raspberry Pi network configuration

 

Posted in Raspberry Pi | Tagged , | Leave a comment

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)

Posted in Android, Raspberry Pi | Tagged , , , | Leave a comment

Raspberry Pi update

Advanced Options > Update

or

vi upgrade

 

Posted in Raspberry Pi | Tagged | Leave a comment

Raspberry Pi bash profile configuration

open .profile

add at line end(G)

 

Posted in Raspberry Pi | Tagged , | Leave a comment

source compile, class execute

filename.class

 

Posted in Java | Tagged | Leave a comment

java cygwin .configure

JDK Download  -> http://www.oracle.com/technetwork/java/javase/downloads/

 

JDK Install
Save as  .configure

 

 

 

Posted in Java | Tagged , , | Leave a comment

vimrc configuration

 

 

Posted in Ubuntu, Windows 8 | Tagged | Leave a comment

cygwin vi upgrade

cygiwin setup

Editors > vim
Editors > vim-common

Base > vi-minimal 은 삭제하도록

alias vi=’vim’ 지정

 

Posted in Windows 8 | Tagged , | Leave a comment

bash_profile configuration

 

Posted in Ubuntu, Windows 8 | Tagged | Leave a comment

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

< SSH Configuration >
Cygwin Terminal run as Administrator(important)

 

Almost type yes,

 

Configuration Completed

Go Windows Service -> Start CYGWIN Service

Posted in Ubuntu, Windows 8 | Tagged , | Leave a comment

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 Privacy the bottom one which will take this off and the check it again and it will start to build the list again.

http://social.technet.microsoft.com/Forums/windows/en-US/d69d1421-eb10-481b-85f8-786740802370/is-there-a-quick-way-to-clear-frequent-items-list

 

Posted in Question | Tagged | Leave a comment

Redmine installation

Ubuntu 12.04 LTS 32bit 기준

 

하여 메뉴를 선택하거나 또는 command line에서

 

; man tasksel -> https://help.ubuntu.com/community/Tasksel

 

Redmine installed directory
->/usr/share/redmine
->/etc/redmine

 

 

 

ifconfig로 ip확인

http://ip/redmine

admin/admin <- 기본 로그인 설정

 

Posted in Ubuntu, Windows 8 | Tagged | Leave a comment

Raspberry Pi Kernel Compile

Ubuntu 12.04 LTS 32bit 기준

sudo apt-get install vim(선택사항)
sudo apt-get update <- gcc-4.6-arm-linux-gnueabi 설치가 안될경우
sudo apt-get install git-core
sudo apt-get install gcc-4.6-arm-linux-gnueabi
sudo ln -s /usr/bin/arm-linux-gnueabi-gcc-4.6 /usr/bin/arm-linux-gnueabi-gcc
mkdir raspberrypi
cd raspberrypi
git clone https://github.com/raspberrypi/tools.git <- 다운로드
40분 정도 소요(무선랜기준)
git clone https://github.com/raspberrypi/linux.git
90분 정도 소요(무선랜기준)
cd linux
make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- bcmrpi_cutdown_defconfig
make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig <- menuconfig 진입
make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j3 (쿼드코어 -j5) <- 컴파일시작
20분 소요
mkdir ../modules
make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- INSTALL_MOD_PATH=../modules/
cd ../tools/mkimage/
../imagetool-uncompressed.py ../../linux/arch/arm/boot/Image <- kernel.img 생성
sudo rm -rf /media/boot-partiton-uuid/kernel.img  < 이전 커널이미지 삭제
sudo mv kernel.img /media/boot-partition-uuid/    <- 커널이미지 변경
sudo rm -rf /media/rootfs-partition-uuid/lib/modules/  <- 이전 모듈 삭제
sudo rm -rf /media/rootfs-partiton-uuid/lib/firmware/   <- 이전 펌웨어 삭제
cd ../../modules/
sudo cp -a lib/modules/ /media/rootfs-partition-uuid/lib/
sudo cp -a lib/firmware/ /media/rootfs-partition-uuid/lib/
sync
cd /media/rootfs-partition-uuid/lib/modules
mv 3.6.11-cutdown+ 3.6.11+ <-폴더명 변경(부팅안되는 이유로…)
Posted in Raspberry Pi, Ubuntu | Tagged , | Leave a comment

scope operator

::  <- 전역의 범위를 지정

::variable; // 전역변수를 우선 지정함

class::function();

 

여기서 namespace 개념이 파생됨.

Posted in C#, C++ | Leave a comment