This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Animate from top | |
$('.animated').waypoint(function() { | |
$(this).toggleClass($(this).data('animated')); | |
}, | |
{ offset: 'bottom-in-view' }); | |
//Animate from bottom | |
$('.animated').waypoint(function() { | |
$(this).toggleClass($(this).data('animated')); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clock starter | |
seconds = 0 | |
minutes = 0 | |
hours = 0 | |
frame=0 | |
movieFile = 'TheMovie.avi' | |
while True: | |
seconds +=1 | |
if seconds >= 60: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We use the twython lib to post in twitter | |
from twython import Twython | |
import time, sys | |
# Twitter Keys | |
# API key | |
APP_KEY = '' | |
# Secret API key | |
APP_SECRET = '' | |
# Access token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gist test from sublime2 |