Skip to content

Instantly share code, notes, and snippets.

Avatar
🐺

Dwayne Slater ds84182

🐺
View GitHub Profile
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">
@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)"
@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 / 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
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 / fuckit.lua
Created Apr 21, 2016
fuckit.lua makes sure that your Lua code always runs to the end of file despite any errors that occur
View fuckit.lua
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"})
View hello_triangle.dart
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 {
View keybase.md

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:

View main.dart
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 {