What I find interesting.....
Sublime Text Multiple Cursors Select Next

Sublime Text Multiple Cursors Select Next

Did you know that you can use multiple cursors in Sublime Text?  If you want to auto select all of the instances of a certain text, simply highlight it, then press hold <code>Cmd</code> and keep pressing <code>D</code> to select all the instances of a word. Now you have multiple cursors, so you can edit all those instances at the same time. Pretty neat huh?

View On WordPress

How to remove Turbolinks from Rails 4

How to remove Turbolinks from Rails 4

Turbolinks is included by default in Rails 4.  It does do a good job of making pages loading faster, but not reloading all the javascript on each page.  This works fine a lot of the time, but there are cases where you may want to have page specific javascript load only on a single page.  Turbolinks can also cause other issues with javascript now working, in my case it created a bug where I had to

View On WordPress

Split a Layer in Adobe After Effects

Split a Layer in Adobe After Effects

A simple thing, so a short post.  To split a layer in After Effects, the hotkey shortcut is Cmd+Shift+D.  This will split the layer at the position of the Current Time Indicator (the red line).  You can also select the layer and choose Edit -> Split Layer. This will work on audio, video, or image layers.

View On WordPress

Sublime Text Delete Line Keyboard Shortcut

I use Sublime Text as my text editor of choice for coding.  To delete a line, the keyboard shortcut is

ctrl+shift+k

View On WordPress

Change something using JQuery on dropdown menu select

How do you change something dynamically on your webpage whenever a user selects something from a dropdown menu select box?

Here’s how:

Use the “.change” function

$(#my_element).change(function() {

  alert("changed value to" + document.getElementById("my_element").value);

});

View On WordPress

Enable Chinese Characters in Kindle App For Android (Nexus 7 2013)

So I recently purchased a Chinese version of “The Country of the Blind“, created by the famous John Pasden (of Sinosplice fame) and Mandarin Companion.  I’m super excited to find this type of resource, as A) it is severely lacking, and B) it is exactly where I am in my current Chinese journey.

So I bought it through the Kindle app on my beloved Nexus 7 (2013).  Then I open it and all the Chinese…

View On WordPress

Remove red tint filter when importing screen recording to iMovie or Final Cut Pro X

Remove red tint filter

A very strange and annoying but happens when importing a screen recording into iMovie or Final Cut Pro X.  After taking a screen recording using QuickTime, when I try to import it into iMovie or Final Cut Pro X, the entire clip is covered with this red tint.

Screen Shot 2014-02-28 at 6.25.03 AM

There is an easy fix.  Before importing the video into iMovie or Final Cut Pro, right click on the file and select “Encode Selected Video…

View On WordPress

How to cut a video clip in Final Cut Pro 10

Very easy – simply press ‘B’ and the cursor will switch to a blade icon.  Click on the clip where you want to cut, and done!  Press ‘A’ to switch back to the normal cursor.

(credit here)

I couldn’t figure out how to get the blade cursor to show up in a screenshot – anyone know how to do that?

View On WordPress

Setting Up Email in a Rails 4 app with Action Mailer in development and SendGrid in production using Heroku

See the new post on my Rails blog!

View On WordPress

How to Synch Titanium Backup with Box account

If you’re like me, you use the Titanium Backup app (and here) to backup all your apps and data so that if you often switch phones or install now Android custom ROMs you can easily restore all your apps and their data and settings.

I’ve been using this app for years, and always just backed up to the SD card.  But if you’re phone doesn’t have an SD card, then it’s a pain to copy all the backup…

View On WordPress