Author: Charles

  • php korean encoding

    php 한글 인코딩

     

    http://junny1909.tistory.com/205
    asp to php converter
    http://www.resources.fortunedesign.co.uk/jspack/asp2php.html
    php pdo class
    http://codereview.stackexchange.com/questions/3806/pdo-wrapper-class
  • ​Using MySQL Stored Procedures with PHP mysql/mysqli/pdo

    Using MySQL Stored Procedures with PHP mysql/mysqli/pdo

    http://www.joeyrivera.com/2009/using-mysql-stored-procedures-with-php-mysqlmysqlipdo/
    http://www.mysqltutorial.org/php-calling-mysql-stored-procedures/
    Connection string save to non web folder “……..
    class.pdo.db.php
    http://culttt.com/2012/10/01/roll-your-own-pdo-php-class/
    https://gist.github.com/skhani/5aebd11015881fb3d288
    http://culttt.com/2012/09/24/prevent-php-sql-injection-with-pdo-prepared-statements/
    PDO
    http://codereview.stackexchange.com/questions/3806/pdo-wrapper-class
  • jquery Multi file upload preview

    jquery Multi file upload preview

     

    http://www.fyneworks.com/jquery/multifile/#Usage
    http://www.raymondcamden.com/2013/09/10/Adding-a-file-display-list-to-a-multifile-upload-HTML-control
    http://www.formget.com/upload-multiple-images-using-php-and-jquery/
    CAPTCHA php
    http://www.codeproject.com/Articles/26595/CAPTCHA-Image-in-PHP

    https://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html
    http://www.tutorialchip.com/php-upload-class/#tab-download
    http://www.heylove.de/
    http://jindo.dev.naver.com/smarteditor/user_guide/
  • windows musthave package

    Windows 필수 패키지

    무료 프로그램으로 더욱 다양해지는 Windows 기능.
    http://windows.microsoft.com/ko-kr/windows/essentials
  • ​Fade, Slide with bullet

    Fade, Slide with bullet

    http://rygine.com/projects/looper.js/docs/#examples-cross-fade
    http://jsfiddle.net/e4STr/1/
    http://www.lambertgroupproductions.com/canyon/full_screen_background/fullscreen_background_bullets_fade_transition.html
  • ​Macrium Reflect trouble shoot

    Macrium Reflect 0x8888ffff VSS 관련 오류 해결법

    https://support.microsoft.com/ko-kr/kb/929135 크린부트.
    http://knowledgebase.macrium.com/pages/viewpage.action?pageId=3276839
    Macrium Reflect
    http://cdmanii.com/3635

    페로브스카이트
    SSD 마이그레이션
    http://cdmanii.com/3635
    bcdboot E:\windows /s E: /l ko-kr
    –> xp 의 경우에는 필요 없는 듯.
    –> download folder에 bcdboot 32,64 툴 있음.
  • ​Table Tree

    ​Table Tree

    http://labs.abeautifulsite.net/archived/jquery-fileTree/demo/

    http://www.jqueryrain.com/?TWLUHFmT 사이트맵용

     http://www.jqueryrain.com/?9_I6fGfI
    http://www.jqueryrain.com/demo/jquery-treeview/
    http://ludo.cubicphuse.nl/jquery-treetable/#examples
    https://github.com/RisingStack/react-way-immutable-flux
    http://wwwendt.de/tech/dynatree/doc/samples.html
    http://wwwendt.de/tech/fancytree/demo/#https://github.com/mar10/fancytree/
  • how to change terminal service port(3389)

    서버에 설치된 터미널 서비스의 포트번호(3389) 변경!

    실행 : regedit -> 레지스트리 편집기
    -> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
        \Terminal Server\WinStations\RDP-Tcp
    -> PortNumber 속성 수정 -> (변경) 포트번호 입력
  • social commerce strategy process

    [소셜커머스랩의 소셜커머스 전략 프로세스]

    1. 소셜커머스에 대해 제대로 이해하라 : 패러다임, 비즈니스모델, 플랫폼의 종류
    2. 소셜커머스를 하는 목표를 분명히 하라.
    3. 핵심 성공 요인을 규명하라.
    4 플랫폼 믹스를 하고, 플랫폼 별 전술을 수립하라.
    5. 고객 참여를 설계하라.
    6. 보상을 설계하라.
    7. 영향력 있는 소수자와 커뮤니티를 형성하라.
    8. 보조 마케팅 수단 및 홍보 채널을 검토하라.
    9. 인력, 투자, 개발 계획을 세워라.
    10. ROI 측정 설계를 하라.
    11. 실행하라.
    12. 점검, 피드백, 전략의 수정을 반복하라.
    비즈니스 모델
    소셜쇼핑, 프라이빗쇼핑클럽, F-Commerce, 소셜커머스애플리케이션, 소셜커머스 커뮤니티, 오픈마켓, 딜어그리게이터, B2B 서비스 등
    SNS 연동 방식
    SNS 링크형, 소셜웹형, SNS몰형, 오프라인 연동형, 디바이스 연동형 등
    소셜커머스 플랫폼
    홈페이지, 블로그, 트위터, 페이스북, 미투데이, 포스퀘어, 오프라인, 디바이스 등
  • encoding utf-8 vs euc-kr

    jsp1 에서는 utf-8, jsp2 에서는 euc-kr 문자를보내주는데

    utf-8에서 보내주는 한글은 깨지고
    euc-kr에서 보내주는 한글은 정상적으로 받아집니다.
    javascript
    function fncEnCode(param)
    {
    // sjisbmoc
    var encode = ”;
    for(i=0; i<param.length; i++)
    {
    var len = ”+param.charCodeAt(i);
    var token = ” + len.length;
    encode += token + param.charCodeAt(i);
    }
    return encode;
    }
    function fncDeCode(param)
    {
    // sjisbmoc
    var sb = ”;
    var pos = 0;
    var flg = true;
    if(param != null)
    {
    if(param.length>1)
    {
    while(flg)
    {
    var sLen = param.substring(pos,++pos);
    var nLen = 0;
    try
    {
    nLen = parseInt(sLen);
    }
    catch(e)
    {
    nLen = 0;
    }
    var code = ”;
    if((pos+nLen)>param.length)
    code = param.substring(pos);
    else
    code = param.substring(pos,(pos+nLen));
    pos += nLen;
    sb += String.fromCharCode(code);
    if(pos >= param.length)
    flg = false;
    }
    }
    }
    return sb;
    }
    java
    public static String EnCode(String param)
    {
    // sjisbmoc
    StringBuffer sb = new StringBuffer();
    if(param == null)
    {
    sb.append(“”);
    }
    else
    {
    if(param.length()>0)
    {
    for(int i=0; i<param.length(); i++)
    {
    String len = “”+((int)param.charAt(i));
    sb.append(len.length());
    sb.append(((int)param.charAt(i)));
    }
    }
    }
    return sb.toString();
    }
    public static String DeCode(String param)
    {
    // sjisbmoc
    StringBuffer sb = new StringBuffer();
    int pos = 0;
    boolean flg = true;
    if(param!=null)
    {
    if(param.length()>1)
    {
    while(flg)
    {
    String sLen = param.substring(pos,++pos);
    int nLen = 0;
    try
    {
    nLen = Integer.parseInt(sLen);
    }
    catch(Exception e)
    {
    nLen = 0;
    }
    String code = “”;
    if((pos+nLen)>param.length())
    code = param.substring(pos);
    else
    code = param.substring(pos,(pos+nLen));
    pos += nLen;
    sb.append(((char) Integer.parseInt(code)));
    if(pos >= param.length())
    flg = false;
    }
    }
    }
    else
    {
    param = “”;
    }
    return sb.toString();
    }