Skip to content

Instantly share code, notes, and snippets.

@RobDangerous
RobDangerous / gist:92d3512b28ef0ecde6fa2275c25cdd10
Created May 12, 2020 21:19
Xbox 360 Marketplace Purchase Fixer
// ==UserScript==
// @name xbox 360 marketplace purchase fixer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description allow xbox 360 free gold game to be redeemed through web site
// @author mcawesomept, robdangerous
// @match https://live.xbox.com/*
// @license MIT
// @grant none
////allows running user script sooner:
package;
import kha.Game;
import kha.Loader;
class TestGame extends Game {
public function new()
{
super("Test", false);
}
package kha.graphics2;
import kha.Color;
import kha.Image;
import kha.math.Matrix3;
extern class Graphics {
public function begin(): Void;
public function end(): Void;
@RobDangerous
RobDangerous / gist:7826146
Created December 6, 2013 15:05
OpenFL fullscreen and resize example based on DisplayinABitmap sample.
package;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Sprite;
import openfl.Assets;
class Main extends Sprite {
private static var full: Bool = false;