Skip to content

Instantly share code, notes, and snippets.

View ianhouser's full-sized avatar

Ian Houser ianhouser

View GitHub Profile
@ianhouser
ianhouser / ae_markerTriggerReversePropertyAnimation
Last active March 18, 2019 18:42
After Effects Outro Expression
//Outro animation triggered by a Comp Marker
//It replays the property's prior animation in reverse, effectively allowing simple outro control on a transition.
//This will only work if there is one comp marker, though you could change the key index of t0 if you'd like to change markers (or switch from indexes to names).
//Written by Ian Houser (me@ianhouser.com) - 2019
//Let me know you make improvements or have questions.
try { //Error handling- if the trigger comp marker doesn't exist, don't continue. This keeps AE from creating expression error messages.
trigger = thisComp.marker.key(1); //Establish our trigger marker
if (time > trigger.time){ // If the current time is greater than the time of our trigger marker
t0 = thisComp.marker.key(1).time; // Returns the time of the comps trigger marker
t1 = thisProperty.key(1).time; // Returns the time of the keyframe with index 1
@ianhouser
ianhouser / twilio_sendSms.py
Created June 22, 2017 17:27
Send an SMS with Twilio with a Python script
from twilio.rest import TwilioRestClient
# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "SID"
auth_token = "TOKEN"
client = TwilioRestClient(account_sid, auth_token)
message = client.messages.create(body="This is the SMS text",
to="+1xxxxxxxxxx", # Replace with your phone number
from_="+1xxxxxxxxxx") # Replace with your Twilio number
@ianhouser
ianhouser / keybase.md
Created May 17, 2017 19:25
Keybase Proof

Keybase proof

I hereby claim:

  • I am ianhouser on github.
  • I am ianhouser (https://keybase.io/ianhouser) on keybase.
  • I have a public key ASBjLrBembDmnhGxJAu--5wSdS9OaODkJSe6UtRu07Mc9wo

To claim this, I am signing this object:

@ianhouser
ianhouser / Associated Groups
Last active May 9, 2017 18:09
CT-30 Z-Wave Tweaker Output
262744a5-ea72-4c22-a802-3339045ddebb
7:12:34 PM: info Association groups [0]: