Skip to content

Instantly share code, notes, and snippets.

View ds84182's full-sized avatar
🐺

Dwayne Slater ds84182

🐺
View GitHub Profile
@ds84182
ds84182 / hue.js
Last active April 13, 2016 19:20
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 September 29, 2015 20:35
Drawing functions for GLSL in GLSL Sandbox
#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 August 29, 2015 14:25
Programs made in Boop2's shell parser.
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 February 5, 2021 23:40
Rehost of a potentially outdated no-intro 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)"
@ds84182
ds84182 / designer.html
Last active August 29, 2015 14:11
designer
<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">
print("Hello, World!");