This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git rm --cached path/to/submodule | |
| Note: Do not put a trailing slash at the end of path. If you put a trailing slash at the end of the command, it will fail. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # clears all mails from sendmail queue | |
| sudo postsuper -d ALL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tar xzvf icu4c-4_4_2-src.tgz | |
| cd icu/source | |
| chmod +x runConfigureICU configure install-sh | |
| ./runConfigureICU MacOSX | |
| make | |
| sudo make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adb exec-out screencap -p > screen.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem uninstall libv8 | |
| brew install v8 | |
| gem install therubyracer | |
| gem install libv8 -v '3.16.14.3' -- --with-system-v8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name '*.DS_Store' -type f -delete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo mkdir /etc/racoon/remote | |
| sudo mv /var/run/racoon/*.conf /etc/racoon/remote | |
| sudo sed -i.bak 's/lifetime time 3600 sec/lifetime time 168 hours/' /etc/racoon/remote/*.conf | |
| sudo patch /etc/racoon/racoon.conf <<EOF | |
| --- /etc/racoon.orig/racoon.conf 2009-06-23 09:09:08.000000000 +0200 | |
| +++ /etc/racoon/racoon.conf 2009-12-11 13:52:11.000000000 +0100 | |
| @@ -135,4 +135,5 @@ | |
| # by including all files matching /var/run/racoon/*.conf | |
| # This line should be added at the end of the racoon.conf file | |
| # so that settings such as timer values will be appropriately applied. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(window) { | |
| 'use strict'; | |
| window.snapshot = function snap(video, width, height, download) { | |
| video = video || window.document.getElementsByTagName('video')[0]; | |
| width = video.width || video.videoWidth; | |
| height = video.height || video.videoHeight; | |
| var canvas = window.document.createElement('canvas'); | |
| canvas.width = width; | |
| canvas.height = height; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| convert input.jpg -crop 640x480 frames/frame-%03d.jpg |
OlderNewer