How to revoke access to apps or websites allowed in your twitter/facebook?

This is a small tip for the newbies of facebook/twitter.

image In the age of social networks you might at least owning your identity at facebook/twitter which are the popular social networking websites.

In the earlier time what we do if we need to register in a website? we will register a simple form and give our email address and password to create the account. It was merely tiresome if you need refill everything once again and register with the website. OpenID was one of the solutions for this problem as the single openID can be used across different websites which supports OpenID authertication. Your OpenID profile information will be used by the website for further processing. The advantage of this mechanism is that you don't have to create any new accounts, no need to share/keep passwords with third party websites.

When the social networks boomed, the social network profiles became our social ID. Realizing the user needs and business advantages, Facebook introduced facebook connect and twitter introduced OAuth authentication to use their account to connect with different web services.

Spams are everywhere and people are fighting against it. If you’ve not used your ID carefully with websites, finally you will end up seeing lot of spam msgs in your inbox. You can connect with any website which supports facebook connect or Twitter OAuth. Once you allow access to your facebook stream or tweet on your behalf with twitter, the web applications can write anything on your behalf. Your friends or followers will be seeing it as the update from yours. For example, one of my twitter friend frequently tweets about “100 followers in a minute… follow this link… *blah* *blah*”. I wondered and asked him why you’re tweeting like this? I think we must have some genuine followers other than bots. He said, I  never knew it. I’ve not posted anything to my twitter. I guess someone posting on my behalf.

The thing is he has connected to some websites using twitter authentication and he allowed them access to writer on his twitter stream. Rest you can think of.

But don’t worry, once you realize that you’re dealing with a wrong website which is not good for you and your networks, you can revoke the access at any time. I’ve explained the steps below.

Revoking Access to facebook apps/connected websites

  1. Go application settings.

image

2. Find the application to block form your list and Select the application from the list.

3. You can do following things.

  • Edit application settings to restrict access to your wall and other facebook settings. You can do this by clicking on “Edit settings” link provided next to each application. The features used by the application will be listed in the popup window. e.g is given below. You can check/unchek according to your convenience. Note that by doing this, the app is still active with your facebook account.

image

  • Remove applicationimage

Revoking Twitter Authenticated (OAuth) websites/app

  • Login to your twitter.com
  • Go navigate to “Settings Page”
  • Go for “Connections” tab

image

  • Click on Revoke Access link. You can also undo this if you’re wrongly revoked access!

Hope this helps!

Be the Ocean! – Inspiring Incident quoted from Chetan Bhagat’s blog

In a recent blog post, Chetan Bhagath shared his updates on his new book “2 States”, new move “3 Idiots” based on his First and popular novel “Five Point Someone” and few more.

There was nothing quite surprising things as I am following him on twitter (@chetan_bhagat)and getting frequent updates. But the end of the post, it was just amazing. Here it is…

 

I want to end by sharing a small incident. The night before the release of 2 States, I was super tense. I went to the ISKCON temple in Chowpatty and met His Holiness Radhanath Swami, an American gentleman who moved to India several decades ago and devoted his life to serve God. I told him I couldn’t sleep because of the anxiety over the fact that there will be a million judgments on my work, both positive and negative, in the coming days. He told me this:

“Imagine there is a puddle. When it rains, the puddle is filled with water. When it doesn’t, the puddle dries up. Now compare that to the ocean. The ocean is so deep, it doesn’t matter if it rains above or it is dry weather. Your inner depth should be as much as the ocean, so you are not fazed by the external praise or criticism. For that, you must truly do work that is meaningful to you, have love in your heart for others and help people. And when you achieve inner depth, the external world’s rewards won’t matter to you as much.”

I don’t think I am as deep as the ocean yet. But I am trying. Meanwhile, I just felt I will share this with you, so you may apply it in some aspects of your life. Whatever happens outside, it doesn’t matter as much if there is a calm stillness in you.

Excellent! Hi books are always cool and I love to read it and moreover he inspires through this quick blog posts/writing like this! Great man. I respect you!

