[OSFY] : Protect Your System against ShellShock bug


Hola amigos,

Sharing my Third article in Open Source For You (Asia’s largest Open Source magazine), November 2014 Edition. Along with it my tip on Linux partition resizing is published too :) \m/

You can follow this link for Linux partition resizing

Download the pdf here: Protect your system against ShellShock bug

Test and protect your system ASAP and happy browsing :)

Let the Windows be open, and feel the Freedom.

[Review] Fifa 15:Demo at a Glance


Hola Amigos,

Most of my posts were about Open Source and technology related, but recently I got my hands on the most recent Fifa 15: Demo. In this post I am going to share my experience and tell you about what differences I found in Fifa 15 over Fifa 14.

Reference: http://www.ps4fans.net

Fifa 15

The graphics is lot better than what Fifa 14 had. The gameplay and ball control is just awesome and realistic. The player movements still seem artificial.

Gameplay of Fifa 15: Demo: (more would be added after release of Fifa 15: ultimate edition)

Ref: https://eaassets-a.akamaihd.net

Fifa 15 Graphics

1) The Intro video is just amazing with life-like graphics and it feels like you are watching live telecast of the match. You can even see ‘EA HD Live’ on top right corner.

2) Match trailer (wait on the home screen for some time when it asks to ‘Press Start’) is just amazing.
The grass looks like it is real and you can actually get that feeling like standing on the grass in the middle of the stadium.

3) Liverpool vs Man City (Barclay’s PL final)starts immediately and you are Liverpool and have to save the title and emerge as the winner.

4) *Hint* Watch the match intro completely, the team would line up together and match would start just like a real match.
All the cameramen would line up in the front and the players as well as the crowd would be focused from different angles (If you skip the video, you would miss out the player radar at the bottom).

5) Referee would bring the ball and place it at the center for the kickoff.

6) You can End match and select another team; only few clubs are available in demo.

7) Goalkeeper mechanism has been improved a lot and he actually saves the goal and moves from its place.

Ref: http://www.easports.com/

Fifa 15 Goalkeeper

Even the defenders would clear the ball and try to avoid ball from going for a corner or throw in. (I really like the AI that the players have).

8) While playing in Legendary mode, it really feels like playing with the real players. Creation of opportunities, ball control and assist is very good for a CPU.

9) If you win with Liverpool you can see a grand ceremony at the end.
Man city players would be sad (They would be lying on the ground and holding their heads in defeat) and Liverpool players would come together and celebrate (Players hug each other and they would run and slide on the ground). There were sparkles everywhere and the crowd went crazy.
The officials will be giving the trophy and camera would be flashing from everywhere.

Ref: http://media1.gameinformer.com

Fifa 15 Emotions

10) Then the match highlights would begin. The crowd reaction has been improved a lot. You can notice different crowd reactions while a player scores or the team misses a goal or the goalkeeper saves an important ball.

11) Two new Player Mentality have been added (All out Attack and Defence).

12) We can view Match Highlights (Goals, Saves and other events in the match) after the match ends.

13) Fifa 15 has an all new interface to manage the team and formations.

14) Player performance and ratings view have also been revamped and given a new look.

[Mozilla] Firefox: Extra space at the bottom of page in new window


Hola amigos,

After the recent update of Firefox Browser to version 31.0 I noticed empty space at the bottom of the page whenever I open a new window (not a new tab) and as usual asked on IRC and then filed a bug here.

I was then suggested to restart Firefox in safe mode by disabling all the add-ons. To do so follow the steps here.

I also tested it under a different profile (in my case a new profile). To create a new profile follow the steps here.

In both of the above troubleshooting method I was unable to reproduce the bug. So I could easily conclude that there was some compatibility issue with add-on and the updated version of Firefox as same kind of issues were reported on bugzilla few years back. As it was all resolved I had to report a new bug.

If you want to skip all the above methods, then follow these steps:

  1. Goto Tools->Add-Ons (or Press ⇧+⌘+A).
  2. Select Extensions.
  3. Disable one plugin at a time (Restart browser if required).
  4. Open up a new window (⌘+N).
  5. If the empty space if still there then repeat steps 3 to 5

When you find the extension that is causing the issue you can keep that one disabled and enable the other plugins that you disabled and continue using Firefox normally.

Let the Windows be open, and feel the Freedom.

[OSFY] : Improve Python Code by Using a profiler


Hola amigos,

I am glad to inform you all that I have successfully published my Second article for ‘Open Source For You (OSFY)’ magazine, September 2014 Edition, titled ‘Improve Python Code by Using a Profiler‘.

To download and view the article please click on the above link.

In this article I have shared about using line_profiler for python (referenced from my earlier blog post).

Hope you enjoy reading this article. Your love for my blog and articles encourage me to write more articles in future and keep on sharing the knowledge with everyone :)

Let the Windows be open, and feel the Freedom.

[Mac OS X] Unable to move/empty files from Trash.App


Hola amigos,

I had installed an application on my Mac OS X and then found it to be not of any use for me. I moved the application from the ‘Application’ folder to the Trash and then emptied it. It was normal for the Finder to ask for administrator password as I was trying to remove an application file.

Later on, I was deleting some files to free up disk space when I realized that the Finder was again asking for admin password and I could see the Trash empty (I thought it is directly deleting the files without moving it into the Trash; for the time being). I tried on multiple files in different folders and found the same ‘Finder wants to make changes. Enter your password to allow this.’

Enter admin password popup

Enter admin password popup

This popup comes every time you try to move files to Trash or while emptying the Trash.

This problem usually arises because while emptying the Trash, the owner or user privileges gets modified and only the root/administrator can access it.

To fix this problem, simply open up your Terminal and type the following command:

sudo chown your_user_name ~/.Trash

The above command will change owner (chown) of the Trash (location: ~/.Trash; ~ – Home path, .Trash – ‘.’ meaning hidden file) to your ‘user name’ and give read/write permissions to it. We use sudo to give administrator privilege to make the changes and you have to enter your admin password once.

You can also use this command to give access privileges for particular files/folders to other users.

Note: Some users might have also noticed that the Trash is not getting cleared ever after you click ‘Empty the Trash’ and it shows successful. (The above method in not tested yet though for this particular problem, but you can always try it out and share it with everyone here).

Hope this helps you :) Leave your queries in the comment and will get back to you.

Let the Windows be open, and feel the Freedom.

[Android] Unable to send images after recent WhatApp Update


Hola amigos and WhatsApp users ;) ,

Android users constantly keep getting updates for almost all the applications in a matter of few weeks, months or even days. WhatsApp being one among them, and which expires after a few versions if you don’t update to the latest. This is not the issue with iPhone users though.

It keeps saying your whatsapp version is too old, it will expire in 14 days (and the countdown begins) :P

Few weeks back I got this message, and I had to update to the latest version of whatsapp (this time I didn’t wait for it to expire before my net pack expires).

Though it has got a new camera shortcut (not working though; shows camera failed every time) placed along with the voice recorder in the chat box, it has introduced new bug for many users.

It was a great nuisance for me as I couldn’t share images in whatsapp. I tried clearing the cache, restarting the phone, sending the image through file manager/gallery share option; few of the common troubleshooting methods which to work fine for me in the past, but this time it was something else. I tried uninstalling all the apps and still it used to show failed to send image message.

Whatsapp failed to upload Image.

Whatsapp failed to upload Image.

After a long time and lot of trial and error I found out a way out of this or you can say an alternative method to share image on whatsapp.

Solution: Select Camera option from ‘Attachment option’ from the top right corner and in the Camera setting select a lower/least resolution and send the image.

Camera Resolution Option

Camera Resolution Option

Note: This worked well for me (Tested only on HTC Explorer). If you are still unable to send images, leave your problem in the reply and will find a fix for it soon :)

Let the Windows be open, and feel the Freedom.

[WordPress] How to remove HTML content from Comments view


Hola amigos!

It’s been quite some time that I posted something technical. So here is a post for you all. This one is related to WordPress (hosted on your own server or just trying out locally).

I was an intern at Hangrr – Business, Leadership and Marketing Program, where we had to set up our own website. We chose WordPress as our back-end. You can visit our website here.

While we were deciding on the themes and the slider plugin on the homepage, we had to make sure that we have contact us forms and the users should be able to leave comments on the articles too. When we were working on comments form we came across some extra text being displayed on the page which was unnecessary and was related to HTML tags something like this –

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

HTML content below Comments form

HTML content below Comments form

To remove this just add the following code under Custom CSS and voila! your website and comment form is clean and simple.

Go to Dashboard->Appearance->Theme Options->Other->Custom CSS

#respond form p.form-allowed-tags {
display: none;
}

Then click on save options.

Alternate method: You can also add the following css code in your stylesheet (style.css) file.

Go to Dashboard->Appearance->Editor->style.css (on right side bottom corner)

.form-allowed-tags {
display: none;
}

Click on update file after adding the code.

[Screenshot] After adding the code:

Comment Form after removing HTML tags

Comment Form after removing HTML tags

Q. Where to add the code in style.css?
Ans. It’s quite simple, almost all the themes have comments in their source files for better understanding. You might find something like this in your style.css

/* =Content
----------------------------------------------- */

You can add the code first thing below this comment or you can place it at the end of the file to find it easily in future.

Let the Windows be open, and feel the Freedom.