표준 마크다운 문법을 따르는 문서에서는 유튜브에서 제공하는 iframe 태그는 차단됩니다. 그래서 약간의 트릭이 필요합니다. 스크린샷 이미지에 링크를 다는 것이지요.
아래와 같은 방식으로
[](유투브링크)
깃헙의 LFS를 설명해 놓은 동영상을 링크를 걸면
| # 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"; } |
| find project/dir/ -type f -iname "*.php" -exec php -d short_open_tag=On the_script.php {} \; |
| <?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 |
(원문 http://www.sailmaker.co.uk/blog/2013/05/05/migrating-from-svn-to-git-preserving-branches-and-tags-3/ )
git svn 을 사용해서 SVN에서 브랜치와 태그를 보존하면서 Git으로 전환하는 것을 설명한다.
$ mkdir staging
| # Install tmux 2.8 on Centos | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # cd src | |
| cd /usr/local/src | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz |
| /** | |
| * Download file from path and mimetype. | |
| * | |
| * @param $path | |
| * @param $mimetype | |
| * @param null $filename | |
| */ | |
| function download_file ($path, $mimetype, $filename = NULL) { | |
| if (empty($filename)) { | |
| $filename = pathinfo($path, PATHINFO_BASENAME); |
| #include <boost/log/common.hpp> | |
| #include <boost/log/utility/setup/common_attributes.hpp> | |
| #include <boost/log/sinks/text_ostream_backend.hpp> | |
| #include <boost/log/utility/empty_deleter.hpp> | |
| #include <boost/log/sinks.hpp> | |
| #include <boost/log/expressions.hpp> | |
| #include <boost/log/utility/record_ordering.hpp> | |
| #include <boost/log/support/date_time.hpp> |