Saturday, February 24, 2018

컴퓨터에 저장된 와이파이 암호 확인하기. Find Wifi password stored in computer (Windows)

Open command prompt with admin access (by press Windows key then type "cmd" then Entre), type

netsh wlan show profiles

It will list all the Wifi network it have connected to. The Profile name is the SSID.

Find the SSID (Profile name) from the list and type

netsh wlan show profile name=”SSID” key=clear

It will show the Wifi password on "Key Content" line

관리자 권한이 있는 계정에서 콘솔창을 열고 (윈도우 키를 누르고 "cmd"라고 친 다음에 엔터를 친다) 다음과 같은 명령어를 입력합니다

netsh wlan show profiles

이때까지 이 컴퓨터에서 연결했던 와이파이의 목록이 쭉 나옵니다. 목록에 적힌 Profile Name이 SSID 입니다.

원하는 SSID 를 찾아서 다음과 같이 입력합니다.

netsh wlan show profile name=”SSID” key=clear

와이파이 암호가 "Key Content" 줄에 표시됩니다.

Wednesday, August 02, 2017

Prestashop 1.6 Allow import image from file system 프레스타샵 1.6에서 이미지를 로컬 폴더에서 임포트 하기

In Prestashop 1.5, we can able to import images from local folder like "~/upload", it reduce import time considerably and stable. However in Prestashop 1.6 it was blocked

프레스타샵 1.5에서는 이미지를 로컬폴더에 넣어 두고 임포트를 할 수 있었지만, 1.6에서는 막혀 있습니다.

It's easy to allow import image from file system back again by commend single line.
코드 한 줄만 코멘트 처리 해 버리면 간단히 해결됩니다.

In controllers/admin/AdminImportController.php
Line 1070
comment out 
 $url = http_build_url('', $parced_url);
to
//  $url = http_build_url('', $parced_url);

Now you can import image from local file system something like in CSV

 ImageURL 
../upload/637616.jpg;../upload/637616-2.jpg;../upload/637616-3.jpg;../upload/637616-4.jpg;../upload/637616-5.jpg

I use this way to upload bunch of files by FTP or SCP to /upload folder first then import multiple products without hiccup

Wednesday, July 26, 2017

20분만에 웹서버 올리기 Make your own web server online in 20-minute

구글에서 구글 클라우드 컴퓨팅을 런칭하였고, 현재 1년간 쓸수 있는 $300 크레딧 행사 중 입니다.
Google now offer Google Cloud Computing with $300 credit that can be used for 12-month as of July 2017.

구글 클라우드의 컴퓨트 엔진을 이용해 아주 간단하게 가상 서버를 만들어 인터넷에 올릴 수 있습니다.
Using Compute Engine from GCC, we can easily up and running web server very quickly.

먼저 GCC에 가입을 합니다.
First join GCC

TRY IT FREE를 누릅니다.
Click TRY IT FREE of course.

구글 아이디로 로그인 합니다. 
Login with Google Account

약관을 읽어보시고 기본 조건에 동의합니다. 약관 읽는 시간은 20분에서 제외합시다.
Check out Terms of Service. Let's not take reading Terms of Service from 20-minute countdown.

$300 크레딧을 받기 위해 신용카드 정보를 넣습니다. 구글은 $300 크레딧을 다 쓴 다음에 신용카드에서 차감 하기 전 고객의 동의를 얻겠다고 하였습니다. 네이버와는 다른 자세입니다. 귀찮은 정보 입력을 피하기 위해 Individual로 진행합니다.
Put credit card information, Google assured that they wouldn't charge you any money unless they get your confirmation again once $300 credit spent. Let's join as an individual to avoid extra setting
신용카드 정보를 입력하면 이제 준비가 다 되었습니다.
After input credit card information, now we are good to go.



좌상단의 Select a project를 누릅니다.
Click "Select a project" on upper left
 

OPEN을 누릅니다.
Press OPEN, if it's not open promptly, try press "getting started


만약 프로젝트가 열리지 않으면 구글앱스 계정으로 접속하였을 수 있다. 이때는 구글 앱스 관리자 화면에서 아래의 내용을 허용해 준다.
If the project is not opening and you get notification of error, you may logged in as Google Apps account. Go to Google Apps admin page as an Google Apps administrator and allow Google Development Console to the account (or for everyone)

프로젝트가 제대로 로드되지 않았다면 프로젝트를 새로 만든다.
You can also try create a new project

축하합니다. 이제 본론으로 들어갈 수 있습니다. Compute Engine dashboard를 클릭합니다.
Congratulation! now we can talk real stuff. Click Compute Engine dashboard

Create를 눌러서 바로 시작해 보자
Click create and let's get to it right now

이름과 위치, CPU 성능, OS를 정한다. 무엇이든지 필요에 따라 나중에 바꿀수 있으니 가볍게 시작해 보자. 지역에 따라서 가격이 조금 틀리다.
Set name of the server, CPU performance with memory, OS boot disk and region. All can be changed later. So let's begin lightly. Pricing would be little differ region to region.

