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:
# pull subrepos | |
gplall () { | |
# look into immediate subdirectories | |
for dir in ./*/ | |
do | |
cd ${dir} | |
# check if exit status of above was 0, indicating we're in a git repo | |
if [ -d ".git" ] | |
then | |
# capture name of current branched checked out |
#!/usr/bin/env bash | |
# save this file on your local machine as 'gifme.sh' (or file name of your choice) | |
# run the following command wherever you saved this file: | |
# bash gifme.sh | |
# Check for Homebrew, install if we don't have it | |
echo "Installing Homebrew........" | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
require 'optparse' | |
require 'csv' | |
# requires `ghi` gem is installed on your machine https://github.com/stephencelis/ghi | |
# As a protection mechanism, the actual generation of issues is commented out. | |
# when you've tested the output, the uncomment the `ghi` line in the try/accept | |
# block towards the bottom of this file | |
# ghi [command] -- [repo] |
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls |
I hereby claim:
To claim this, I am signing this object:
class ExampleJob < ApplicationJob | |
queue_as :default | |
def perform(user) | |
# do some work | |
# HACK: get around limitations in devise/warden when rendering | |
# views outside the context of a formal http request | |
renderer = ::ApplicationController.renderer.new | |
renderer_env = renderer.instance_eval { @env } |
This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.
http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL
{ | |
"comment": "This is the settings file for the SVGO Compressor Plugin. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>", | |
"pretty": true, | |
"indent": 2, | |
"plugins": [ | |
{ | |
"name": "cleanupIDs" | |
}, | |
{ | |
"name": "cleanupListOfValues", |
--- | |
:assignments: | |
:section_avg: | |
1: | |
:due: '2017-01-01' | |
:points_possible: 10 | |
:points_received: 6 | |
:title: Aspernatur accusamus quia natus cumque sed saepe eveniet. | |
2: | |
:due: '2017-01-04' |