Skip to content

Instantly share code, notes, and snippets.

@rashoodkhan
rashoodkhan / db.py
Created February 10, 2016 19:40
Script to Generate Data and Dump in MySQL using Python
"""
To run the file:
$python db.py size_of_data number_of_pool_threads
It creates an array of dictionary with some dummy data and inserts in to
MySQL or SQLite using Dataset Library
"""
import dataset
import string
import random
@rashoodkhan
rashoodkhan / keybase.md
Created October 2, 2014 13:36
keybase.md

Keybase proof

I hereby claim:

  • I am rashoodkhan on github.
  • I am rashid (https://keybase.io/rashid) on keybase.
  • I have a public key whose fingerprint is D3A0 67E9 41BC 65B0 EEA0 C111 17B2 C55C DBBB D7BA

To claim this, I am signing this object:

@rashoodkhan
rashoodkhan / 0_reuse_code.js
Created December 5, 2013 05:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!-- Respect Rollcall -->
<li><a href="http://www.alistapart.com/articles/">A List Apart &#8212; for website builders</a></li>
<li><a href="http://abstrusegoose.com/">Abstruse Goose &#8212; my favorite comic</a></li>
<li><a href="http://al3x.net/">Alex Payne &#8212; technology rambling</a></li>
<li><a href="http://dashes.com/anil/">Anil Dash &#8212; on culture, apple &amp; design</a></li>
<li><a href="http://weblogs.mozillazine.org/asa/">Asa Dotzler &#8212; on mozilla &amp; software</a></li>
<li><a href="http://www.azarask.in/blog/">Aza Raskin &#8211; on design &amp; firefox</a></li>
<li><a href="http://christophzillgens.com/en/">Christoph Zillgens &#8212; interface design</a></li>
<li><a href="http://cssremix.com/">CSS Remix &#8212; gorgeous designs</a></li>
<li><a href="http://css-tricks.com/">CSS Tricks</a></li>