- Ribbit Smash by Loktar
- Flappy Box by towc
- Balls Juggle by easwee
- Turnometry by SomeGuy and mikedidthis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inputbox = $('#bufferInputView' + cb().bid()); | |
var msg = inputbox.val(); | |
inputbox.val(""); | |
var cc = "\u0003"; | |
var bold = "\u0002"; | |
var reset = "\u000f"; | |
var italic = "\u0016"; | |
var underline = "\u001f"; | |
cb().say(msg.replace(/&b/g,bold).replace(/&r/g,reset).replace(/&i/g,italic).replace(/&u/g,underline).replace(/&/g,cc)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sid Meier's 10 Rules of Game Design | |
1. Choose a topic you have a passion for. Game Design is about creativity. | |
2. Do research after the game is done. Tap into the player’s brain. | |
3. Define your axioms, refine your axioms. Prototype, prototype, prototype; sit in all the chairs. | |
4. Double it or cut it in half. You are more wrong than you think. |
So, here are some interesting things!
- Baader-Meinhof phenomenon; the illusion in which a word, a name or other thing that has recently come to one's attention suddenly appears "everywhere" with improbable frequency
- A list of cognitive biases
- Heterochromia iridum
- Hyperthymesia; having a freakish ability to remember a lot
- Misophonia; hatred of sound
- McGurk effect; seeing is hearing
- Fatal familial insomnia
- Tarrare; a man who had a gigantic appetite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Retro Gravatar | |
// @author Amaan Cheval | |
// @description Use retro gravatars instead of the indenticon ones | |
// @include http://chat.stackexchange.com/rooms/* | |
// @include http://chat.stackoverflow.com/rooms/* | |
// ==/UserScript== | |
var update = function () { | |
[].forEach.call(document.querySelectorAll('.avatar > img'), function (elem) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createWebSocket () { | |
var connection = new WebSocket(); | |
var attempts = 1; | |
connection.onopen = function () { | |
// reset the tries back to 1 since we have a new connection opened. | |
attempts = 1; | |
// ...Your app's logic... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id='test' width='400' height='400'></canvas> | |
<script> | |
var img = new Image(); | |
img.src = 'http://fc01.deviantart.net/fs70/f/2012/187/b/b/ben_10__my_sprite_sheet_by_pyroman16-d56744g.png'; | |
var ctx = document.getElementById('test').getContext('2d'); | |
img.onload = function() { | |
ctx.drawImage(img, 0, 0, 300, 300, 0, 0, 300, 300); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<center class="centerizer"> | |
<p>Switch Awesomness on!</p> | |
<span> | |
<input id="toggle" type="checkbox" /> | |
<label for="toggle" > | |
<div class="On">On</div> | |
<div class="Off">Off</div> | |
</label> | |
</span> | |