Skip to content

Instantly share code, notes, and snippets.

View thesunlover's full-sized avatar
💭
open to new opportunities

Iskren Stanislavov thesunlover

💭
open to new opportunities
View GitHub Profile
@manifestinteractive
manifestinteractive / README.md
Last active April 3, 2023 08:02
LZ-based Compression Algorithm for Salesforce Commerce Cloud (SFCC)
@elsassph
elsassph / ResourceGenerator.hx
Created July 3, 2016 13:21
Haxe build macro converting a JSON file into strongly typed, inline/dce friendly, properties
package;
#if macro
import haxe.Json;
import haxe.macro.Context;
import haxe.macro.Expr;
import haxe.macro.Type;
import sys.io.File;
import sys.FileSystem;
anonymous
anonymous / Cleanup PIXI.JS
Created June 8, 2015 09:54
How to correctly cleanup PIXI.JS to avoid memory leaks
<!doctype html>
<html>
<head>
<script src="lib/pixi.js"></script>
</head>
<body>
</body>
<script>
var app = (function() {
console.log("Hi there!");
import haxe.macro.Expr;
import haxe.macro.Context;
class Build {
static public function types() {
var pos = Context.currentPos();
function mkPath(name:String):TypePath {
var parts = name.split('.');
return {
sub: null,