2011 in review

February 23, 2012 Leave a comment

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

A San Francisco cable car holds 60 people. This blog was viewed about 2,100 times in 2011. If it were a cable car, it would take about 35 trips to carry that many people.

Click here to see the complete report.

Categories: Uncategorized Tags: , , , ,

2011 in review

January 1, 2012 Leave a comment

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

A San Francisco cable car holds 60 people. This blog was viewed about 2,000 times in 2011. If it were a cable car, it would take about 33 trips to carry that many people.

Click here to see the complete report.

Categories: Personal Tags: , , , ,

How to Enable the New Facebook Timeline NOW

September 23, 2011 Leave a comment

How to Enable the New Facebook Timeline NOW


You’ve been hearing about all the wonderful new Facebook features, and like us, you’re probably super-eager to get started with them.

If you’re willing to go through a series of eight steps, you can get into the brand-new Facebook Timeline right now.

Simply follow the instructions in our gallery below, and suddenly you’ll be basking in a new world of Facebook goodness, just like the developers are. Follow the instructions carefully, and good luck.

First, you’ll need to go to the Facebook developer page, which is a part of your Facebook account. Make sure you’re logged into your Facebook account, and then simply follow this link to get started.

Step 1

1. When you get here, click “allow.”

Step 2

2. Click “create new app”

Step 3

3. Name it whatever you want, and give it whatever namespace you’d like — it doesn’t matter. Click the checkbox “I agree to the platform privacy policy.” And then click Continue, pass the security check by filling in the Captcha, and you’ll be ready for the next step.

Step 4

4.After you’ve verified yourself as a human, you’ll reach this screen, where you’ll need to click “Open Graph” on the left side.

Step 5

5. You’ll see the next screen, entitled “Get Started with Open Graph” — fill in anything you want (it doesn’t matter) in those fields under the heading “start by defining one action than one object for your app.” Click Get Started.

Step 6

6. On this screen, do nothing except scroll to the bottom and click “Save Changes and Next.” Do the same thing on the next screen.

Step 7

7. You’ll be taken to this screen. Wait a few minutes, and then go to your Facebook homepage. That’s where you’ll be invited to enable Timeline. Be patient at this point — sometimes it requires you to wait before the changes take effect.

 

Step 8

8. When you go back to your Facebook homepage, you’ll see this. Success! Click Get It Now, and you’re in!

Source:- http://mashable.com/

Jquery notification after postback asp.net

September 16, 2011 Leave a comment

Hi All,

I read in many forums that developers are facing problem to display Jquery notification message on page after posting back. This is very important in any website now a days to make GUI very attractive.

Here is simple tutorial which will help you to solve above issue.

I am using Jquery notification message plug-in for displaying message.

Below is code for aspx page

Default.aspx

<html xmlns=”http://www.w3.org/1999/xhtml”&gt;

<head id=”Head1″ runat=”server”>

<title>Jquery Postback demo</title>

<script src=”JS/jquery.showMessage.js” type=”text/javascript”></script>

<script src=”JS/jquery.showMessage.min.js” type=”text/javascript”></script>

<link href=”CSS/style_msg.css” rel=”stylesheet” type=”text/css” />

<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&#8221;

charset=”utf-8″></script>

</head>

<body>

<form id=”form1″ runat=”server”>

<div>

<asp:TextBox ID=”txtFirstname” runat=”server” />

<asp:Button ID=”btnSubmit” runat=”server” style=”height: 26px” />

</div>

</form>

</body>

</html>

I have just added one textbox and one button in HTML page below is code on button click event.

protected void btnSubmit_Click(object sender, EventArgs e)

{

RegisterJavascript(“You have entered” + txtFirstname.Text, “success”);

}

Before running it here is code for the function that we have called on button click.

/// <summary>

/// </summary>

/// <param name=”message”>Your message string</param>

/// <param name=”className”>Class name is use for what type of message it is like success,fail etc</param>

public void RegisterJavascript(string message, string className)

{

string prompt = “<script>jQuery(function() {jQuery(‘body’).showMessage({‘thisMessage':[‘” + message + “‘],’className':'” + className + “‘,’displayNavigation':true,’autoClose':true}); });</script>”;

ClientScript.RegisterStartupScript(typeof(Page), “prompt”, prompt);

}

I am just displaying text of textbox in  notification message. You can write any message on the page.

You can also write images html tags inside the message. For more details how this library works visit home page.

Jquery library which is being used in this demo can be downloadable from below link.

http://plugins.jquery.com/project/showMessage

Download working source code of the demo Click here to download it.

Thanks

Detect Nudity With JS & Canvas – nude.js HTML5/javascript

September 14, 2011 Leave a comment

Hi guys,

I was just reading blogs and got to know something which might help you to prevent nudity in your website.

nude.js is a JavaScript library that uses HTML canvas for detecting if an image contains nudity or not.

As the algorithm runs on the client-side, it is optionally possible to display the image with user interaction.

The library can be very useful for web applications where users can share images, it can be activated for users under a specific age, etc.

nude.js is still under development for making the algorithm better, however it is already very promising.

Visit below link to see examples.

http://www.patrick-wied.at/static/nudejs/demo/

Visit home page for more info

http://www.patrick-wied.at/static/nudejs/

 

Thank you.

New life began

June 26, 2011 Leave a comment

Finally I have started my job on 6th June 26, 2011 in Maxim Integrated Circuits as an IT engineer. It is an awesome experience of my life. On the first day I got introduced to other colleagues and all the HR formalities. For the first time I will get paid for the work which I love to do.I got my last semester result and soon will get degree certificate(provisional) ;) :P and done with studies. No more exams tension no more submissions of assignments, but there are some  more responsibility in office work though.Currently I am working on c#.net,ASP.NET.

Categories: Personal

Angry birds hack for chrome browser


Hello,

Before few days angry birds launched their  game for browser and it was firstly released for Chrome, which was initially for apple and android.

They did fabulous job and it’s same as I played on mobile, everything is perfect and they have used HTML5 and CSS3 at extensively level.

I was playing and was trying to complete all the level with three start ;) but I was unsuccessful though :P

Someone found a hack taking advantage of unencrypted local storage values. The Toronto based web developer then shared his findings on his site; it’s a  line which you can copy and paste into your Chrome browser’s address bar when you have the web game up.

Here’s the line to access every level with three star:

javascript: var i = 0; while (i<=69) { localStorage.setItem(‘level_star_’+i,’3′); i++; } window.location.reload();

This is a useful code for those of you that don’t want to replay levels from the mobile versions, or just like to cheat. However, if you’re tired of being a cheater, you can copy and paste the following line to lock all the levels again:

javascript: var i = 1; while (i<=69) { localStorage.setItem(‘level_star_’+i,’-1′); i++; } window.location.reload();

Categories: BUGS, hack
Follow

Get every new post delivered to your Inbox.