Skip to main content

Posts

MariaDB 설치

1. 설치  # sudo apt-get install mariadb-server 2. root 비밀 번호 설정(설치 하는 동안 root 비밀번호 설정을 하지 않네...) #  sudo mysql_secure_installation ----- updated ----- mariaDB 10 부터 root 비밀번호 설정 할 필요 없다고 하네요.. 보안이 어쩌구 .... ( 여기 링크 참조) # sudo mysql -u root 로 바로 들어가 짐. 실행 #mysql -u [username] -p -h [host] [databasename]

MORE AGILE: 안드로이드를 위한 Swift - Kotlin을 아시나요?

MORE AGILE: 안드로이드를 위한 Swift - Kotlin을 아시나요? : 얼마전 구글I/O와 관련하여 나프다 를 녹음하던중 코틀린Kotiln에 대하여 알게 되었습니다. 국내엔 아직 제대로 소개된 바가 없으므로 궁금해 하시는 분들을 위해 간단히 설명하자면 IntelliJ로 유명한 젯브레인즈Jetbrains가 만든 JV...

Installing Yosemite in VirtualBox

install : As life plays along …: Installing Yosemite in VirtualBox : Installing Yosemite in VirtualBox is pretty straightforward if you follow those steps. Running Yosemite inside VirtualBox reveals quite som... --- 추가된 내용 2015.06.22  --- host : ubuntu 14.04 vbox : 4.3.28 install :   http://sqar.blogspot.de/2014/10/installing-yosemite-in-virtualbox.html  LPC device initialization failed: C-state power management not initialized ->> 에러 발생하면   https://gist.github.com/frdmn/de12c894a385bc8e6bff -------------------------대략 이런 내용 (위 링크 내용)------------------------------------- VBoxManage modifyvm [vm name] --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff VBoxManage setextradata [vm name] "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" VBoxManage setextradata [vm name] "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata [vm name] "VBoxInternal/Devices/efi/0/Confi...

장고 프레임워크 설치하기

# 장고프레임워크 설치 - pip 설치 (파이썬 패키지 관리자 ... 아마도) $ sudo apt-get install python-pip $ sudo easy_install pip   (apt-get 으로 받으면 옛날버전.  updated 2015.07.30 ) $ curl https://bootstrap.pypa.io/get-pip.py | sudo python (참고 : https://pip.pypa.io/en/stable/installing/ ) -- pip를 이용해서 pip 업데이트 방법: $ pip install -U pip - virtualenv 설치 $ sudo pip install virtualenv - 가상환경 만들기 $ virtualenv -p /usr/bin/python3.4 (env-name) - 가상환경 시작 $ source (env-name)/bin/activate (가상환경 종료시  : (env-name)$ deactivate  ) - 장고 설치 (env-name)$ pip install Django( == 1.7 ) - 장고 프로젝트 만들기 (env-name)$ django-admin.py startproject (proj-name)

안드로이드 프로그램 개발: [Android(안드로이드) 앱 개발 응용] Location GPS 위치 가져오기 및 최적...

안드로이드 프로그램 개발: [Android(안드로이드) 앱 개발 응용] Location GPS 위치 가져오기 및 최적... :  * 이번에는 Location Manager를 이용해서 현재 사용자의 위치를 측정하는 방법을 공부해보자. * Location 측정 방법 : 현재 안드로이드 상에서는 다양한 방법으로 사용자의 위치를 측정하고 있다. GPS는 가장 정확하지만 실외에서만 제대로 작동하고, 배터리 소모가 심각하고, 사용자가 원하는만큼 빠르게 위치를 계산하지 못한다. 또 다른 방법으로는 안드로이드의 네트워크 위치 프로바이더를 이용하는 것인데, 통신사의 cell tower와 와이파이 신호의 위치를 통해서 실내와 실외 모두에서 측정가능한 방법인데다 응답고 빠르고 베터리 소모가 심하지 않지만, 정확성이 조금 떨어지는 단점이 있다. 따라서 사용자의 위치를 구할 때에는 GPS를 사용하거나 네트워크 위치 플바이더를 사용하거나 둘다 사용할수도 있다. .....

Windows shutdown commands

shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy] -s : 종료 -r : 재부팅 -i : GUI 화면 원문: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shutdown.mspx?mfr=true

rm 대신에 trash 를 사용합니다

리눅스에서 GUI환경에서는 삭제하면 휴지통으로 들어가는데... 콘솔에서 rm 명령으로 삭제하면 휴지통에 들어가지 않고 바로 삭제 됩니다. 실수로 삭제할 경우 복구 하기도 힘들고 해서 rm 명령어 대신에 trash 명령으로 휴지통으로 보내 버리도록 합니다. -------------------------------------------- apt-get install trash-cli -------------------------------------------- 로 trash 설치후 .profile 이나 .bashrc 파일을 열어 alias 를 추가합니다. -------------------------------------------- alias rm='trash' -------------------------------------------- 끝.

GWT SuperDevMode