Visual Studio 2010 - Conditional breakpoints using String Comparison Functions (C/C++)

All we’re fond of conditional break points if we need to execute the program until some specific condition exists. We usually give numerical expressions to give conditional break points. If you don’t know about conditional break points, just have a look at MSDN documentation. or this one.

Now the C/C++ programmers are blessed with break with string conditions.

Just put a breakpoint in your source code and right click on that choose “Condition” to see the following window appear. You can give string comparison routines to set the break point.

image

Once you start debugging, you can see the break point hit on the condition you’ve given

image

Visual Studio Beta 2 currently supports the following functions (Taken from Habib Heydarian’s blog)

strlen, wcslen, _tcslen, strnlen, wcsnlen, _tcsnlen, strcmp, wcscmp, _tcscmp, stricmp, wcsicmp, _tcsicmp, strncmp, wcsncmp, _tcsncmp,strnicmp, wcsnicmp,_tcsnicmp,_stricmp, _wcsicmp, _strnicmp, _wcsnicmp

This may be changed or updated in the final release. Anyway enjoy your breakpoints!

Visual Studio 2010 – Code Metrics calculation

Visual Studio 2010 provides a new feature to calculate various the code metrics. Sadly this options are only available for Managed projects. Sorry native developers!

It allows to calculate the follow matrices of your project

  • Maintainability index
  • Cyclomatic Complexity
  • Depth of Inheritance
  • Class Coupling
  • Lines of code

Most of us mainly interested lines of code (LOC) as various other calculations in the project life cycle calculated based on this.

To calculate Code matrix, Right click on the Solution and choose “Calculate Code Metrics”

image

As you’re seeing above, you can see the information for the entire project and also for the individual items.

It’s possible to filter the results based on given criteria as you’re seeing below.

image

The coolest things is that, you can export these result to an excel sheet without any pain. Just right click on the item and “Open Selection in Microsoft Excel” as you’re seeing below

image

You can get it opened in the excel. See, the filters are automatically applied for header items!

image

To know more check MSDN website.

Firefox 3.6 exploiting the features of Windows 7

Firefox has released the Firefox 3.6 beta 1 for developer preview. It Visually doesn’t feature any changes from version 3.5. But it features integration with Windows 7 Taskbar and also Windows 7 Style switching of tabs using Ctrl + Tab. Yes it’s able to display the tabs preview.

Download it here.

(Click on this, if you need a Direct link to Firefox 3.6 Beta 1 English for Windows)

Windows 7 Like Tab Preview

 

Firefox 3.6 ca now display tab previews like Windows 7(the very same way of Alt+Tab in Windows 7).

This feature is disabled by default in the beta version.

type about:config in your address bar and on the appearing page, search for browser.ctrlTabPreviews. Set this as true.

image

OK now you’re done. Start Exploring

You can select the required tabs using mouse as well by holiding down the Ctrl+Tab key.

image

What if you’ve too may tabs? Ctrl + Shift + Tab will show up all tabs in the firefox window. Alternatively you can do this by holding down Ctrl + Tab and Click on “Show All Tabs” displayed in the very same windows

image

This preview window display features a search box where you can quickly search for the required tab if too many tabs are open. As this Shift key assigned with Ctrl+Tab to show up whole tabs, I’m sadly missing shortcut I previously used to traverse back in order.

image

You can also close the tabs if necessary in this view.

 

Windows 7 Taskbar Integration

 

On hovering the taskbar icon of firefox, you can see the preview of tabs in the aero peek window. To enjoy this feature you will have to enable aero theme in you Windows 7.

image

On hovering the mouse over the windows displayed in the peek view, surely you can peek to see the window. It’s the real Windows 7 peek feature. You can also close the tabs if necessary in this view.

image

If you’ve too many tabs open, then it will be displayed as stacked list as your seeing above.

Cool eh! This is a quick post on my first look, if you find something really cool, please do share with me in twitter, facebook, or as a comment in this blog.