Posts

Showing posts from October, 2013

View Facebook DP (Display Picture) in Full Form.

Image
Hi Today i will Show you how to view the small Facebook Display picture in full form of it. Requirements: 1. Nothing just browser like firefox or google chrome. Steps: 1. Open the profile you want to view its Display Picture in full form 2. Right click on DP and copy Image location (firefox), or Copy Image URL (chrome)              Using Firefox                                                               Using Google Chrome   3. Open the link in new Tab it should be like this https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash2 /c3.0.174.174/s160x160 /427836_47098733234228_125520545 _a.jpg 4. Now u have to do these changs remove /c3.0.174.174/s160x160 from the link means the link will become like this: https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash2 / 427836_47098733234228_125520545_a.jpg 5. At the end of link replace _a.jpg with _n.jpg (if in ur case its _s.jpg also replace it _n.jpg) your link will become like this: https://fbcdn-profile-a.aka

Get First parameter from url (JavaScript Solution)

Today i ran into problem of how to retrieve the first parameter from a url after "/". I have designed a simple solution, you can see live demo of it here . I am also coying the code below var url = window.location.pathname; // returns the full URL var splittedurl = url.split('/'); var firstparameter = splittedurl[1]; // returns first parameter after url alert(firstparameter); Thanks. You can ask any question freely in comments.

LINQ Query Returning Old Data After Update

Sometimes linq query returns old data after update. This is because of data context internal caching. Follow this link to understand more about data context. Now the question is how to avoid this, below i have listed couple of techniques to avoid data context internal caching and force linq to reload results from database. 1) If you set ObjectTrackingEnabled to false, the DataContext does not track the object. 2) The second object is to refresh the object to database values after it has returned the object. For example var cacheddate = (from d in DataContextObj.users where username = "unique" && active == "true" select d).firstordefault(); Now after performing some update, the data is updated but query still returns old data. In this case you can refresh your object (in our case it is "cacheddata" ) to database values. You should refresh thiis variable just after executing a query, see below for example var cacheddate = (from d in D

Remove Search.conduit.com

Image
 Search.conduit.com is like worse nightmare how to remove it so here are the step by step tutorial. Uninstall Search.conduit.com Toolbar From Computer: 1. First we will remove Search.conduit.com from your Computer thn we will Learn how to remove from All other Browsers. 2. Click on Start Button And Click on RUN ( Shortcut WindowsKey+R)  The Run Box will appear. Type This and hit enter APPWIZ.CPL 3. It will open ADD AND REMOVE Program. Find Search Provider By Conduit in it and Uninstall it. 4. Now Follow the below steps how to remove it from Browsers Uninstall Search.conduit.com Toolbar in IE: 1. Open Internet Explorer. Press ALT+T → Manage Add-ons. 2. Select Search Providers .Select BING 1st and make it default search provider, then select Web Search and Click Remove button at the bottom to uninstall it. 3. Now Press Again ALT+T  →Internet Options . Go to General tab remove eveything which is in the box of HOME PAGE and Add http://www.google.com