Skip to content

Instantly share code, notes, and snippets.

View naveed-ahmad's full-sized avatar
🏋️‍♂️
hacking stuff

Naveed Ahmad naveed-ahmad

🏋️‍♂️
hacking stuff
View GitHub Profile
@naveed-ahmad
naveed-ahmad / track
Created June 7, 2012 20:32
canvas rider track code track demo: http://canvasrider.com/tracks/1240028
" 7 1l 16 1l 15 v,2k li 46 ks,3e ta 31 r2,-10 s3 n sg,2j 12h 4k 12m,-u 1dl 0 1e0,d 2t6 -g 2tp,hu 2ju j 2vv i 2vp,i 2vq h 2vl g 2vf,2n 2ul 5o 317,6 37l f 38a -4 38m,3p 12j 3p 11q,4a 1kp 5f 1kd,5r 1mc 6k 1mh,4d 225 4s 22s 5d 22f,5i 272 68 27m,84 1pq 8q 1qd 9e 1pp,8t 1vr 7v 207,7d 29a cl 2fd,8r 326 ia 33o,9n 1q1 a3 1q1,bh 1sj bk 1sk bm 1sk bo 1sl,bp 1sl bt 1sk,bu 1sj c0 1si c2 1sg c4 1se c6 1sc c7 1s9,c7 1s8 c8 1s6 c8 1s3,cl 2fc cu 2f9,co 2fa d8 2f3,fq 2gj ge 2gv gv 2gj,lq 2hq mj 2io,kj 33h l7 33g lb 33q,om 2vn pc 2vn ph 304,mk 2uj m5 2uq,m4 2uq m5 2vf,pr 2gp 101 2cs,rm 2lk rm 2mi,rn 2lm r9 2le,rf 2ou rm 2pk ra 2pv,q9 2re qm 2s5,q8 2rf q2 2rg,100 2ct 100 2dd,12h 2cf 125 2ck,14j 299 159 29b,12h 2cf 12o 2cr,18q 1pb 18b 1p5,18b 1p4 17v 1pe,17m 23e 19l 21p,197 1l9 19r 1l1 1a4 1lb,1e2 1iu 1ee 1jb,1c7 1vg 1cm 200,1cm 201 1ck 20d,1fg 14n 1fq 149,1fs 149 1gb 14i,1l4 kf 1ko kr,1j4 q4 1im qn,1j2 q5 1jm q9,1l6 ki 1lj kk,1l6 vr 1lj 10a 1lh 10q,1n8 -3cp 1mp -3c6,1n4 -3cn 1nu -3cd,1p1 dt 1of e7,1p0 ds 1pi e4,1pc he 1q2 hk 1pv
@naveed-ahmad
naveed-ahmad / dci
Created March 27, 2013 11:32
Sample app and resources for DCI
DCI sample applications
- https://github.com/vsavkin/DCI-Sample
- https://github.com/randx/rails-dci-example
- https://github.com/DCI
DCI resources
- Lession learnet from DCI: http://andrzejonsoftware.blogspot.com/2012/01/dci-and-rails-lessons-learnt.html
- DCI benchmarking http://mikepackdev.com/blog_posts/26-dci-role-injection-in-ruby
#!/usr/bin/env ruby
## disconnect
# ./disconnect.rb -u yourusername [-o /your/path] [-p yourhttpproxyserver]
#
# This is a command-line utility for the bulk-downloading of run data from
# the connect.garmin.com web application, which has lackluster export
# capabilities.
#
@naveed-ahmad
naveed-ahmad / 0_reuse_code.js
Created September 27, 2013 09:55
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
@naveed-ahmad
naveed-ahmad / javascript_resources.md
Created March 12, 2014 16:32 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@naveed-ahmad
naveed-ahmad / rails_resources.md
Created March 12, 2014 16:32 — forked from jookyboi/rails_resources.md
Rails-related Gems and guides to accelerate your web project.

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@naveed-ahmad
naveed-ahmad / python_resources.md
Created March 12, 2014 16:32 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@naveed-ahmad
naveed-ahmad / css_resources.md
Created March 12, 2014 16:32 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@naveed-ahmad
naveed-ahmad / FybJk.markdown
Created April 13, 2014 00:51
A Pen by Captain Anonymous.
@naveed-ahmad
naveed-ahmad / EkFui.markdown
Created April 18, 2014 05:09
A Pen by Naveed Ahmad.