Skip to content

Instantly share code, notes, and snippets.

View hongry18's full-sized avatar

hongry hongry18

View GitHub Profile

Regular Expression

Lookahead & Lookbehind

positive Lookahead

positive lookahead는 a다음 b가 오도록 한다.

var reg = /a(?=b)/g;
@hongry18
hongry18 / README.md
Created April 5, 2019 07:06 — forked from vitkin/README.md
Backport WebSocket to Apache 2.2 that doesn't modify the 'mod_utils.c' and the 'mod_proxy.h'. See the 'README.md' for details and instructions.

Backport WebSocket to Apache 2.2

This is my variation from the original patch and that also includes the suggested correction for the bug with secure websocket 'wss://'.

The difference is that I avoid modifying the mod_utils.c and the mod_proxy.h so that if the mod_proxy module has been embedded in the main httpd binary then it will work and you won't get the

@hongry18
hongry18 / cmake-tutorial.md
Created May 28, 2019 05:21 — forked from luncliff/cmake-tutorial.md
CMake 할때 쪼오오금 도움이 되는 문서

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다

참고자료

@hongry18
hongry18 / gdb-osx-mojave.md
Created June 18, 2019 06:28
gdb install guid with brew

brew install gdb

generate keychain gdb-cert

vi gdb-gdb-entitlement.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">

OpenCV install in mac

install homebrew

install requirements

brew install python3
brew install cmake

install ffmpeg on Mac 14

dependencies

  • pkg-config
  • freetype2
  • fribidi
  • libass
  • x264

pkg-config

@hongry18
hongry18 / redis.install.on.centos7.md
Last active August 27, 2019 05:55
redis.install.on.centos7.md