Skip to content

Instantly share code, notes, and snippets.

View aznn's full-sized avatar
🏠
Working from home

Ahmed Azaan aznn

🏠
Working from home
View GitHub Profile
@aznn
aznn / notebook.md
Created October 24, 2017 08:34 — forked from nazan/notebook.md
Service Provider Portal
site apiNotebookVersion title
http://localhost:3000/#dff684e58836a21804452a939db78519
1.3.0
Service Provider Portal

Create Service Provider Portal client. This client will be used to explore the API

API.createClient("spPortal", "https://hiis-staging.allied.mv/docs/api.raml", {

Keybase proof

I hereby claim:

  • I am aeonaxan on github.
  • I am azaan (https://keybase.io/azaan) on keybase.
  • I have a public key whose fingerprint is 76C8 AACC 85AF EF89 F50D 5797 0B21 2842 693B 7D5A

To claim this, I am signing this object:

@aznn
aznn / gist:9482114
Created March 11, 2014 09:11
Greedy Algorithm for 2048
/**
* Copy paste in the console, then restart the game (space bar)
*
* Greedy Algorithm for : http://gabrielecirulli.github.io/2048/
* Plays the game using a naive greedy method. i.e. Local maximum
*
* Azaan
*/
(function () {
var __restart = GameManager.prototype.restart;
@aznn
aznn / -
Created September 26, 2013 16:21
447 1749 13343 anim.js
272 1154 7367 bezier.js
233 708 6301 controls.js
172 1306 9058 deferred_sprite_offsets.js
106 315 2497 game_state.js
232 793 6276 logo.js
82 403 2818 number_plate_sprite_offsets.js
106 342 2677 overlay.js
1157 3940 31081 program.js
381 1464 10692 simulator.js
@aznn
aznn / -
Created September 25, 2013 11:24
hello world from gist commandline
@aznn
aznn / nospaces.py
Last active January 29, 2017 12:35
# load up words into a set
with open('words', 'r') as f:
words = f.readlines()
# sanitize words (removing \n at the end)
words = set([word[:-1] for word in words])
# returns all possible words from the starting of the line
def beginWords(string):