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:
| server { | |
| listen 80; | |
| root /var/www/craft.dev/public; | |
| index index.php index.html index.htm; | |
| server_name craft.dev; | |
| location / { | |
| try_files $uri $uri/ @rewrites; |
| #!/bin/bash | |
| ### VARIABLES ### | |
| PRE_PACK="openssl-devel pcre-devel make gcc" | |
| VER="1.5.1" | |
| # Setup Colours | |
| black='\E[30;40m' | |
| red='\E[31;40m' |
| <?php | |
| if ( ! function_exists('config_path')) | |
| { | |
| /** | |
| * Get the configuration path. | |
| * | |
| * @param string $path | |
| * @return string | |
| */ |
| #!/bin/sh | |
| wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.9-osx10.10-x86_64.tar.gz | |
| tar xfvz mysql-5.7* | |
| echo "stopping mamp" | |
| sudo /Applications/MAMP/bin/stop.sh | |
| sudo killall httpd mysqld | |
| echo "creating backup" |
| upstream websocket { | |
| server localhost:3000; | |
| } | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| access_log /var/log/nginx/websocket.access.log main; |
| Description=Redis In-Memory Data Store | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| User=redis | |
| Group=redis | |
| Environment=statedir=/run/redis | |
| PermissionsStartOnly=true | |
| PIDFile=/run/redis/redis.pid |
| <?php | |
| namespace App\Traits; | |
| use Illuminate\Support\Str; | |
| use App\Exceptions\InvalidEnumException; | |
| trait Enums | |
| { | |
| /** |
| # Backup frontend for borg | |
| # | |
| # Usage: ./backup.sh <repository> [--backup|--restore <path>|--unmount <path>] | |
| # | |
| # Dependencies: borg, fuse | |
| ################################################################################ | |
| # # | |
| # Backup Configuration # |