Skip to content

Instantly share code, notes, and snippets.

View bydmm's full-sized avatar
🦆
Gu Gu Gu

ChengKa bydmm

🦆
Gu Gu Gu
View GitHub Profile
@bydmm
bydmm / _pg_tag_usage.md
Created April 9, 2017 10:00 — forked from raykin/_pg_tag_usage.md
Extent PG array query in Rails

In Gemfile

gem 'pg_tag', git: 'git://gist.github.com/895e8e58ba83f72efd2a.git', require: 'pg_tag'

In rails model file

has_pg_tag **** # your col name

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: