Skip to content

Instantly share code, notes, and snippets.

View bevacqua's full-sized avatar

Nicolás Bevacqua bevacqua

View GitHub Profile

IMPORTANT! Remember to check out the wiki page at https://github.com/bebraw/jswiki/wiki/Game-Engines for the most up to date version. There's also a "notes" column in the table but it simply does not fit there... Check out the raw version to see it.

This table contains primarily HTML5 based game engines and frameworks. You might also want to check out the [[Feature Matrix|Game-Engine-Feature-Matrix]], [[Game Resources]] and [[Scene Graphs]].

Name Size (KB) License Type Unit Tests Docs Repository Notes
Akihabara 453 GPL2, MIT Classic Repro no API github Intended for making classic arcade-style games in JS+HTML5
AllBinary Platform Platform Dependent AllBinary 2D/2.5D/3D n

Hey there!

I'm pleased to announce that [the Pony Foo blog][1] has been completely rewritten from scratch! I've put a few months into it, but I got in many improvements, which I'm going to write a few articles about. Firstly, I wanted to write this email to introduce you to some of the concepts introduced to the engine.

Features

The blog is now backed by [NGINX][3], properly and aggressively caching static assets. I'm using [recluster][4] to achieve zero-downtime deployments while keeping the application servers on two separate processes. I've moved away from Heroku, and now the production environment is hosted on AWS EC2. It's provisioned, configured with sensitive environment variables, and deployed-to using [fast bash scripts][5].

Bash? Non-sense!

How to set up stress-free SSL on an OS X development machine

One of the best ways to reduce complexity (read: stress) in web development is to minimize the differences between your development and production environments. After being frustrated by attempts to unify the approach to SSL on my local machine and in production, I searched for a workflow that would make the protocol invisible to me between all environments.

Most workflows make the following compromises:

  • Use HTTPS in production but HTTP locally. This is annoying because it makes the environments inconsistent, and the protocol choices leak up into the stack. For example, your web application needs to understand the underlying protocol when using the secure flag for cookies. If you don't get this right, your HTTP development server won't be able to read the cookies it writes, or worse, your HTTPS production server could pass sensitive cookies over an insecure connection.

  • Use production SSL certificates locally. This is annoying

@bevacqua
bevacqua / a.md
Last active August 29, 2015 14:15

b

<img src='http://lawrencecconnolly.com/wp-content/uploads/2014/10/horror-of-dracula-2.jpg' width='100%' />
<table>
<thead>
<tr>
<th>PID</th>
<th>Level</th>
<th>Message</th>
<th>When</th>
</tr>
</thead>
@bevacqua
bevacqua / vodafone-fix.js
Last active August 29, 2015 14:21
Bookmarlet to fix "Insufficient Funds" interstitial
javascript:void(s=document.createElement('style'),document.body.appendChild(s),s.innerHTML='body{background-color:#d1ecf4;color:#555;font-family:"Comic Sans MS",Georgia,Helvetica}strong{font-size:50px;display:inline-block;text-align:center;-webkit-animation:tt-bounce-in .6s;-moz-animation:tt-bounce-in .6s;-o-animation:tt-bounce-in .6s;-ms-animation:tt-bounce-in .6s;animation:tt-bounce-in .6s;color:#e92c6c}@media only screen and (min-width:500px){strong{font-size:80px}}@media only screen and (min-width:900px){strong{font-size:150px}}@-moz-keyframes tt-bounce-in{0%{-webkit-transform:translateY(-2000px);-moz-transform:translateY(-2000px);-o-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0)}60%{-webkit-transform:translateY(30px);-moz-transform:translateY(30px);-o-transform:translateY(30px);-ms-transform:translateY(30px);transform:translateY(30px);opacity:1;-ms-filter:none;f
@bevacqua
bevacqua / wiring.js
Created July 3, 2015 13:33
The wiring module in ponyfoo/ponyfoo when autogenerated by `taunus -o`
'use strict';
var templates = {
'account/bio': require('../views/shared/account/bio.js'),
'account/login': require('../views/shared/account/login.js'),
'articles/archives': require('../views/shared/articles/archives.js'),
'articles/article': require('../views/shared/articles/article.js'),
'articles/articles': require('../views/shared/articles/articles.js'),
'articles/comment-thread': require('../views/shared/articles/comment-thread.js'),
'articles/comment': require('../views/shared/articles/comment.js'),
'use strict';
var fs = require('fs');
var gm = require('gm');
var but = require('but');
var path = require('path');
var contra = require('contra');
var Imagemin = require('imagemin');
var pngquant = require('imagemin-pngquant');
var mozjpeg = require('imagemin-mozjpeg');
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Kittens - Lyst</title>
<style>
body {
width: 490px;
margin: 20px auto 0;