Skip to content

Instantly share code, notes, and snippets.

Avatar

Alaa-eddine K. alaa-eddine

View GitHub Profile
View BBHook.h
//
// BBHook.h
// v1.0
// a Buildbox hook layer tested on Buildbox 2.1.x and 2.2.x
//
// Author : Alaa-eddine KADDOURI
//
#import <UIKit/UIKit.h>
View BBHook.java
//
// src/com/ezelia/utils/BBHook.java
// v1.0
// a Buildbox hook layer tested on Buildbox 2.1.x and 2.2.x
//
// Author : Alaa-eddine KADDOURI
//
package com.ezelia.utils;
@alaa-eddine
alaa-eddine / HashMap.ts
Last active Apr 23, 2019
This is an experimental HashMap implementation with some features I needed and didn't found in JS default Arrays and Objects Features : * Direct acces too elements throught .get(key) * fast keys or values iteration using for (;;) instead of for in syntax (http://jsperf.com/array-keys-vs-object-keys-iteration/3 )
View HashMap.ts
/*
This is an experimental HashMap implementation with some features I needed and didn't found in JS default Arrays and Objects
Features :
* Direct acces too elements throught .get(key)
* fast keys or values iteration using for (;;) instead of for in syntax (http://jsperf.com/array-keys-vs-object-keys-iteration/3 )
*/
class HashMap {
public length: number = 0;
@alaa-eddine
alaa-eddine / gist:5305911
Created Apr 3, 2013
pure Javascript PNG parser
View gist:5305911
(function() {
/*
# MIT LICENSE
# Copyright (c) 2011 Devon Govett
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
# software and associated documentation files (the "Software"), to deal in the Software
# without restriction, including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
You can’t perform that action at this time.