This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #!/bin/bash | |
| # | |
| # Whitelist Pingdom probe-servers in iptables. | |
| # | |
| # Create a chain called "PINGDOM" and jump to it somewhere before | |
| # the final REJECT/DROP, e.g. | |
| # | |
| # # New chain for Pingdom rules | |
| # :PINGDOM - [0:0] | |
| # |
| PayPal blocks copy/paste actions in their "change password" form, | |
| citing some irrelevant security issues as the reason. That's a | |
| load of crap, and they know it -- disabling copy/paste makes it a | |
| lot harder to use a decent password generator and a lot easier to | |
| screw up your pwd when retyping, especially if it's a long one | |
| (as it should be!). | |
| So, here's the quick'n'dirty way to use an externally generated | |
| password in your PayPal account: |
| <?php | |
| /* | |
| Plugin Name: WP_Rewrite endpoints demo | |
| Description: A plugin giving example usage of the WP_Rewrite endpoint API | |
| Plugin URI: http://make.wordpress.org/plugins/2012/06/07/rewrite-endpoints-api/ | |
| Author: Jon Cave | |
| Author URI: http://joncave.co.uk/ | |
| */ | |
| function makeplugins_endpoints_add_endpoint() { |
| brew install flac ffmpeg cuetools # ставим нужные пакеты | |
| # скачиваем cuetag.sh скрипт, например отсюда https://github.com/gumayunov/split-cue/blob/master/cuetag | |
| ffmpeg -i 1.ape 1.flac # конвертируем во flac, так как libmac для APE не ставится на osx | |
| cuebreakpoints 1.cue | shnsplit -o flac 1.flac #нарезаем на треки | |
| cuetag 1.cue split-track*.flac #прописываем тэги (cuetag.sh ставится отдельно отдельно) | |
| #конвертируем в ALAC | |
| for f in split-track*.flac | |
| do |
| <?php | |
| //Drop-in replacement for PHP's SoapClient class supporting connect and response/transfer timeout | |
| //Usage: Exactly as PHP's SoapClient class, except that 3 new options are available: | |
| // timeout The response/transfer timeout in milliseconds; 0 == default SoapClient / CURL timeout | |
| // connecttimeout The connection timeout; 0 == default SoapClient / CURL timeout | |
| // sslverifypeer FALSE to stop SoapClient from verifying the peer's certificate | |
| class SoapClientTimeout extends SoapClient | |
| { | |
| private $timeout = 0; | |
| private $connecttimeout = 0; |