Skip to content

Instantly share code, notes, and snippets.

View AnastasiaDunbar's full-sized avatar
🈚
­

Anastasia Dunbar AnastasiaDunbar

🈚
­
View GitHub Profile
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);
package tiles
{
import simulation.collision.Segment;
//this defines tile geometry and generates it on command
//
//++TODO: this seems like some sort of factory; it also seems like there's probably a much smarter way to go about doing all of this crap
public interface TileEdgeArchetype
{
@larsiusprime
larsiusprime / AABB.as
Created April 21, 2016 16:59
collision
package simulation.collision
{
import math.vec2;
public class AABB
{
public var min:vec2;
public var max:vec2;
public function AABB(xmin:Number, ymin:Number, xmax:Number, ymax:Number)
@revolunet
revolunet / python-es6-comparison.md
Last active February 9, 2024 14:29
# Python VS JavaScript ES6 syntax comparison

Python VS ES6 syntax comparison

Python syntax here : 2.7 - online REPL

Javascript ES6 via Babel transpilation - online REPL

Imports

import math
@paniq
paniq / pico8.txt
Last active March 20, 2022 21:11
PICO-8 hacks & secrets
Screen resolutions
------------------
PICO-8 supports different undocumented videomodes that can be activated at runtime,
using poke(0x5F2C, X) where X is one of the following mode numbers:
0: 128x128, 0 pages
1: 64x128, 1 page
2: 128x64, 1 page
3: 64x64, 3 pages
@jlatt
jlatt / gist:2504275
Created April 26, 2012 23:56
Sex Porn

Sex Porn is the foundation of Sex Pics. When men are looking for Sex Pics, they inevitably have to Deal with Sex Porn. Laura's Sex Porn had slimy sex with sexage pussy and gardners is little sex that the butt thinks is furry on Sex Porn. Sex Pics is the ultimate goal of hardcore. Once you have Dealt with the Sex Porn, you can proceed to the Sex Pics. Example. Pamela went to the Sex Pics pics and saw hardcore pics full of blowjobs and cumshots. The Sex Pics too much for her huge tits to handle. You must have your reasons for wanting Sex Porn. I went to the store to look for Sex Porn. I only found Sex Pics. Cheerleaders, blowjobs, and cumshots lined the shelves. I pulled down a can of wet pussy. Hardcore sexagers surrounded the young pussy pics. sexs with dildos rushed to rub the can of smelly pussy. I grabbed the huge tits, and watched them partake in blowjobs and cumshots. Luckily my sex slut was with me and grabbed the cheerleader pussy, Sex Porn, wet pussy, and Sex Pics. Celebs grabbed my hairy pussy and to

@endolith
endolith / AutoHotkey.ahk
Last active April 22, 2022 23:34
AutoHotkey_L Hotstrings and other utilities
;------------------------------------------------------------------------------
; Disable Insert key
;------------------------------------------------------------------------------
$Insert::return
!Insert::Send, {Insert} ; Use Alt+Insert to toggle the 'Insert mode'
;------------------------------------------------------------------------------
; Hand tool with middle button in Adobe Reader
;------------------------------------------------------------------------------
#IfWinActive ahk_class AdobeAcrobat