Tuesday, November 18, 2008

rights of husband at wife

while surfing around, I find out a very informative and interesting article regarding rights of Husband at wife in Islam. The main content is on mesmarty.com by their regular writer Sana Khan, which is the translation of Mufti Munir Ahmed Sahib (M.A.).
Do get some time to read this :)
http://www.mesmarty.com/2008/11/rights-of-husband-at-wife-in-islam/

Thursday, August 28, 2008

Zardari suffered from severe mental problems

LONDON: Pakistan presidential hopeful and PPP co-chairman Asif Ali Zardari was suffering from severe mental illness till last year, as he underwent severe torture during his 11 years of imprisonment in the past two decades in different prisons, according to a British newspaper.

more on
http://www.mesmarty.com/2008/08/zardari-suffered-from-severe-mental-problems-british-paper/

just imagine, mental ruler of a country :o

Monday, August 18, 2008

no safe passage to dictator musharaf

To: Government of Pakistan, World Leaders

We, the undersigned ask the government of Pakistan not to give dictator Musharraf a safe passage or indemnity and we call upon the world leaders not to offer him a safe haven in their countries.
more on mesmarty

Sunday, August 10, 2008

Air Car

an amazing innovation in the vehicle industry, a zero emission car... yes a car running on compressed air.
read the full details at
http://www.mesmarty.com/2008/08/air-car/

Friday, August 8, 2008

Reko Dig

An interesting news regarding Reko Dig contract on $21 billion. A world's 5th largest repository of copper and gold of the fine quality in Balochistan, Pakistan.
read more details on this link

http://www.mesmarty.com/2008/08/reko-dig/

Wednesday, June 18, 2008

Ext Js 2.0

Guys,

I have come across to this new js library, ExtJs. These guys have done really excellent job with the java script.

http://www.extjs.com/

They are giving plenty of things which are user friendly as well as developers friendly. Just check out the web desktop and image viewer at the sample page

http://extjs.com/deploy/dev/examples/samples.html

stay tuned for more tech news ;)

--
Bilal Ahmed

Monday, May 12, 2008

Rails/Rake Cheet Sheet

List of all possible rake commands :-)

