Skip to content

Instantly share code, notes, and snippets.

@pokev25
pokev25 / Svn2Git.md
Created November 7, 2016 02:06 — forked from ikaruce/Svn2Git.md
SVN에서 Git으로 전환하기(브랜치와 태그 보전하면서)
@pokev25
pokev25 / addYoutubeInMarkdown.md
Created November 7, 2016 02:07 — forked from ikaruce/addYoutubeInMarkdown.md
Add youtube link with screenshot in markdown.

마크다운 문서에 유튜브 링크 추가하기.

표준 마크다운 문법을 따르는 문서에서는 유튜브에서 제공하는 iframe 태그는 차단됩니다. 그래서 약간의 트릭이 필요합니다. 스크린샷 이미지에 링크를 다는 것이지요.

아래와 같은 방식으로

[![이미지 텍스트](스크린샷 이미지)](유투브링크)

깃헙의 LFS를 설명해 놓은 동영상을 링크를 걸면

@pokev25
pokev25 / ocp.php
Created November 28, 2016 00:51 — forked from ck-on/ocp.php
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2015-09-01 regex fix for PHP7 phpinfo
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter
@pokev25
pokev25 / shellcommand.sh
Created December 21, 2016 04:51 — forked from jeff1326/shellcommand.sh
script to parse PHP short open tags and convert ones to normal
find project/dir/ -type f -iname "*.php" -exec php -d short_open_tag=On the_script.php {} \;
@pokev25
pokev25 / varnish.tokyo.vcl
Created February 23, 2018 00:49 — forked from kimlindholm/varnish.tokyo.vcl
Varnish configuration example
# VCL configuration file for Varnish
# Define which IP addresses or hosts have access to files that are
# blocked from the public internet
acl internal {
"localhost";
}
# Define origin servers
backend web { .host = "1.2.3.4"; .port = "80"; }