Posts

Showing posts from 2013

SQL Joins

Image
Below is the nice little explanation of SQL joins, do read it and share it with your friends.

RFID IMPLICATION WITH CLOUD

This research paper is written by me in my university days, i am sharing it out with other peoples, please share your views in comments. Asad Malik 1.       ABSTRACT: Radio Frequency Identification (RFID) uses radio waves to track the movement of products. The item is identified by a unique number that is passed on easily to a pc. Middle size companies are experiencing RFID execution limitations.   The limitations are poor processing power, limited computational resources; poor data management etc., because of these issues RFID is not able to deliver what it is capable of, hence businesses are finding it difficult to adopt it. In this paper I have proposed a cloud platform for RFID system which will help RFID solution providers to meet RFID limitations and provide solutions which can meet the requirements of the businesses. Our platform will help meet the challenges which are un-answered yet and are affecting the reputation of radio frequency identification. Our platform wi

Difference between abstraction and encapsulation?

This is indeed the most asked question in object oriented world. After sometime i came to final conclusion and now i am able to define these 2 concepts precisely 1- Abstraction: Abstraction allows you to focus on what the object does, instead of going into its implementation details For example: var string = 5; int number = convert.toint32(string); Now you know that using convert.toint32 method, you can convert string to int, you know what this object does, but at the same time you don't know its implementation details. Implementation details of this object is hidden from the user, this is abstraction. 2- Encapsulation: It means hiding the implementation or internal details of how object does something. For example: if you look at the abstraction example, convert.toint32 implementation is hidden from outside world. This is very simple example of encapsulation.

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

Increase Traffic on website.

HOW TO INCREASE TRAFFIC _______________This Post Has been Stolen From Deepweb________________ This Perl script creates random IP numbers and ports and tries to connect to these IPs aiming to generate as much traffic as possible. Procedure: Remember for this you have to download and install Active Perl> http://www.activestate.com/activeperl/downloads After downloading and installation copy the below code  Paste it in Notepad and save it Anything.pl in ur C: drive. anything means any name Open cmd and type this cd\ (hit enter) Then Type this and hit enter C: Then type this line Anything.pl In your case it will be somthing else depending upon which name have u given to that file. _______________________________ REMEMBER THIS: DON'T USE THIS SCRIPT IF YOU DON'T HAVE LOTS OF BANDWIDTH _____________Copy the below code__________________ #!/usr/bin/perl -Tw package multithreadediptraverse; use strict; use threads; use threads::shared; use Thre