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:
| # Quicker navigation | |
| alias ..="cd .." | |
| alias ...="cd ../.." | |
| alias ....="cd ../../.." | |
| alias .....="cd ../../../.." | |
| alias ......="cd ../../../../.." | |
| alias .......="cd ../../../../../.." | |
| # Aliases | |
| alias ll='ls -l' |
| # Before Script | |
| before_script: | |
| - composer self-update | |
| - composer install --prefer-dist > /dev/null | |
| - cp .env.example .env | |
| - php artisan key:generate | |
| - php artisan migrate:refresh | |
| # Services | |
| services: |
| // ImageMagick - Convert SVG to PNG w/ transparency | |
| // | |
| // - open terminal | |
| // | |
| // - confirm you have imagemagick installed | |
| // --- type: convert -v | |
| // | |
| // - cd to folder | |
| // | |
| // - single file |
| <form id="contact-form" action="//formspree.io/your@email.com" method="post"> | |
| <input type="text" name="Name" placeholder="Name" required> | |
| <input type="email" name="Email" placeholder="Email" required> | |
| <textarea name="Message" cols="30" rows="6" placeholder="Message" required></textarea> | |
| <!-- CONFIG --> | |
| <input class="is-hidden" type="text" name="_gotcha"> | |
| <input type="hidden" name="_subject" value="Subject"> | |
| <input type="hidden" name="_cc" value="email@cc.com"> | |
| <!-- /CONFIG --> | |
| <input class="submit" type="submit" value="Send"> |
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * This script will download and install https://github.com/pantheon-systems/wp-native-php-sessions | |
| * on your Pantheon Wordpress site. | |
| * | |
| * Works on Macintosh / Linux. | |
| * | |
| * Usage: | |
| * |
| #!/bin/bash | |
| # must have fswebcam installed | |
| command -v fswebcam >/dev/null 2>&1 || { | |
| echo "I require fswebcam but it's not installed. Aborting." >&2; exit 1; | |
| } | |
| # must have rsync installed | |
| command -v rsync >/dev/null 2>&1 || { | |
| echo "I require rsync but it's not installed. Aborting." >&2; exit 1; |
| # Define image we want to build from | |
| FROM node:7.9 | |
| # Setup the directory structure for our web app | |
| RUN mkdir -p /usr/src/app | |
| WORKDIR /usr/src/app | |
| # Get the deps - only if not included in the deploy!! | |
| # COPY package.json /usr/src/app/ | |
| # RUN npm install |
| # Start from a Debian image with the latest version of Go installed | |
| # and a workspace (GOPATH) configured at /go. | |
| FROM golang | |
| # Copy the local package files to the container's workspace | |
| ADD . /go/src/github.com/username/program | |
| # bake in some environment variables? | |
| # ENV SOME_ENV "" |