Skip to content

Instantly share code, notes, and snippets.

View bluems's full-sized avatar

BlueMS bluems

View GitHub Profile
<VirtualHost *:port>
ServerName domain
DocumentRoot /var/www/path
ErrorLog /var/log/httpd/error_log_path
CustomLog /var/log/httpd/access_log_path common
<Directory "/var/www/path">
Require all granted
</Directory>
</VirtualHost>
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Safeytyedu 새버전 인터페이스용 스킵
새버전 : Non-Flash Version 으로 구성된 HTML5 기반 플레이어.
var footer = document.getElementById('footer');
var lastPage = footer.lastElementChild.lastElementChild.childNodes.item(1).innerText;
location.href = chapterInfo[Number(lastPage) - 1].fileName + ".html?passedPage="+String(Number(lastPage)-2)+"&checkurl="+lastPage;
@bluems
bluems / preprocessor_fun.h
Created February 24, 2019 11:59 — forked from aras-p/preprocessor_fun.h
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,