Referencehttps://github.com/barryvdh/laravel-debugbar https://github.com/barryvdh/laravel-debugbar/issues/387 Execute in Terminalcomposer require barryvdh/laravel-debugbar ">=2.0" --dev Add to config/app.phpproviders[] : Barryvdh\Debugbar\ServiceProvider::class, alias[] : Barryvdh\Debugbar\ServiceProvider::class, Execute in Terminalphp artisan vendor:publish Add to app/Http/routes.php: Route::ge..
PHP -l 파일명
/** * @brief 본문 내 적절한 배너 삽입 위치 분석 후 [AD] 표식을 심음 * @author darthJun (itzone.tistory.com) * @date 2015-07-16 */ function injectBannerSignToContent($content) { // 본문 문단 구분 로 가정. 미니위니 에디터가 이러함 $paragraphs = preg_split("/ /i", $content); $paragraphCount = count($paragraphs); // 문단 수 $weight = 0;// 문단의 텍스트 가중치 $weights = array();// 문단별 텍스트 가중치 // 문단들 텍스트 가중치 측정 for($i=0; $i < $paragraphC..
Form view 코드를 아래와 같이 작성하고 ...... Submit 했더니 아래와 같은 오류 발생the action you have requested is not allowed위 오류가 발생하는 원인을 조회해보니 (http://cikorea.net/qna/view/6602/page/1)form helper를 사용 선언 후 form_open() 사용하면 해결된다는건데만약 퍼블리셔와 협업이 필요하다면 애로사항이 꽃필 수 있기에대안을 보니 $config['csrf_protection'] = TRUE; 를 FALSE 로 바꾸면 된다는건데 이것 또한 보안에 애로사항이 꽃피우니VIEW에 태그를 사용하면서 해결하는 방법은 ......
1. Composer 활용 laravel 실행파일 설치 $ composer global require "laravel/installer=~1.1"이후 laravel 실행파일 경로는Linux Shell : ~/.composer/vendor/binWindows Git Bash : ~/AppData/Roaming/Composer/vendor/bin위와같은 경로이므로 $ vi ~/.bash_profileexport PATH=~/AppData/Roaming/Composer/vendor/bin:$PATH하여 경로 추가 후$ source ~/.bash_profile반영하면 이후 명령줄에서 바로 laravel 호출이 가능해진다. 2. 프로젝트 생성$ composer create-project laravel/larave..
최근 워드프레스 커스터마이징을 하다보니 _(); 요런 함수에 'text' 값을 할당하면 _('text'); 함수가 "텍스트"를 리턴해주는 식의 localization 방식을 사용하길래 구글링 조회 후 간단한 구현을 해 보았다. 워드프레스에서 언어 관련하여 자주 보이는 주요 파일은 en_US.po en_US.mo 들인데 저 파일 중 텍스트에디터로 .po 파일을 열어보면 규칙성있는 내용이 나타난다. # 이것은 주석 msgid "text" msgstr "텍스트" 의 규칙을 가진 쌍으로 입력을 이어가면 된다는것을 알 수 있다. 그러면 워드프레스 환경이 아닌 순수한 PHP 에서는 어떻게 구현할 수 있는지 보자. PHP Extention 중 gettext 는 미리 탑재시켜야한다. 간단한 지역화 프로젝트를 아래와 같..
Visual C++ ReDistributable Package http://www.microsoft.com/ko-KR/download/details.aspx?id=30679 에서 설치된 PHP에 따라 OS비트에 맞게 다운받아 설치 (대개 x86)64비트 PHP 사용하고 싶다면 http://windows.php.net/download/ 에서 원하는 것 다운받고VC9과 VC11에 따라 Visual C++ ReDistributable for Visual Studio x86 x64 알맞게 설치
기본 언어 지역화는 http://www.cikorea.net/user_guide_2.1.0/libraries/language.html 참고 후http://www.cikorea.net/user_guide_2.1.0/helpers/language_helper.html 에서 언어 헬퍼 사용 권장 하는데 아래와 같이 사용하면 됨 $this->load->helper('language'); $this->lang->load('error','korean'); $error_url_string = lang('error_url_missing');
'Oh hai!', 'badge' => 1, 'sound' => 'default'); $output = json_encode($payload); $token = pack('H*', str_replace(' ', '', $token)); $apnsMessage = chr(0) . chr(0) . chr(32) . $token . chr(0) . chr(strlen($output)) . $output; fwrite($apns, $apnsMessage); fclose($apns);}?>
- Total
- Today
- Yesterday
- Make Use Of
- How to geek
- 인터넷 통계정보 검색시스템
- 트위터 공유 정보모음
- 웹표준KR
- 치우의 컴맹탈출구
- Dev. Cheat Sheets
- w3schools
- Dev. 조각들
- ASP Ajax Library
- CSS Tricks
- WebResourcesDepot
- jQuery Selectors Tester
- DeveloperSnippets
- Smashing Magazine
- Nettuts+
- devListing
- 웹 리소스 사이트(한)
- Mobile tuts+
- Dream In Code
- Developer Tutorials
- CSS3 Previews
- 자북
- 안드로이드 사이드
- Code Visually
- Code School
- SQLer.com
- 무료 파워포인트 템플릿
- iconPot
- Free PowerPoint Templates
- Design Bombs
- Web Designer Wall
- 1st Webdesigner
- Vandelay Design
- 무료 벡터 이미지 사이트들
- Tripwire Magazine
- Web TrendSet
- WebMonkey
- 윤춘근 프리젠테이션 디자이너 블로그
- cz.cc 무료 DNS
- [웹하드] MediaFire
- [웹하드] DivShare
- 한컴 인터넷 오피스
- sencha touch
- IOS
- iphone
- IE
- Docker
- Debug
- centos
- Chrome
- CSS
- javascript
- nginx
- ASP
- Mac
- JSON
- Wordpress
- PHP
- Android
- JQuery
- mssql
- classic asp
- 안드로이드
- laravel
- git
- 워드프레스
- nodejs
- API
- 한글
- iis
- Linux
- Prototype
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |