autopy - simple, cross-platform GUI automation toolkit. MIT - https://github.com/msanders/autopy/
- 432 stars, 102 forks, 2950 monthly downloads at 2015-05-13
- GUI toolkit agnostic
<?php | |
/** | |
* @author Han Lin Yap < http://zencodez.net/ > | |
* @copyright 2012 zencodez.net | |
* @license http://creativecommons.org/licenses/by-sa/3.0/ | |
* @package proxy | |
* @version 1.0 - 2012-05-01 | |
*/ | |
$method = $_SERVER['REQUEST_METHOD']; | |
$request = substr($_SERVER['PATH_INFO'], 1); |
<?php | |
# Nginx don't have PATH_INFO | |
if (!isset($_SERVER['PATH_INFO'])) { | |
$_SERVER['PATH_INFO'] = substr($_SERVER["ORIG_SCRIPT_FILENAME"], strlen($_SERVER["SCRIPT_FILENAME"])); | |
} | |
$request = substr($_SERVER['PATH_INFO'], 1); | |
$file = $request; | |
$fp = @fopen($file, 'rb'); |
autopy - simple, cross-platform GUI automation toolkit. MIT - https://github.com/msanders/autopy/
from kivy.app import App | |
from kivy.uix.effectwidget import AdvancedEffectBase | |
from kivy.lang import Builder | |
from kivy.properties import NumericProperty | |
KV = ''' | |
#:import Scanlines kivy.uix.effectwidget.ScanlinesEffect | |
#:import VerticalBlur kivy.uix.effectwidget.VerticalBlurEffect | |
#:import HorizontalBlur kivy.uix.effectwidget.HorizontalBlurEffect | |
#:import FXAA kivy.uix.effectwidget.FXAAEffect |
class TouchRippleBehavior(object): | |
ripple_rad = NumericProperty(10) | |
ripple_pos = ListProperty([0, 0]) | |
ripple_color = ListProperty((0., 0., 0., 1.)) | |
ripple_duration_in = NumericProperty(.4) | |
ripple_duration_out = NumericProperty(.4) | |
fade_to_alpha = NumericProperty(.12) | |
ripple_scale = NumericProperty(4.0) | |
ripple_func_in = StringProperty('in_cubic') | |
ripple_func_out = StringProperty('out_quad') |
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>tags</title> | |
<script type="text/javascript" src="jquery.min.js"></script> | |
<script type="text/javascript" src="d3.v2.min.js"></script> | |
#!/usr/bin/env/python | |
# | |
# More of a reference of using jinaj2 without actual template files. | |
# This is great for a simple output transformation to standard out. | |
# | |
# Of course you will need to "sudo pip install jinja2" first! | |
# | |
# I like to refer to the following to remember how to use jinja2 :) | |
# http://jinja.pocoo.org/docs/templates/ | |
# |
import bottle | |
from beaker.middleware import SessionMiddleware | |
session_opts = { | |
'session.type': 'memory', | |
'session.cookie_expires': 300, | |
'session.auto': True | |
} | |
app = SessionMiddleware(bottle.app(), session_opts) |
#!/bin/bash | |
# PhalconPhp with PHP7 installation on ubuntu:16.04 | |
sudo apt-get update | |
sudo apt-get install -y php7.0-fpm \ | |
php7.0-cli \ | |
php7.0-curl \ | |
php7.0-gd \ |