Have you installed a fresh Ubuntu? If YES! then you might be experiencing a few problems in listening to the music, watching videos and surfing the web as in problems with Flash, Java and so on. Don’t worry just feed your terminal with the following commands and all will be well. 😀 This is just because the patent and copyright restrictions (see Ubuntu License Policy) complicate distribution of software to support non-free formats.
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install kubuntu-restricted-extras
sudo apt-get install lubuntu-restricted-extras
sudo apt-get install xubuntu-restricted-extras
To play DVDs, you need to install libdvdcss by entering the following in a terminal:
I am also trying my hands upon SQL injection, Cross Site Scripting (XSS), MD5 encryption and one more thing which is really cool but for now let it be a secret. 😉 I will try to write the tutorials of each of the above once I do some considerable amount of work on these. But for now I have to leave because I don’t want to skip my breakfast in the hostel mess like the past few days. 😛
Heard such saying before? Yeah this is the enhanced version of the saying which is based on my self realisation. Today I read about the Internet’s Own Boy, Aaron Swartz. He was the one who with the grace of God learnt to learn at a very young age. His father introduced him to the computers when he was about three. He wrote his first program in BASIC when he was 6. Astonishing? Then listen some more. He developed a website called infobase when he was 12. It was a website like WikiPedia for which he got scolded at school as the teacher disliked the idea to allow everyone to edit the content. Now the best part is WikiPedia was developed 5 years later. Startled? 😛 You should be. And the title of the post indicates that you need to gift yourself with the gift of hardwork to continue receiving gifts from the Almighty which is what done by the people you call Legends.
Well for today this much of his golden tale is enough. I will try to be a good story teller by tomorrow too. :P.
Well I shared this story because I wanted to emphasise on the fact that good books good people good thoughts keep your spirits high and elated. I would personally acknowledge that the boy I told story of inspires me a lot. When you encompass yourself with the ideas and thoughts of such people you actually get motivated and pumped up to excel in life by emulating them which is actually too good a deed. So in my opinion to stay focused devoted determined towards your aim, surround yourself with good thoughts good people.
Other than this today I stayed immersed in the ocean of PHP and C++.
Practised a few C++ programs based on Multi-dimensional Arrays and Data Storage Item–Stack. Both of these types of programs completely refreshed my brain and it seems now I am learning the real C++. 🙂 I will share these programs as distinct posts / tutorials soon.
Studied about the security vulnerability of websites. Got to learn about the various concepts through which the privacy of the site can be compromised.
Learned techniques to harden PHP websites mostly WordPress.
Explored the functioning of perilous functions and language constructs such as base64_decode() and eval().
Also learned how to enable / disable them.
Installed Suhosin, Advanced Protection System for PHP, on production server.
Finally I had a date with PHP OOPs. 😉
Okay gotta go now because it’s 3 in the midnight and I have to attend tomorrow’s presentation at 8 and make that Gold-$X $X (Gold-mine mine). 😉 😀
I’ve known it all our life
I made it,
I made it!
I used to dream about, the life I’m living now
I know there is no doubt
I made it, I made it!
Known from the city where no one believed in me
But I never gave up the fight.
Yeah, but now I’m on top.
I told you to let it rock
Now the money’s fallin’ from the sky-y-y-y-y
I made it.
Don’t mistake me for boasting. 😛 The above are the lyrics of the song (Wrestle Mania Theme) which I like the most. It levitates me up so high that I can barely settle down. In the morning I hearkened to the presentation of Gagan and Gurjot regarding the Licensing issues. It was too informative. Thereafter I got to peep down deep into eCAD which is too doing good. So after the night clouds enveloped the day, I plucked the fruits—HTML, CSS, and PHP down from codecademy.com tree for my dinner . 😀 I am relishing every bit of these fruits these days (five days in a row). 😀
One more thing which I enjoyed today was experimenting with the experimental server to befool my friends. I wrote a PHP script which tossed the coin till we get the required number of heads and hosted it on the experimental. I set the number of consecutive heads so high that running the program on the system caused it to hang. 😛 As an aftermath of which Harjot, Hitesh, Chanpreet had to restart their laptops. Working this way is toooooooooooooooooo playful. 😛
Just one thing that astonishes me these days is, “Where the hell has my slumber gone?” 😛
So the first quarter of the day was expended in having deep slumber as I was fatigued from many a day. The second quarter was spent in exploring incredibly creative websites, learning techniques to optimise images for websites. It can be done with the help of two tools “optipng” and “jpegoptim“. They tools do lossless compression and can be installed as follows
sudo apt-get install optipng
sudo apt-get install jpegoptim
respectively. Then another technique to decrease the size of an image is using “convert” command from the terminal. We can resize an image by increasing / decreasing the quality (50% below) as much as we want as follows:
convert -resize 50% image_name.jpg
Deepak and I share interest / longing to create websites seeing which one may become awestruck. One of such is http://makemepulse.com/ .
In the next quarter I went to Alisha for covering CPlusPlus. We covered a few superb topics from Arrays and Strings, Robert Lafore. We also explored MediaWiki’s http://phabricator.wikimedia.org/ for picking up a task. Then I bought a couple of winter wear too from their Hosiery Sale (you may also shop online from their website 😉 ).
Now in the last quarter I have solved a big problem with common sense. 😉 My laptop was getting immensely hot despite the proper functioning of the fan. I surmised some extra processes must be running which were exhausting it. So I just issued htop command and to my utter surprise there were three process running with the same name “firefox” and different process ids but graphically I could not see firefox running. So I killed them using “kill” command. And to my utter surprise again the scorching temperature turned out to be like absolute zero (I felt like I needed applause. 😉 ) One may also learn about kill, top, htop and ps commands from this marvellous article from digital ocean.
And before the last couple of eye blinks I have almost completed the codecademy CSS which I aim to finish by today itself. I am just concerned if I would be able to attend Kamal‘s presentation but I WILL definitely attend the rest of the presentations (seems I have to change my eating / sleeping patterns 😉 ).