Skip to content

Instantly share code, notes, and snippets.

Avatar
🐺

Dwayne Slater ds84182

🐺
View GitHub Profile
View hue.js
var script = document.body.appendChild(document.createElement('script'))
script.src='https://code.jquery.com/jquery-1.12.0.min.js';
script.onload = function() {
var value = 360;
$("body")
.css("transition", "-webkit-filter 1s linear")
.css("-webkit-filter", "hue-rotate(0deg)").on("transitionend", function() {
value += 360
$("body").css("-webkit-filter", "hue-rotate("+value+"deg)")
});
@ds84182
ds84182 / draw.glsl
Last active Sep 29, 2015
Drawing functions for GLSL in GLSL Sandbox
View draw.glsl
#ifdef GL_ES
precision mediump float;
#endif
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;
//draw.glsl: Drawing functions for GLSL
@ds84182
ds84182 / brainfuck.boop
Last active Aug 29, 2015
Programs made in Boop2's shell parser.
View brainfuck.boop
define brainfuck_meminit {
//Initialize Brainfuck's memory array
$i=1;
while (lte $i 256) {
put memory $i 0;
inc $i > i
};
delete i
};
@ds84182
ds84182 / GBA.dat
Last active Feb 5, 2021
Rehost of a potentially outdated no-intro dat.
View GBA.dat
clrmamepro (
name "Nintendo - Game Boy Advance"
description "Nintendo - Game Boy Advance"
version 20150715-185055
comment "no-intro | www.no-intro.org"
)
game (
name "007 - Everything or Nothing (USA, Europe) (En,Fr,De)"
description "007 - Everything or Nothing (USA, Europe) (En,Fr,De)"
View designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">