Skip to content

Instantly share code, notes, and snippets.

View ds84182's full-sized avatar
🐺

Dwayne Slater ds84182

🐺
View GitHub Profile
print("Hello, World!");
@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">
@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 / 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 / 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 / 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 / fuckit.lua
Created April 21, 2016 02:04
fuckit.lua makes sure that your Lua code always runs to the end of file despite any errors that occur
do
local info = debug.getinfo(1)
local startingLine, endingLine = info.currentline
local oursource = info.source
-- This GC stuff should probably work when it should except for things that can't get collected
local bubbles = setmetatable({}, {__gc="kv"})
local bubbleContent = setmetatable({}, {__gc="kv"})
local bubbleExists = setmetatable({}, {__gc="k"})
import "package:sfml/sfml.dart" as sf;
import 'dart:typed_data';
const sf.Attribute attrPosition = const sf.Attribute("attrPosition", 0);
const List<sf.Attribute> attributes = const [
attrPosition
];
const sf.AttributeFormat attrFmtPos2D = const sf.AttributeFormat(sf.AttributeType.Float, 2);
main() async {

Keybase proof

I hereby claim:

  • I am ds84182 on github.
  • I am ds84182 (https://keybase.io/ds84182) on keybase.
  • I have a public key ASCR_7TmPyMkmLhSFYVLnn5rx9T_MwVdB6Vjg7xBhJXNBwo

To claim this, I am signing this object:

import 'dart:io';
import 'raja.dart' deferred as rajascript;
void main() {
final raja = new File(".raja_was_here");
if (raja.existsSync()) {
// Raja Was Here, load another script!
raja.deleteSync();
rajascript.loadLibrary().then((_) => rajascript.run());
} else {