GWT 2.6 Eclipse kepler gwt project 생성후 1. TestProject.gwt.xml 문서내 <module rename-to='textproject'>   ....   <!-- allow Super Dev Mode -->   <add-linker name="xsiframe"/>    .... </module> 2. 메뉴 Run > Run Configurations 에서 Java Application 선택 하여 마우스 오른쪽 New 선택 2.1. Name : 아무거나 2.2. Main 탭에서      Project : 생성한 프로젝트 선택 (TestProject)      Main Class : com.google.gwt.dev.codeserver.CodeServer 2.3. Arguments 탭에서      Program arguments : -src 프로젝트경로 ( -src src/ com.test.TestProject ) 2.4. Classpath 탭에서      User Entries 선택후 Add External JARs 로 gwt-codeserver.jar 추가 마지막으로 Run --------------------------------------------------------------------------------- Compiling module com.test.TestProject    Compiling 1 permutation       Compiling permutation 0...       Source Maps Enabled    Compile...

윈도우xp 방화벽 설정이 안될때(원인을 알 수 없는 문제 때문에.... Windows 방화벽... 에러메시지 나올때)

원인을 알 수 없는 문제 때문에.... Windows 방화벽... 에러메시지 나올때 원문 : http://support.microsoft.com/kb/920074/ko 기술 자료: 920074 - 마지막 검토: 2008년 1월 22일 화요일 - 수정: 1.5 Windows XP SP2에서 Windows 방화벽 서비스를 시작할 수 없다 이 문서가 적용되는 제품 보기. 시스템 팁 본 문서의 정보는 현재 사용하는 Windows 버전과 다른 버전에 적용됩니다. 따라서 문서의 내용이 관련되지 않을 수도 있습니다.Windows 7 솔루션 센터 방문하기 중요 이 문서에서는 레지스트리 수정 방법을 설명합니다. 레지스트리를 수정하기 전에 해당 레지스트리를 백업하는 것이 좋습니다. 또한 문제가 발생할 경우 레지스트리를 복원하는 방법을 알고 있어야 합니다. 레지스트리 백업, 복원 및 수정 방법에 대한 자세한 내용은 Microsoft 기술 자료의 다음 문서를 참조하십시오. 256986 고급 사용자를 위한 Windows 레지스트리 정보 이 페이지에서 모두 확대 | 모두 축소 현상 Microsoft Windows XP 서비스 팩 2(SP2)를 설치한 후 Windows 방화벽 서비스를 시작할 수 없습니다. 특히, 다음과 같은 현상이 하나 이상 나타납니다. 제어판의 서비스 목록에 Windows Firewall/Internet Connection Sharing (ICS)이 표시되지 않습니다. 서비스 목록에 Windows Firewall/Internet Connection Sharing (ICS)이 표시되지만 이 서비스를 시작할 수 없습니다. Windows 방화벽 설정에 액세스하려고 하면 다음과 같은 오류 메시지가 나타납니다. 원인을 알 수 없는 문제 때문에 Windows에서 Windows 방화벽 설정을 열 수 없습니다. 위로 가기 원인 이 문제는 SharedAccess.reg 파일이 없거나 손상되었기 때문에 발생합니다. SharedAcces...

eclipse helios Classpath Dependency Validater Messages

이클립스 helios 에서 markers에 ---- Description Resource Path Location Type Classpath entry /Test/libs/xxx.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. ChatTest P/Test Classpath Dependency Validator Message ---- 경고가 있으면 프로젝트 Properties --> Deployment Assembly add --> Java Build path Enteries --> xxx.jar 선택하고 finish

갤럭시S 프로요 업데이트후 "USB 연결 설정" 없어진다

갤럭시 안드로이드 2.2로 업뎃하고 나니 USB 연결 설정 메뉴가 없어져서 황당 했습니다. 고객센터 전화하니까 자동으로 프로요 부터 자동으로 usb메모리랑 kies랑 를 인식한다고 하던데.. adb devices 해도 잡히는 장비 하나 없어 완전 황당.. 삼성 모바일 홈피가서 kies 프로그램 다운 받아 설치 하니까 그재서야 잡히네요 그전에는 드라이버만 설치 해서 인식 했었는데...

Android Google Maps API 사용하기

debug.keystore 파일이 있는 곳에서 커맨드 프롬프트를 열어 아래와 같이 실행하여 fingerprint를 얻는다 ------------------------------------------------------------------------------------------------ keytool -list -keystore debug.keystore -keypass android -storepass android -alias androiddebugkey ------------------------------------------------------------------------------------------------ http://code.google.com/android/add-ons/google-apis/maps-api-signup.html 위 사이트에 접속 해서 얻은 fingerprint를 입력 하여 Maps API 키를 얻으면 된다. 이 api key 를 MapView에 넣으면 된다 참조 http://code.google.com/android/add-ons/google-apis/mapkey.html

How to disable or uninstall the pilot version of Microsoft Windows Genuine Advantage Notifications for Windows XP

How to disable or uninstall the pilot version of Microsoft Windows Genuine Advantage Notifications for Windows XP Disable WGA Notifications Log on to the computer by using an account that has administrative permissions. Make sure that the WGA Notifications version that exists on the computer is a pilot version. The version format for the pilot version is 1.5.0532.x. In this case, you can uninstall versions 527-532 only. For example, you can uninstall versions that range from 1.5.0527.0 to 1.5.0532.2. To find the WGA Notifications version, follow these steps. Click Start, and then click Control Panel. Double-click Add or Remove Programs, click Windows XP - Software, click Windows Genuine Advantage Notifications, and then click Click here for support information. In the Support Info dialog box, verify the version number, and then click Close. Rename the following files by changing the extension to .old: Rename %Windir%\system32\WgaLogon.dll to %Windir%\system32\WgaLogon.old Rename %Windi...