rake db:abort_if_pending_migrations # Raises an error if there are pending...
rake db:charset # Retrieves the charset for the curren...
rake db:collation # Retrieves the collation for the curr...
rake db:create # Create the database defined in confi...
rake db:create:all # Create all the local databases defin...
rake db:drop # Drops the database for the current R...
rake db:drop:all # Drops all the local databases define...
rake db:fixtures:identify # Search for a fixture given a LABEL o...
rake db:fixtures:load # Load fixtures into the current envir...
rake db:migrate # Migrate the database through scripts...
rake db:migrate:redo # Rollbacks the database one migration...
rake db:migrate:reset # Resets your database using your migr...
rake db:reset # Drops and recreates the database fro...
rake db:rollback # Rolls the schema back to the previou...
rake db:schema:dump # Create a db/schema.rb file that can ...
rake db:schema:load # Load a schema.rb file into the database
rake db:sessions:clear # Clear the sessions table
rake db:sessions:create # Creates a sessions migration for use...
rake db:structure:dump # Dump the database structure to a SQL...
rake db:test:clone # Recreate the test database from the ...
rake db:test:clone_structure # Recreate the test databases from the...
rake db:test:prepare # Prepare the test database and load t...
rake db:test:purge # Empty the test database
rake db:version # Retrieves the current schema version...
rake doc:app # Build the app HTML Files
rake doc:clobber_app # Remove rdoc products
rake doc:clobber_plugins # Remove plugin documentation
rake doc:clobber_rails # Remove rdoc products
rake doc:plugins # Generate documentation for all insta...
rake doc:rails # Build the rails HTML Files
rake doc:reapp # Force a rebuild of the RDOC files
rake doc:rerails # Force a rebuild of the RDOC files
rake fckeditor:download # Update the FCKEditor code to the lat...
rake fckeditor:install # Install the FCKEditor components
rake log:clear # Truncates all *.log files in log/ to...
rake notes # Enumerate all annotations
rake notes:fixme # Enumerate all FIXME annotations
rake notes:optimize # Enumerate all OPTIMIZE annotations
rake notes:todo # Enumerate all TODO annotations
rake rails:freeze:edge # Lock to latest Edge Rails or a speci...
rake rails:freeze:gems # Lock this application to the current...
rake rails:unfreeze # Unlock this application from freeze ...
rake rails:update # Update both configs, scripts and pub...
rake rails:update:configs # Update config/boot.rb from your curr...
rake rails:update:javascripts # Update your javascripts from your cu...
rake rails:update:scripts # Add new scripts to the application s...
rake remove_simple_captcha_files # Remove unuseful captcha images and s...
rake routes # Print out all defined routes in matc...
rake secret # Generate a crytographically secure s...
rake stats # Report code statistics (KLOCs, etc) ...
rake test # Test all units and functionals
rake test:functionals # Run tests for functionalsdb:test:pre...
rake test:integration # Run tests for integrationdb:test:pre...
rake test:plugins # Run tests for pluginsenvironment / R...
rake test:recent # Run tests for recentdb:test:prepare ...
rake test:uncommitted # Run tests for uncommitteddb:test:pre...
rake test:units # Run tests for unitsdb:test:prepare /...
rake tmp:cache:clear # Clears all files and directories in ...
rake tmp:clear # Clear session, cache, and socket fil...
rake tmp:create # Creates tmp directories for sessions...
rake tmp:pids:clear # Clears all files in tmp/pids
rake tmp:sessions:clear # Clears all files in tmp/sessions
rake tmp:sockets:clear # Clears all files in tmp/sockets

Friday, May 2, 2008

Code Cleaners

So, I beleive this guy must have reviewed some ........ guys code.
I have been through such cases and it was really annoying when you are looking at the code which doesn't seems like code at all but a garbage text

http://www.decodephp.com/2007/12/19/php-code-cleaner-and-indenter/

this code cleaner is really helpful in indenting the code, do give it a shot. It really worths spending some time to explore what this gentleman have done

thanks buddy

Thursday, May 1, 2008

Frameworks fall

recently, I got a chance to work on different frameworks.

Ruby on Rails
Code Igniter
Symfony etc.

I am working in Ruby On Rails since start of 2007. side by side checked the symfony and currently looking at the Code Igniter as well.
The only issue, I am looking at in the frameworks is... scalability issue

you must have read the latest news on techrunch and venturebeats etc about the twitter. regardless of the internal matters, chief architect departure or whatever it was, you can read it over here

http://venturebeat.com/2008/04/23/blaine-cook-leaves-twitter-takes-the-service-with-him/
http://venturebeat.com/2008/05/01/twitter-to-jump-off-ruby-on-rails/

then on techrunch
http://www.techcrunch.com/2008/05/01/twitter-said-to-be-abandoning-ruby-on-rails/

what you guys think? what they will be planning or should move into?

thanks for your time

Monday, April 14, 2008

Cross browser compatible WYSIWYG editor

reference: http://code.google.com/p/gwt-html-editor/

This is a simple but sufficient for most cases WYSIWYG HTML (Rich Text) Editor Widget fully (99% + JSNI) implemented with GWT.

Features include:

  • bold, italic, underline
  • subscript, superscript
  • align left, right, center, justify
  • ordered & unordered lists
  • hyper links
  • images
  • font size and styles
  • undo/redo
  • clear formatting
  • ability to work directly with the HTML source

Browser support: Firefox, IE, Opera. Safari support is in the works.

I have read at some point (in the source code of some site ;) ) that it supports safari 1.3 :) if any one can confirm then please do update me.