Skip to content

Instantly share code, notes, and snippets.

View anasnakawa's full-sized avatar
💭
I may be slow to respond.

Anas Nakawa anasnakawa

💭
I may be slow to respond.
View GitHub Profile
@anasnakawa
anasnakawa / envato-sales-calc.js
Created October 24, 2013 08:30
calculate how much templates has been sold on ThemeForest during last week for any category
/**
* calculate how much templates has been sold on ThemeForest during last week for any category
* for example:
* - open themeforest.net > Wordpress > Popular Items
* - open the javascript console
* - paste this snippet
* _ ... BAM!
*/
(function($, console){
var total = 0;
@anasnakawa
anasnakawa / wrapper.js
Created October 20, 2013 07:17
AMD / CommonJs (NodeJs) / Browser wrapper pattern
// AMD / Common Js / Browser Wrapper pattern
// copyright to [millermedeiros](https://github.com/millermedeiros/js-signals/blob/master/src/wrapper.js)
// ---------------------------------
(function(global){
var libName;
// define your library
//exports to multiple environments
if(typeof define === 'function' && define.amd){ //AMD
@anasnakawa
anasnakawa / coffeescript-extend.js
Last active December 22, 2015 05:18
OOP in javascript extracted from CoffeeScript
// tiny JavaScript inheritance
// extracted from CoffeeScript
//
// * **param:** {Class} child
// * **param:** {Class} parent
var extends = function( child, parent ) {
for ( var key in parent ) {
if ( {}.hasOwnProperty.call( parent, key ) ) {
child[ key ] = parent[ key ];
}
@anasnakawa
anasnakawa / media-query.scss
Last active December 19, 2015 08:29
generic media query mixin
// ------------------------------
// generic media query mixin
// ------------------------------
// author: Anas Nakawa
// license: MIT
// ------------------------------
// table of content
// ------------------------------
// media-compact-retina (private)
// media-conpact-normal (private)
@anasnakawa
anasnakawa / ko-component-class.js
Created June 9, 2013 13:18
knockout js component class
// ui component class structure
// ----------------------------
(function(sandbox) {
'use strict';
var Component = function(foo, bar) {
this.foo = foo;
this.bar = bar;
@anasnakawa
anasnakawa / copyright.js
Created May 13, 2013 14:10
replace copyright data with current year..
@anasnakawa
anasnakawa / _media-queries.scss
Last active December 15, 2015 14:09 — forked from anthonyshort/_media-queries.scss
sass media queries optimized for bootstrap
// Media Queries in Sass 3.2
//
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
//
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
@anasnakawa
anasnakawa / bootstrap-typeahead-rtl.js
Last active December 11, 2015 19:09
overriding bootstrap typeahead to perform in rtl pages
// overriding typeahead
!function ($, biStrap) {
"use strict"
// defining standard namespace to wrap original bootstrap
// methods that needs to be overridden
biStrap.typeahead.show = $.fn.typeahead.Constructor.prototype.show;
$.fn.typeahead.Constructor.prototype.show = function(){
@anasnakawa
anasnakawa / docpad.js
Created January 24, 2013 11:00
docpad configuration file converted from coffeescript one
var docpadConfig,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
// The DocPad Configuration File
docpadConfig = {
// generated site at the root
// --------------------------
// outputPath: '.'

Paid Parkings in Dubai Internet City

in Dubai Internet City, specifically behind building 15, 16 & 17, there are over than 200 covered car parkings, dedicated for the people who work in those buildings, in usual business days, these parkings remain occupied for the whole normal business working hours (normally from 9:00am - 6:00pm)..

starting from 15th January 2013, RTA has applied a fees on these parkings which inforced most of us to go park in a very far places to avoid any fees/fines, not to mention about people who arrive late to work, will find it almost impossible to park anywhere else those paid parking..


The End Result

RTA might generate some revenue from those fees, but most of us won't use it,

we used to see RTA making our life better, but in this particular area I simply don't see that..