Skip to content

Instantly share code, notes, and snippets.

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

AKΞΞL NAZIR akeelnazir

🏠
Working from home
  • freelance
  • Maidenhead, UK
View GitHub Profile
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis)
# Check our Studio: https://gentlenode.com/
meteor add iron:router
meteor update iron:router
# Iron Router > Configuration
# METEOR CORE:
Anywhere: Meteor.isClient
Anywhere: Meteor.isServer
Anywhere: Meteor.startup(func)
Anywhere: Meteor.absoluteUrl([path], [options])
Anywhere: Meteor.settings
Anywhere: Meteor.release
@akeelnazir
akeelnazir / dabblet.css
Created April 22, 2015 08:51
Playing with flex-box
/**
* Playing with flex-box
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@akeelnazir
akeelnazir / introrx.md
Last active August 29, 2015 14:24 — forked from staltz/introrx.md

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

var pre = [0.204,
0.164,
0.020,
0.093,
0.117,
0.124,
0.076,
0.106,
0.117,
0.097,
@akeelnazir
akeelnazir / dabblet.css
Last active November 17, 2015 11:00
Tank display
/**
* Tank display
*/
div.tank-display {
display: absolute;
width: 250px;
}
div.tank-display .circle {
@akeelnazir
akeelnazir / 1_kubernetes_on_macOS.md
Created May 19, 2018 21:40 — forked from kevin-smets/1_kubernetes_on_macOS.md
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry

Requirements

Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!

Prerequisites

Keybase proof

I hereby claim:

  • I am akeelnazir on github.
  • I am akeelnazir (https://keybase.io/akeelnazir) on keybase.
  • I have a public key ASDJNtUVglzVb_78rhJxlSbKW8OUFgoDyy-5VzL3iQ0MFgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am akeelnazir on github.
  • I am akeelnazir (https://keybase.io/akeelnazir) on keybase.
  • I have a public key ASDJNtUVglzVb_78rhJxlSbKW8OUFgoDyy-5VzL3iQ0MFgo

To claim this, I am signing this object: