Setting up a Mac for installation
Setting up a Windows machine for installation
ffWorks GUI for the all powerful FFmpeg
Setting up a Mac for installation
Setting up a Windows machine for installation
ffWorks GUI for the all powerful FFmpeg
<?php | |
/** | |
* I was having trouble with socket connections timing out reliably. Sometimes, | |
* my timeout would be reached. Other times, the connect would fail after three | |
* to six seconds. I finally figured out it had to do with trying to connect to | |
* a routable, non-localhost address. It seems the socket_connect call would | |
* not fail immediately for those connections. This function is what I finally | |
* ended up with that reliably connects to a working server, fails quickly for | |
* a server that has an address/port that is not reachable and will reach the |
/** | |
* Created by PhpStorm. | |
* Author: Stepan Seliuk <stepan@selyuk.com> | |
* Date: 30/08/14 | |
* Time: 20:20 | |
*/ | |
if ( typeof window.MyApp === 'undefined' ) window.MyApp = {}; | |
MyApp.ttLib = { |
# Usage: | |
# source iterm2.zsh | |
# iTerm2 tab color commands | |
# https://iterm2.com/documentation-escape-codes.html | |
if [[ -n "$ITERM_SESSION_ID" ]]; then | |
tab-color() { | |
echo -ne "\033]6;1;bg;red;brightness;$1\a" | |
echo -ne "\033]6;1;bg;green;brightness;$2\a" |