Skip to content

Instantly share code, notes, and snippets.

View ryan-w-moore's full-sized avatar

Ryan W Moore ryan-w-moore

View GitHub Profile
@ryan-w-moore
ryan-w-moore / templated.php
Created November 13, 2015 02:12 — forked from sicksand/templated.php
Stumble this upon site ( http://templated.co ) that offer over 800+ HTML5 + CSS + Responsive. This php script will download the file automatically. For now, the page is now 20.
<?php
/*
Name - templated.php
Author - Shafiq Mustapa (me@shafiqmustapa.my)
Usage - php templated.php
Stumble this upon site (http://templated.co)that offer over 800+ HTML5 + CSS + Responsive.
This php script will download the file automatically. For now, the page is now 7.
Tools
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);
// Load the TCP Library
net = require('net');
// Keep track of the chat clients
var clients = [];
// Start a TCP Server
net.createServer(function (socket) {
// Identify this client