Display your latest tweet without a plug-in
If people like your blog, they would probably also enjoy your tweets. Displaying your latest tweets on your WordPress blog is a good way to gain new subscribers. A plug-in can do that, but for such a simple task, I prefer a hack. This one grabs your latest tweet and displays it on your blog.
This ready-to-use code can be pasted anywhere in your theme files. Just don’t forget to change the value of the $username on line 4. The $prefix and $suffix variable can be used to insert a title, and the div element can be used for further CSS styling.
// Your twitter username. $username = "TwitterUsername"; // Prefix - some text you want displayed before your latest tweet. // (HTML is OK, but be sure to escape quotes with backslashes: for example href=\"link.html\") $prefix = "Save the file, and your latest tweet is displayed on your blog. Nice, huh?My last Tweet
"; // Suffix - some text you want display after your latest tweet. (Same rules as the prefix.) $suffix = ""; $feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&rpp=1"; function parse_feed($feed) { $stepOne = explode("", $feed); $stepTwo = explode("", $stepOne[1]); $tweet = $stepTwo[0]; $tweet = str_replace("<", "<", $tweet); $tweet = str_replace(">", ">", $tweet); return $tweet; } $twitterFeed = file_get_contents($feed); echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes($suffix); ?>
Create a Page that shows twitter updates on your blog/site
Twitter is the best way to publicize and advertise your blog or site and to stay in touch with followers. We already showed you how to display your latest tweet on your blog, in your sidebar for example. Another good way to introduce readers to your Twitter updates is to create a dedicated page for displaying your tweets, using the powerful “Page template” WordPress option.
To perform this hack, you need to know how to create and use page templates. If you’re not familiar with this, this article will tell you all you need to know.
Here’s the code to create a Twitter page template. Paste it in a new file, name the file something like twitter-page.php, for example, and then add it to your blog.
This code uses the wp_rss() function from WordPress core, which is an RSS reader. In the first argument I pass my Twitter RSS feed, and in the second argument I determine the number of entries to display.
To perform this hack, you need to know how to create and use page templates. If you’re not familiar with this, this article will tell you all you need to know.
Here’s the code to create a Twitter page template. Paste it in a new file, name the file something like twitter-page.php, for example, and then add it to your blog.
01 |
|
02 |
03 | /* |
04 | Template Name: Twitter page |
05 | */ |
06 |
07 | get_header(); |
08 |
09 | include_once (ABSPATH.WPINC. '/rss.php' ); |
10 | wp_rss( 'http://twitter.com/statuses/user_timeline/15985955.rss' , 20); |
11 |
12 | get_sidebar(); |
13 | get_footer(); |
14 | ?> |
Saturday, July 24, 2010
Hack-It - Modify the way windows are on your system.
Hack-It is a window manipulation program. It allows you to control any window on your system in several different ways not normally available to you through the standard Windows user interface. The major functions you can perform on windows are: making a window visible or hidden, causing a window to stay on top of others or not stay on top of others, adding an icon to the system tray for a window, and having that window minimize to the tray, adjusting the transparency of a window, manipulating process priorities to give a window's process more CPU time, standard window functions such as restoring, minimizing, maximizing, and closing, and forcibly terminating a process.
Download Now (488.82K)
Tested spyware free Sunday, July 18, 2010
10 awesome hidden features of Facebook
Facebook hacks or mods to reveal hidden features. We share 10 awesome hidden facebook features that usually are there right on our social networking page but we ignore them.
Facebook that we'd share with you.
To get the list of your hidden page go to the Home page then scroll your browser all the way to the bottom. Look for link Edit Options and Click it. A pop-up window would show all your hidden friends.
Click on Add to News Feed to restore your friend to your Home page. What you can't get back is the removed entries on your Wall posted by your friend.
Whenever you upload a new picture in your Facebook profile the old one disappears. What if you want your old picture on your profile. Well, Facebook had keeps a running tab of all your old shots in the form of a special hidden album. To revert back to your old picture just choose the Make Profile Picture option on the list of links in the bottom right hand corner. Further you can get rid of the pictures that seem horribly outdated.
Now if you want the links back just visit the Edit page under Application and find the applications that have profile links disabled. Hit the Edit button and you have to find the option that will turn the links back on.
Long before tweets were born, Facebook had the status message that described what you are up to that everybody could view. This information shows up on your profile and on various news and mini-feeds.
Now how many of you know that there's a page that lists the last 70+ status updates of all your friends? You can easily sign up to get mobile alerts and update your own status from mobile phone using the web portal or by sending text messages to a special Facebook number. There's also a simple RSS feed you can grab to add to your favorite feed reader.
This might be one of the most craving features on Facebook if you only know. Already Facebook offers the feature People You May Know. This feature might display the exact opposite results by showing which friend you wanna interact with the least on Facebook. Most importantly it would also tell you why you shouldn't know them.
Well, one of the most interesting features in Facebook is the ability to create and invite people to different events. Most of you must be clicking the No for any event even without knowing what it is. To sought out this forever you need to click on the new and improved fourth button that would show you as not attending the event and auto-decline future event invitation from the person who invited you.
Step 1: Sign on to the Facebook home page
Step 2: Click on My Privacy to change who can see your profile. The My Privacy page allows you to adjust each feature of your Facebook account separately. If you just wanna hide certain features, such as mini-feed or photos, then adjust only those preferences.
Step 3: Click on Edit Settings for the limited profile. You will land on a page with a preview of your current limited profile.
Step 4: Choose all or none of the Facebook features you want people to see on your limited profile. To completely hide your profile, make sure all boxes are unchecked before hitting the Save button.
Step 5: From the My Privacy page add people to the limited profile list. People you put on the list can only view the features you let them see. They will still be your friends, however.
Facebook that we'd share with you.
1. See people's limited profile without adding as a friend
Suppose you wanna add someone in your Facebook friends but you can't view his/her profile. What you gotta do is send a message like hello to the one who's profile you want to see. When that person replies you can easily view his/her Facebook profile without having him/her to add you as a friend.2. Recover hidden Facebook friends
Often it occurs that that you remove your noisy Facebook friends, only to realize later that you need him/her badly. Well, don't you need to worry, if you know where to look for. In case you've no ideas just follow as I sayTo get the list of your hidden page go to the Home page then scroll your browser all the way to the bottom. Look for link Edit Options and Click it. A pop-up window would show all your hidden friends.
Click on Add to News Feed to restore your friend to your Home page. What you can't get back is the removed entries on your Wall posted by your friend.
3. Reverting to older profile pictures
Whenever you upload a new picture in your Facebook profile the old one disappears. What if you want your old picture on your profile. Well, Facebook had keeps a running tab of all your old shots in the form of a special hidden album. To revert back to your old picture just choose the Make Profile Picture option on the list of links in the bottom right hand corner. Further you can get rid of the pictures that seem horribly outdated.
4. Adding or removing links under your picture
When you are installing one or more Facebook application, often you skip the prompt that asks you whether to put the little blue link below your profile picture. At the end you have a tower of blue links under your name and on everyone's profile you visit. Feel like cutting down the clutter. Click on the little x button that shows up when you mouse over the box. This can be done for all the links except for the Edit My Pofile link.Now if you want the links back just visit the Edit page under Application and find the applications that have profile links disabled. Hit the Edit button and you have to find the option that will turn the links back on.
5. Pull a Twitter
Long before tweets were born, Facebook had the status message that described what you are up to that everybody could view. This information shows up on your profile and on various news and mini-feeds.
Now how many of you know that there's a page that lists the last 70+ status updates of all your friends? You can easily sign up to get mobile alerts and update your own status from mobile phone using the web portal or by sending text messages to a special Facebook number. There's also a simple RSS feed you can grab to add to your favorite feed reader.
6. Minimize Applications
Often the links under your profile picture can get a little cluttered . In case you have a few applications cluttering your profile and better you don't see the applications. You can just minimize the application logo by clicking them into a down-facing triangle. Your friends might be able to see the application box on your profile. It would show up in your profile as minimized. If you run across one that's appealing you most and that several of your friends have installed, you might not see it unless you want it.7. People You May Not Want to Know
This might be one of the most craving features on Facebook if you only know. Already Facebook offers the feature People You May Know. This feature might display the exact opposite results by showing which friend you wanna interact with the least on Facebook. Most importantly it would also tell you why you shouldn't know them.
8. Facebook's only official game
Well, there's an iPod music quiz game that involves playing a track and choosing a handful of selections before time runs out. There's a similar game in Facebook Friends menu that requires you to guess whose profile to which a snippet of text belongs. It might be anything from a quote to a favorite book or movie. Gradually the incorrect friends would fade away with friends leaving a smaller pool from which to guess. Given all this, just don't blame Facebook for not providing a scorecard. It one of the only official games offered by Facebook.9. I think i'm busy That Day
Well, one of the most interesting features in Facebook is the ability to create and invite people to different events. Most of you must be clicking the No for any event even without knowing what it is. To sought out this forever you need to click on the new and improved fourth button that would show you as not attending the event and auto-decline future event invitation from the person who invited you.
10. Hide your profile on Facebook
What if you don't want others to visit your profile and yet have you on Facebook. Here are the step that would allow you to hide your Facebook profile.Step 1: Sign on to the Facebook home page
Step 2: Click on My Privacy to change who can see your profile. The My Privacy page allows you to adjust each feature of your Facebook account separately. If you just wanna hide certain features, such as mini-feed or photos, then adjust only those preferences.
Step 3: Click on Edit Settings for the limited profile. You will land on a page with a preview of your current limited profile.
Step 4: Choose all or none of the Facebook features you want people to see on your limited profile. To completely hide your profile, make sure all boxes are unchecked before hitting the Save button.
Step 5: From the My Privacy page add people to the limited profile list. People you put on the list can only view the features you let them see. They will still be your friends, however.
Some Facebook hacks to ease you
Facebook is the hottest property going around everywhere. We worked a few tricks and hacks to ease you in accessing the best social network site and connect to your friends faster.
The hack are based on Firefox web browser which you can get easily from here.
You also need to install Greasemonkey a famous firefox plugin for the hacks to work.
Automated Login : If you feel lazy to type in your personal info every time, this might be the tool that you can looking for. By installing this you can save up your time & you will be logged in to your account/profile automatically!
Account/Profile Colour customization : Feel free to customize the colour that you like & add it to your account/profile.
The hack are based on Firefox web browser which you can get easily from here.
You also need to install Greasemonkey a famous firefox plugin for the hacks to work.
Automated Login : If you feel lazy to type in your personal info every time, this might be the tool that you can looking for. By installing this you can save up your time & you will be logged in to your account/profile automatically!
Account/Profile Colour customization : Feel free to customize the colour that you like & add it to your account/profile.
Saturday, July 17, 2010
The Top ten hacking techniques of 2009
Top Ten Web Hacking Techniques of 2009!
1. Creating a rogue CA certificate
Alexander Sotirov, Marc Stevens, Jacob Appelbaum, Arjen Lenstra, David Molnar, Dag Arne Osvik, Benne de Weger
2. HTTP Parameter Pollution (HPP)
Luca Carettoni, Stefano diPaola
3. Flickr's API Signature Forgery Vulnerability (MD5 extension attack)
Thai Duong and Juliano Rizzo
4. Cross-domain search timing
Chris Evans
5. Slowloris HTTP DoS
Robert Hansen, (additional credit for earlier discovery to Adrian Ilarion Ciobanu & Ivan Ristic - “Programming Model Attacks” section of Apache Security for describing the attack, but did not produce a tool)
6. Microsoft IIS 0-Day Vulnerability Parsing Files (semi‐colon bug)
Soroush Dalili
7. Exploiting unexploitable XSS
Stephen Sclafani
8. Our Favorite XSS Filters and how to Attack them
Eduardo Vela (sirdarckcat), David Lindsay (thornmaker)
9. RFC1918 Caching Security Issues
Robert Hansen
10. DNS Rebinding (3-part series Persistent Cookies, Scraping & Spamming, and Session Fixation)
No comments:
Post a Comment