2013. 8. 28.

How to resolve "svn: E155017: Checksum mismatch "

while update,
if this error occurs  by  some reason ,  you must follow process.

svn: E155017: Checksum mismatch for '/aa/aa.file':
   expected:  7432edcbdbc1a10fd200000
   recorded:  7b7860484ee5a144c200001

1) svn delete aa.file
2) svn add aa.file
3) svn commit aa.file

this process can resolve svn error .

**** This process cannot cover all case of E155017 ****

Enhanced by Zemanta

Ftp batch script without interface

to run ftp without interface  is needed two files.

[** This is for unix series os.]
1) batch ftp command file
2) script to call batch file( #1)

ftp.cmd   # command file
ftp.sh  # shell file.

## command file ####
# let's assume   userid : aaa   password : bbb
# remote directory  : cccc
# local directory : dddd
# this command list  can get multiple files.

user aaa bbb
lcd   dddd
cd   cccc
mget *

## shell file. 

ftp -i -n < ftp.cmd

Enhanced by Zemanta

2013. 8. 22.

Create exe from python script. ( py2exe)

1) install py2exe

    url: www.py2exe.org
    you must check your python version(2.*/ 3.*) and window os bit (32/64).
    although your os is 64bit, if you installed 32bit pythone, you need to select  32bit version.  

2) make setup.py
    i: simple case
     from distutils.core import setup
     import py2exe
     setup(console=['yourapp.py'])  # very simple !!

 3) run setup.
    setup.py py2exe

  4) check directory dist, you can find yourapp.exe ~

** summary ***
   0) install py2exe
   1) prepare your python script
   2) make setup.py
   3) python setup.py py2exe
Enhanced by Zemanta

2013. 8. 13.

강원도 고성 여행. -2013.8

   - 5시반
   - 강원도 고성. 대진항
     동해 최북단의 항구 이자, 해수욕장.
     여름기간에만 개방.
    -  회센타 회먹기


  대진 등대 방문
  - 소장님 의 관리시스템 소개


python BoxSizer concept ( Basic )

  • Horizontal Sizer
    • Elements are arranged by horizontal direction.

  • Vertical Sizer 
    • elements are arranged by vertial direction 

Sizer can be nested.  so, Various layout can be made by combination of sizers.