파이어월에서 http와 https를 허용하게 하고 추가 설정 버튼을 누른다.
Let firewall allow http and https get in. Click Management, disks, networking SSH keys
네트워크 탭에서 펜 그림을 누른다.
Click Pen icon on Network tab
고정 아이피를 하나 만든다. 지역당 하나밖에 못 받을 것 이다.
Get a static IP. You would get only one at a region.


거의 끝났다. Create를 누르자. 원이 다 돌면 준비가 된 것이다.
Almost done. Click Create. When the circle stop turning, it's ready



이제 접속해 보자. SSH를 누르면 쉘로 접속할 수 있다.
Let's  login. Press SSH, you can login as shell










sudo도 되니 이제 Apache, Maria DB, PHP 를 설치하자.
we can sudo already, let's install Apache, Maria DB(or MySQL), PHP.

sudo apt-get update
sudo apt install -y mariadb-client mariadb-server
sudo apt install -y php7.0 php7.0-mysql
sudo apt install -y phpmyadmin

PHPMyAdmin 셋팅 화면이 나온다. apache2를 선택하고 dbconfig를 묻는 화면에서 yes를 누른다.
Here comes PHPMyAdmin setup screen Choose apache2, Choose yes to dbconfig

phpmyadmin에 쓰일 암호를 입력하고 재 확인 한다.
Set password for phpmyadmin and confirm

이제 phpmyadmin에 DB권한을 준다.
Now, give DB privileges to phpmyadmin

sudo mysql

grant all privileges on *.* to 'phpmyadmin'@'localhost';
flush privileges;
exit

이제 거의 다 되었다. phpmyadmin 설정을 복사하고 아파치를 재 시작하고 확인해 보자.
Almost done. Copy phpmyadmin configuration file to Apache configuration directory and restart apache

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-enabled/phpmyadmin.conf
sudo service apache2 restart







이것으로 20분만에 LAMP 웹 서버를 인터넷에 올릴 수 있었습니다. 행운을 빕니다!
So now we have fully working LAMP server on internet in 20-minute. Von voyage!

Tuesday, July 23, 2013

How to turn off Autorun on external devices (USB DRIVE)

Windows XP 외장하드 자동실행 끄기

윈도키+R -> gpedit.msc 엔터
-> 컴퓨터 구성 -> 관리 템플릿 -> 시스템
-> 화면 우측에 "자동실행 사용 안 함" 더블클릭
-> 사용
-> 자동 실행 사용 안함: 모든 드라이브
-> 확인

USB같은 경우에는 루트에 autorun.inf 폴더를 만들어놔서 자동실행파일이 만들어지는 것을 애초에 막아버릴 것을 권한다.

출처 : 뮤직트로트 - http://www.xtx.kr

Turn off auto run on external devices (USB DRIVE)

How to use Group Policy settings to disable all Autorun features in Windows Server 2008 or Windows Vista

Use either of the following methods: 

Method 1
  1. Click Start
    the Start button
    , type Gpedit.msc in the Start Search box, and then press ENTER.

    User Account Control permission
     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then clickAutoplay Policies.
  3. In the Details pane, double-click Turn off Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Restart the computer.
Method 2
  1. Click Start
    the Start button
    , type Gpedit.msc in the Start Search box, and then press ENTER.

    User Account Control permission
     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then clickAutoplay Policies.
  3. In the Details pane, double-click Default Behavior for AutoRun.
  4. Click Enabled, and then select Do not execute any autorun commands in the Default Autorun behavior box to disable Autorun on all drives.
  5. Restart the computer.

How to use Group Policy settings to disable all Autorun features in Windows Server 2003, Windows XP Professional, and Windows 2000

  1. Click Start, click Run, type Gpedit.msc in the Open box, and then click OK.
  2. Under Computer Configuration, expand Administrative Templates, and then click System.
  3. In the Settings pane, right-click Turn off Autoplay, and then click Properties.

    Note In Windows 2000, the policy setting is named Disable Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Click OK to close the Turn off Autoplay Properties dialog box.
  6. Restart the computer.


Tuesday, March 05, 2013

Galaxy Note hidden menu

Here's how to access hidden menu (secret menu) from Galaxy Note
갤럭시 노트 숨겨진 메뉴에 들어가 보는 방법 입니다.

SHV-E160S
dial 319712358
password : 996412

SHV-E160L
dial 319712358
password : 0821

SHV-E160K
dial 319712358
password : 774632

Sunday, February 24, 2013

Compatibility list for Korean 3G / LTE mobile phones in NZ network

뉴질랜드에서 쓸 수 있는 한국 전화기 찾아보기

I brought Samsung Galaxy Note LTE (SHV-E160S) from Korea to NZ.
Although it's UNLOCKED, the 3G network frequencies are little differ from Korean Network and NZ Network. Thus I decided to make a compatibility chart.
SKT용 갤럭시 노트를 한국에서 가져왔지만, 언락되어있음에도 불구하고 3G의 주파수 대역이 틀려서 아무래도 제대로 작동을 하지 않고 있습니다. 원인을 조사하는 김에 표를 만들어서 계속 업데이트 해 보려고 합니다.

