Skip to content

Instantly share code, notes, and snippets.

View asimjalis's full-sized avatar

Asim Jalis asimjalis

View GitHub Profile
@asimjalis
asimjalis / ruby-on-pc.md
Created December 8, 2012 01:16
How to install Ruby on Rails on Windows PC

How to install Ruby on Rails on Windows PC

by Asim Jalis, MetaProse.com

Here are the steps for installing Ruby on Rails on a Windows PC and verifying that the install was successful.

  1. Go to http://www.railsinstaller.org.

  2. Click on “Download the Kit”.

@asimjalis
asimjalis / python-zip.md
Created December 7, 2012 23:33
How to deploy a Python application as a zip file

How to deploy a Python application as a zip file

by Asim Jalis, MetaProse.com

Create a file __main__.py containing:

print "Hello world from Python"

Zip up the Python files (in this case just this one file) into app.zip by typing:

@asimjalis
asimjalis / micro-task-process.md
Created October 27, 2011 16:59
How to use the MicroTask process to complete projects

How to use the MicroTask process to complete projects

by Asim Jalis, MetaProse.com

The MicroTask process is a technique for taking on large and vague projects and then gradually nibbling on them until they are done.

Besides getting things done, this technique will make your work fun. It will turn it into a game. Instead of working on a large and

@asimjalis
asimjalis / sh-timeout.clj
Created July 14, 2011 19:12
How to call clojure.contrib.shell-out/sh with timeout
(use '[clojure.contrib.shell-out :only [sh]])
(defn sh-timeout [timeout-in-seconds & args]
(.get
(future-call #(apply sh args))
timeout-in-seconds
(java.util.concurrent.TimeUnit/SECONDS)))