Skip to content

Instantly share code, notes, and snippets.

Zaahir Moolla moollaza

Block or report user

Report or block moollaza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:485b5b861927f9625903ec2596a00343
### Keybase proof
I hereby claim:
* I am moollaza on github.
* I am moollaza (https://keybase.io/moollaza) on keybase.
* I have a public key ASD8PQM0qzoAWQNrGy8Sxl2jhv8_QLruybvSqTsYO4Phfwo
To claim this, I am signing this object:
@moollaza
moollaza / WordCount.pm
Last active Mar 26, 2017
DuckDuckHack Webcast - Making a "Wordcount" Goodie Instant Answer with JavaScript & Templates
View WordCount.pm
package DDG::Goodie::WordCount;
use DDG::Goodie;
use strict;
zci answer_type => 'word_count';
zci is_cached => 1;
triggers start => 'word count', 'wordcount', 'how many words in';
@moollaza
moollaza / RandomPerson.pm
Last active Feb 16, 2017
DuckDuckHack Webcast - Making a "Random Person" Spice Instant Answer
View RandomPerson.pm
package DDG::Spice::RandomPerson;
use DDG::Spice;
spice is_cached => 0;
spice proxy_cache_valid => "418 1d";
spice wrap_jsonp_callback => 1;
spice to => 'http://api.randomuser.me/';
@moollaza
moollaza / colorGen.lua
Last active Oct 17, 2015
Corona Labs Lua - Hex String to RGB Tuple Helper
View colorGen.lua
local colorGen = {}
-- Table of named HEX colors
local _colors = {
["darkest-grey"] = "#404040", -- .25
["darker-grey"] = "#727272", -- .37
["dark-grey"] = "#868686", -- .45
["grey"] = "#929292", -- .50
["medium-grey"] = "#BFBFBF", -- .70
["light-grey"] = "#EFEFEF", -- .92
You can’t perform that action at this time.