Skip to content

Instantly share code, notes, and snippets.

View ken107's full-sized avatar

Sarsa Parilla ken107

View GitHub Profile
@jfacorro
jfacorro / install-picotts.sh
Created February 12, 2018 11:00
Install PicoTTS in CentOS
#!/bin/bash
# Installer for SVOX Pico TTS on non-Debian platforms
# Author: Steven Mirabito <smirabito@csh.rit.edu>
# Check architechure
if [ $(uname -m) == 'x86_64' ]; then
pkgarch="amd64"
else
pkgarch="i386"
@paulirish
paulirish / rAF.js
Last active March 22, 2024 00:00
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@mattcg
mattcg / flashpolicy.xml
Created July 25, 2010 20:05
A simple Flash socket policy server for NodeJS.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<!-- Policy file for xmlsocket://socks.example.com -->
<cross-domain-policy>
<!-- This is a master socket policy file -->
<!-- No other socket policies on the host will be permitted -->
<site-control permitted-cross-domain-policies="master-only"/>