Frequencies SKT / Korea KTF / Korea LGU+ / Korea Vodafone / NZ Telecom / NZ
700MHz



LTE (Planned)
800MHz CDMA TRS


850MHz LTE (National) LTE LTE (National)
UMTS / HSPA+ (National)
900MHz
LTE (MC / City)
GSM (National) / UMTS / HSPA+ (Rural)
1.8GHz LTE (MC / National) LTE (National) CDMA / EVDO Rev-A/B GSM (City) / LTE (Metro) LTE (NOV 2013)
2.1GHz UMTS / HSPA UMTS / HSPA+ LTE (MC) UMTS / HSPA+ (Metro) UMTS / HSPA+ (City)
2.3GHz Mobile WiMax WiBro



As you can see if you source mobile phone from Korea, no LGU+ phone will work whatsoever.
보시다시피 한국에서 가져온 전화기 중 LG U+ 전화기는 어쨌던 작동을 하지 않을껍니다. 하지만 기기 자체에서는 모뎀이 내장되어 있어서 어떻게 해 볼 방법이 있을 듯 싶습니다.

Only chance is that 2.1GHz band that Vodafone will cover more than Telecom do, however if it leave the metro area, both network will unlikely connected.
3G라면 2.1GHz 대역에서 광역 서비스 하는 보다폰이 시내 서비스만 하는 텔레콤 보다는 유리해 보입니다. 하지만 도시에서 많이 벗어난 곳 에서는 어쨌던 연결이 안되더군요.

Conclusion? Don't bring Korean 3G / LTE phone until full LTE service launched in NZ.
결론을 따지자면 LTE 서비스가 완전히 개시될때 까지는 가져와 봐야 별 소용이 없을듯 싶습니다.

I heard that some Samsung phones from SKT can be unlocked on 850MHz for UMTS, if anyone knows how to unlock SHV-E160S please let me know.
하지만 SKT에서 서비스 하는 전화기들은 3G 전용 모델의 경우 850MHz가 연결될 공산이 큽니다. 그렇다면 텔레콤에서는 문제없이 쓸 수 있겠지요.

국내 내수용 전화기들의 전국망 (850MHz, 900MHz등) 네트워크 호환성 차트를 만들어 보고자 합니다. 정보가 있으신 분들은 댓글로 정보 제공 부탁 드리겠습니다.

Model # Product Name 850MHz 900MHz 1.8GHz 2.1GHz Note
SHV-E160S Galaxy Note SKT LTE Not Working Not Working Unknonwn Working (3G) No special settings, Country unlocked by default
SHV-E250S Galaxy Note2 SKT LTE Not Working Not Working LTE (Telecom) Working (3G) No special settings, Country unlocked by default
SHV-E160L Galaxy Note U+ LTE Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E160K Galaxy Note KT LTE Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHW-M250S Galaxy S2 SKT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHW-M250K Galaxy S2 KT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHW-M250L Galaxy S2 U+ Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E110S Galaxy S2 LTE SKT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E120S Galaxy S2 HD LTE SKT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E120K Galaxy S2 HD LTE KT Unknonwn Unknonwn Unknonwn Unknonwn Please submit
SHV-E120L Galaxy S2 HD LTE U+ Unknonwn Unknonwn Unknonwn Unknonwn Please submit


모델명 :
사용통신사 :
시내 사용 가부 :
시골 사용 가부 :
롬 버전 :




Tuesday, November 01, 2011

OS X Lion: Preserve Recovery HD (Partition)

My experience with MBA and Lion soured when I decided to migrate one MBA to the other due to an accident.

Firstly, I tried to restore using Time-Machine backup to migrate the system, however this method would not able to restore my developement environment. (no make!)

Secondly, I triggered recovery mode by pressing "command+r" keys while it's rebooting then restore from Time-Machine backup.

Everything seems went well, until I found the Recovery HD was invalidated, and I can't use File Vault and Recovery Mode as well as Find My Mac feature anymore.

I have searched web and found the only way around at this time is that follwing Varta's method (https://discussions.apple.com/thread/3194269?start=0&tstart=0) which involves downloading of several GBs of data from the net.

Now I'm downloading Lion from the net, another 2 hours to download only hope Varta's method works.

Anyway, lesson here is that do make HDD image backup periodically. You never know when your precious Macbook dropped to floor like me.

Steps you should take before migrating one Mac to the other Mac while preserving Recovery HD.

1. Go into recovery mode from your old Mac (Command+R)
2. Create image of your existing old Mac's HDD to external HDD
3. Go into recovery mode from your new Mac
4. Create image of your existing new Mac's HDD to external HDD (For disaster recovery purpose)
5. Restore your new Mac's HDD from old Mac's HDD image
6. Reboot the system, keep fingers crossed.

Hope Apple fix the problem soon, it is simple madness; install entire OS downloading from the net just to create Recovery HD.

Yes, IT WORKS!