Skip to content

Instantly share code, notes, and snippets.

View yoshikig's full-sized avatar
🏠
Working from home

yoshiki iguchi yoshikig

🏠
Working from home
View GitHub Profile
Chrome
D:PAI(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(XA;OICIID;FA;;;BU;(APPID://PATH Any_of {"%PROGRAMFILES%\GOOGLE\CHROME\APPLICATION\CHROME.EXE"}))
@yoshikig
yoshikig / chinachu.patch
Created August 26, 2015 01:37
[Chinachu] Fix ffmpeg compile failure
diff --git a/chinachu b/chinachu
index 7ff0370..b6badf4 100755
--- a/chinachu
+++ b/chinachu
@@ -456,7 +456,7 @@ chinachu_installer_ffmpeg () {
--enable-filter=yadif \
--enable-filter=trim \
--extra-cflags="-I${USR_DIR}/include --static" \
- --extra-ldflags="-L${USR_DIR}/lib"
+ --extra-ldflags="-L${USR_DIR}/lib -static"
@yoshikig
yoshikig / homebrew_install.sh
Created July 25, 2015 06:13
homebrew を home directory に install
#!/bin/sh
cd ~
mkdir homebrew
curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew
@yoshikig
yoshikig / caps2ctrl.reg
Created October 6, 2012 18:28
Windows: Caps -> Ctrl registory
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
class String
def +@
p "+@ '#{self}'"
end
def -@
p "-@ '#{self}'"
end
def +(s)
p "'#{self}' + '#{s}'"
end