Skip to content

Instantly share code, notes, and snippets.

Kamal Hussain KamalHunzai

Block or report user

Report or block KamalHunzai

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
@KamalHunzai
KamalHunzai / install-mongodb-mac-os-x.md
Created Nov 17, 2017 — forked from Sydney-o9/install-mongodb-mac-os-x.md
Install MongoDB on Mac OS X without brew
View install-mongodb-mac-os-x.md

1. Download latest source

# Get latest from MongoDB website
$ curl -O https://fastdl.mongodb.org/osx/mongodb-osx-x86_64-3.4.6.tgz
$ tar -zxvf mongodb-osx-x86_64-3.4.6.tgz
$ mkdir -p mongodb
$ cp -R -n mongodb-osx-x86_64-3.4.6/ mongodb
$ sudo mv mongodb /usr/local
View React Native Clear Cache
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
@KamalHunzai
KamalHunzai / react_fiber.md
Created Apr 25, 2017 — forked from duivvv/react_fiber.md
What is React Fiber? And how can I try it out today?
View react_fiber.md
@KamalHunzai
KamalHunzai / Generate a Swift Playground for any Pod.txt
Last active Sep 23, 2016
Generate a Swift Playground for any Pod.
View Generate a Swift Playground for any Pod.txt
Generates a Swift Playground for any Pod.
Installation
$ gem install cocoapods-playgrounds
Usage
CocoaPods
@KamalHunzai
KamalHunzai / sortBy.js
Created Jul 13, 2016 — forked from jherax/sortBy.js
Sorting Arrays (Schwartzian transform)
View sortBy.js
/**
* Learn about Schwartzian transform
* https://en.wikipedia.org/wiki/Schwartzian_transform
*/
(function() {
if (typeof Object.defineProperty === 'function') {
try {
Object.defineProperty(Array.prototype, 'sortBy', { value: sortBy });
} catch (e) {}
}
@KamalHunzai
KamalHunzai / Full Stack JavaScript.md
Last active Jul 14, 2016 — forked from imdwit/Full Stack JavaScript.md
Learn Full Stack JavaScript Web Development for FREE using resources like YouTube, Udacity and NodeSchool
View Full Stack JavaScript.md
View TwitterJSONTweet.js
{
"place":null,
"coordinates":null,
"retweeted":false,
"in_reply_to_status_id":null,
"id_str":"28039652140",
"truncated":false,
"in_reply_to_status_id_str":null,
"source":"web",
"favorited":false,
You can’t perform that action at this time.