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:
| """ | |
| Copies all keys from the source Redis host to the destination Redis host. | |
| Useful to migrate Redis instances where commands like SLAVEOF and MIGRATE are | |
| restricted (e.g. on Amazon ElastiCache). | |
| The script scans through the keyspace of the given database number and uses | |
| a pipeline of DUMP and RESTORE commands to migrate the keys. | |
| Requires Redis 2.8.0 or higher. |
| $lead = array('name' => 'test'); | |
| $headers = array('Content-Type' => 'application/json'); | |
| $options = array('auth' => array('YOUR_API_KEY', '')); | |
| $request = Requests::post('https://api.close.com/api/v1/lead/', $headers, json_encode($lead), $options); |