Skip to content

Instantly share code, notes, and snippets.

View DeCotii's full-sized avatar

Paul DeCotiis DeCotii

View GitHub Profile
@Kilian
Kilian / annoying.js
Created January 6, 2011 15:04
How to be an asshole
/**
* Annoying.js - How to be an asshole to your users
*
* DO NOT EVER, EVER USE THIS.
*
* Copyright (c) 2011 Kilian Valkhof (kilianvalkhof.com)
* Visit https://gist.github.com/767982 for more information and changelogs.
* Visit http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/ for the introduction and weblog
* Check out https://gist.github.com/942745 if you want to annoy developer instead of visitors
*
@dnoyes
dnoyes / gist:1889579
Created February 23, 2012 03:00
html5 audio
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
var a = new Audio();
var sources = [
'http://www.pacdv.com/sounds/fart-sounds/fart-2.wav',
'http://www.pacdv.com/sounds/fart-sounds/fart-3.wav',