Our Prime-Minister 30 Second Symbolic Punishment

“Islamabad:  The Pakistan Supreme Court today held Prime Minister Yousuf Raza Gilani guilty of contempt for refusing to reopen an old corruption case against President Asif Ali Zardari and convicted him till the rising of the court” – NDTV

When i hear this news i laugh at our court decision, everyone has its own point of view but one thing is clear here our courts cannot handle big issues. i can understand there was lot of pressure from different pressure groups and opposition on this decision but supreme court is unable justify this in those manner. The actual reason behind this all is only our supreme court don’t want to take the all blame, so they declare prime minister criminal for few second and throw ball in the court of opposition and other parties. supreme court already blamed for murder of PPP first Prime-Minister Zulfiqar Bhutto, so they cannot take all burden on their own. i am not lawyer and not able to give truthful or technical remarks about this decision, Its only my personal feeling about decision that our supreme court DO NOT want to take blames. so this is a chance for opposition parties if they can do something on their own. and i am sure they will not do anything , this is just a reaction these parties are showing for few days.

War between court and Administration is not new thing, it was happening all the time in USA and different countries. We should not forget that Bill Clinton and other presidents of USA also got punishments from court. but its funny thing that our prime-minister got 30 Sec Punishment, this is too much symbolic and even our court was unable to explain about dismiss of prime-minister after punishment or any other details. actual thing is that court want to involve to opposition parties to do something, that is not possible in current situation.

So all that i am assuming our supreme court is not enough strong to make a decision under-pressure.

Use of @font-face – Import Fonts To Your Web Application

I was little amazed when i first used @font-face. its great and little slow thing for your website but its help me great, because i used it when i was having a purchased font. its only the choice remaining when you will not find a font in font list or Google fonts. Google fonts is another great way to call some font and use that in your application. but that one is also little slow when page loads. if sometime calling fails, then your web application will show defaults fonts other than Google fonts. and also may be some of you also heard about Cufón, then don’t use use that shit. lot of things may be helpful about Cufon but not actually suggested.

let’s move further to @font-face. you got a custom font or buy it on internet and have a plan to use it in your web application. then you must consider @font-face. in this example i am using Gotham HTF. its not free font. this type of cases you may need @font-face.

Put this code to your style-sheet and do modifications according to your needs.

@font-face {
font-family: 'Custom Gotham HTF';
src: url("GothaHTFBooCon.eot"); /* FOR IEs */
src: local('Custom Font'), url('GothaHTFBooCon.ttf') format('truetype'); /* for other web browsers */
}

in above you may declare font-family of your choice and for Source give url of font where its exist. here you may notice that for IE browser we need to convert our font to .eot extension . you can convert you font from .ttf to .eot on this Website. after converting this will also provide you code i have pasted above. in above code first source is for IE browsers and 2nd source is for CSS3 browsers.

Now you are ready to use this font in your style-sheet or wherever you want.

/*Use font in stylesheet*/

.myclass
{
font-family: 'Gotham HTF';
font-size:medium;
color:#000;
}

You may also can use:

/*Use font with other font-family*/

.myclass
{
font-family: Custom Gotham HTF, Verdana, Geneva, sans-serif;
font-size:medium;
color:#000;
}

You will notice one thing i already told you, it will make your website little slow. but its great choice for you when you are using it in you application easily.

Today Was a Day – Active and Some Sleepy

Today i woke up early in the morning about 5:45 AM. this was amazing in my last 6 month history. last sixth month i spent with a different schedule. i started jogging after a long time. Ah i can’t tell how i feel when i cross the point of 1 mile at first day , i was like a website in IE6 browser, best fit.

This all realize me what’s going on with my body and fitness, i realize i need to fix myself and i realize lot of other things for which i need to take care. A restful life is good but not acceptable to body, i must accept a jogging in the running always make me more strong and healthy. So this is the thing i will not miss again. i am sure i will cross the point of 5 mile within week or two.

A Programmer have no life – Some One said 100% true. A programmer schedule is always tough. A boring day always make you philosopher, don’t take me serious. its just a time or you can say i have nothing to do, so philosophizing.

Continue.. then i did some exercise and then back to home and after taking a shower/breakfast i started on some some calculus stuff (just leave it) . light was gone as usual. on 9:00 AM it was back and i turn on my laptop but i was not having any special thing to do today. so i was surfing web and wishing happy birthday on Facebook to friends. Facebook is not always helpful to give you entertainment in the way you may be need, but i respect it as most amazing and big social network.

Today i also observed core of Codeignitor, i like this framework too much. clean and well-written and well-commented code. whenever i get time i like to watch its libraries and core code.

Some music and a movie that was in my torrent list , that all was my day.

i grab a YouTube URL for you. its Enrique song with bitbull , i am sure you will enjoy this.

[kkytv id=”klk8QPcfFYQ” width=”500″ height=”400″]

Moodle – An introduction to Object-Oriented E-Learning System

Moodle actually stand for “Modular Object-Oriented Dynamic Learning Environment”. also knows as Course Management System, Learning Management System, or Virtual Learning Environment (VLE).

The most important thing about this its all modular and object-oriented, so its actually its power, you can develop modules to increase functionality. i was just testing it by installing it on http://moodle.naeemrana.com, so i found it perfect if you really need to build a e-learning website. where you can have Course Management, Discussion forum, Grading, Wiki etc. its object-oriented nature really attract any programmer to use it on their projects where they don’t need to build everything from scratch. you can extend Moodle’s modular construction by creating plugins for specific new functionality and there also some plugins already available free.

It has following functions which you can perform using Moodle.

  • Assignment submission
  • Discussion forum
  • Files download
  • Grading
  • Moodle instant messages
  • Online calendar
  • Online news and announcement (College and course level)
  • Online quiz
  • Wiki

Moodle supported almost all platforms Unix, Linux, FreeBSD, Windows, Mac OS X, NetWare where you can have PHP and mySQL.