Needed a simple but pretty line chart for a presentation and ended up creating this.
Forked from Hakim El Hattab's Pen Animated Line Chart.
A Pen by Anonasaurus Rex on CodePen.
# -*- 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 |
# -*- 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__() |
Needed a simple but pretty line chart for a presentation and ended up creating this.
Forked from Hakim El Hattab's Pen Animated Line Chart.
A Pen by Anonasaurus Rex on CodePen.
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.
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'; | |
}; |
;======================================================================== | |
; | |
; Dynamic Function Tester | |
; | |
; Author: Pulover [Rodolfo U. Batista] | |
; [email protected] | |
; | |
;======================================================================== | |
; Number of Rows for each parameter and for result: |
; http://8bitdecals.com/wp-content/uploads/2012/06/pixel-superheroes.jpeg | |
#SingleInstance, Force | |
SetBatchLines -1 | |
PixelData= | |
( LTrim Join| | |
FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|064463|F3FFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|C9FBFF|0A88C5|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF | |
FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|064464|F6FFFE|FEFEFE|FFFFFF|FFFFFF|FEFEFE|CDFDFF|0B89C6|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF | |
FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|044564|0D8CC9|E9FFFF|FEFEFD|FEFEFD|D9FEFF|0072A9|098BC5|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF | |
FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|064464|0A6793|016995|016995|016B98|036998|006EA6|0A89C7|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF|FFFFFF |
;TVPath v1.1 based on wz520 v1.0 Patched by TSiNGKONG [tsingkong~gmail.com] 2015-05-15 | |
; 1. 本文件使用 UTF-16le 编码保存 | |
; 2. 兼容 Unicode 与 非Unicode TreeView | |
; 3. 兼容 AutoHotkeyA32, AutoHotkeyU32; 其他未测试 | |
; | |
;TVPath v1.0 Written By wz520 [wingzero1040~gmail.com] | |
; | |
; 函数:TVPath_Get | |
; 说明: | |
; 读取任意 SysTreeView32 控件的选中项目的路径。格式如 Root\Parent\SelectedItem(分隔符可自定义)。 |
/* | |
Makes the Gui window NoActivate but Clickable | |
Usage: | |
Gui_NoActivate(GuiHwnd, EnableEdit := False, Disable_RButton := False) | |
Parameters: | |
GuiHwnd - The Gui's hwnd | |
EnableEdit - True or False (default). Whether activates the GUI when an Edit Control is focused. | |
Disable_RButton - True or False (default) |
#Persistent | |
Small := 32 | |
Medium := 48 | |
Large := 96 | |
IconSize := Small | |
hDesktop := GetDesktop() | |
HalfW := A_ScreenWidth/2 |