Skip to content

Instantly share code, notes, and snippets.

View rdela's full-sized avatar
🐞
Various bug fixes and improvements

Ricky de Laveaga rdela

🐞
Various bug fixes and improvements
View GitHub Profile
#!/bin/bash
# encode.sh
#
# Copyright (c) 2013 Don Melton
#
# This version published on June 7, 2013.
#
# Re-encode video files in a format suitable for playback on Apple TV, Roku 3,
# iOS, OS X, etc.
#!/bin/bash
# batch.sh
#
# Copyright (c) 2013 Don Melton
#
# This version published on June 8, 2013.
#
# Batch control for the "encode.sh" script.
#
#!/bin/bash
#
# transcode-video.sh
#
# Copyright (c) 2013-2014 Don Melton
#
# This script uses `HandBrakeCLI` (see: <http://handbrake.fr/>) to transcode a
# video file or disc image directory into a format and size similar to videos
# available for download from the iTunes Store.
#
#!/bin/bash
#
# detect-crop.sh
#
# Copyright (c) 2013-2014 Don Melton
#
about() {
cat <<EOF
$program 2.0 of February 7, 2014
#!/bin/bash
#
# convert-mp4-to-mkv.sh
#
# Copyright (c) 2013-2014 Don Melton
#
about() {
cat <<EOF
$program 1.0 of May 30, 2014
@rdela
rdela / mikeHide.js
Created August 2, 2011 23:03
mikeHide by SlexAxton, "show() and hide() for visibility (not display)" - mahemoff
// https://twitter.com/#!/slexaxton/status/98504141877411842
$.fn.mikeHide = function (t,cb) {
return this.animate({
opacity:0
},'swing',t,cb);
};
@rdela
rdela / runme.sh
Created April 5, 2012 21:49 — forked from cowboy/runme.sh
Linkify every H2+ in *.md MarkDown files with a ⚑ for GitHub-friendly deep-linking.
ruby -pi -e '$_.gsub!(/(##+)\s+(.*?)\s*\n/){a,b=$1,$2;name=b.downcase.gsub(/\W+/,"-").gsub(/^-|-$/,"");%{#{a} #{b} <a name="#{name}" href="##{name}" title="Link to this section">⚑</a>\n}}' *.md
@rdela
rdela / gist:2316085
Created April 6, 2012 02:23 — forked from luetkemj/wp-query-ref.php
WP: Query $args
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(
@rdela
rdela / Solarized High Contrast Dark.itermcolors
Created June 22, 2012 22:58 — forked from heisters/Solarized High Contrast Dark.itermcolors
Solarized High Contrast Dark theme for iTerm2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.19370138645172119</real>
<key>Green Component</key>
<real>0.15575926005840302</real>
@rdela
rdela / gist:2984772
Created June 24, 2012 20:20 — forked from cameronmcefee/gist:2641743
Font Configuration File
# Font Squirrel Font-face Generator Configuration File
# Upload this file to the generator to recreate the settings
# you used to create these fonts.
{"mode":"expert","formats":["ttf","woff","eot","svg"],"tt_instructor":"default","options_subset":"advanced","subset_custom":"","subset_custom_range":"f000-f073,f200-f273","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0","rememberme":"Y"}