Skip to content

Instantly share code, notes, and snippets.

View VWoeltjen's full-sized avatar

Vic Woeltjen VWoeltjen

  • San Francisco, CA
View GitHub Profile
@VWoeltjen
VWoeltjen / CodeStandard.md
Created December 15, 2017 21:05
Suggested code standards

Code Standards

JaveScript sources in this repository must satisfy the following standards.

Code Analysis

JavaScript sources in this repository must satisfy ESLint under the eslint:recommended rule set.

Code Guidelines

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js">
</script>
<script type="text/javascript">
var app = angular.module('bug', []);
@VWoeltjen
VWoeltjen / zoom_example.c
Created November 3, 2012 00:01
Test case of zoomSurface (from SDL_gfx)
#include "SDL.h"
#include "SDL_image.h"
#include "SDL_rotozoom.h"
#ifdef EMSCRIPTEN
#include "emscripten.h"
#endif
SDL_Surface *screen;
SDL_Surface *sprite[4];