Skip to content

Instantly share code, notes, and snippets.

;========================================================================
;
; Dynamic Function Tester
;
; Author: Pulover [Rodolfo U. Batista]
; [email protected]
;
;========================================================================
; Number of Rows for each parameter and for result:
@wyrover
wyrover / app.js
Created August 19, 2014 09:04 — forked from auser/app.js
angular.module('myApp', ['ngRoute'])
.provider('Weather', function() {
var apiKey = "";
this.getUrl = function(type, ext) {
return "http://api.wunderground.com/api/" +
this.apiKey + "/" + type + "/q/" +
ext + '.json';
};

Animated Login Form

Using and possibly abusing some CSS animations.

Firefox users, let the animation play through once, then click replay. Firefox is quite buggy with animations, it never seems to load correctly the first time.

Full source for this Pen including build tools are up on Git: https://github.com/nicklassandell/Animated-Login-Form

I wrote a library for the automatic form filling as well. Fyll.js is a lightweight, dependency free form filler with expressive syntax. It's cool, check it out.

# -*- coding:utf-8 -*-
import requests
from time import sleep
from threading import Thread
UPDATE_INTERVAL = 0.01
class URLThread(Thread):
def __init__(self, url, timeout=10, allow_redirects=True):
super(URLThread, self).__init__()
# -*- coding:utf-8 -*-
import requests, os, re, sys, time
from time import sleep
from threading import Thread
reload(sys)
sys.setdefaultencoding('utf8')
UPDATE_INTERVAL = 0.01