Beyond Web Logs - Success Here and HereafterBeyond Web Logs - Success Here and HereafterTechnology news, tips and tricks, religion islam, networks and more Articles
How to add Live Search in any web page
2008-04-15 23:37:00 The Live Search box is pretty cool. It shows the search result in a pop-up right on the page as shown in the following Figure: The HTML snippet below downloads the necessary components for providing the Live.com search functionality right on the page. Just put the snippet anywhere on the page and you have search functionality in that exact spot. Best of all, you don’t need to register on the Live.com web site to get code snippets nor do you need to make web service calls to get search result. Both the UI and the functionality is provided inside the snippet. <div id="WLSearchBoxDiv" style="width:325px;"> <table cellpadding="0px" cellspacing="0px"> <tr id="WLSearchBoxPlaceholder"> <td style="white-space:nowrap; color: White; padding-right: 5px; font-size 12pt">Live Search </td> <td style="border-style:solid none solid solid;border-col... More About: Page
Code for Preventing Denial of Service (DOS) Attacks in ASP.NET
2008-04-15 22:34:00 Web services are the most attractive target for hackers because even an unsophisticated hacker can bring down a server by repeatedly calling a web service. Ajax web portals are a good target for such DoS attacks because if you just visit the home page repeatedly without preserving a cookie, every hit is producing a new user and a new page setup. You can try this yourself with a simple code like this: for( int i = 0; i < 100000; i ++ ) { WebClient client = new WebClient( ); client.DownloadString("http://www.ya hoo.com/"); } To your great surprise, you will notice that after a couple of calls, you will simply get no response. It’s not that you brought down the server, but that your requests are being rejected. You no longer get any service, thus you achieve denial of service (for yourself), and the site is happy to deny you of service (DYoS). A simple trick to remember how many requests are coming from a particu... More About: How To , Service , Code , Attacks , Denial
Code for Preventing Denial of Service (DOS) Attacks in ASP.NET
2008-04-15 22:34:00 Web services are the most attractive target for hackers because even an unsophisticated hacker can bring down a server by repeatedly calling a web service. Ajax web portals are a good target for such DoS attacks because if you just visit the home page repeatedly without preserving a cookie, every hit is producing a new user and a new page setup. You can try this yourself with a simple code like this: for( int i = 0; i < 100000; i ++ ) { WebClient client = new WebClient( ); client.DownloadString("http://www.ya hoo.com/"); } To your great surprise, you will notice that after a couple of calls, you will simply get no response. It’s not that you brought down the server, but that your requests are being rejected. You no longer get any service, thus you achieve denial of service (for yourself), and the site is happy to deny you of service (DYoS). A simple trick to remember how many requests are coming from a particu... More About: How To , Service , Code , Attacks , Denial
Index Design Guidelines in SQL Server
2008-04-15 21:26:00 Proper indexing in SQL Server is extremely important for application performance. Here are some common design guidelines for choosing the right index setup: A clustered index is used on fields that increase continuously, e.g., auto number integer fields. Because SQL Server physically arranges rows in the database file based on a clustered index field, if I choose some fields that do not continuously increase, it will be rearrange too many pages during the INSERT and DELETE steps. Foreign key fields are non clustered index types because they are not added as increasing values. More About: Design , Guidelines , Index
Index Design Guidelines in SQL Server
2008-04-15 21:26:00 Proper indexing in SQL Server is extremely important for application performance. Here are some common design guidelines for choosing the right index setup: A clustered index is used on fields that increase continuously, e.g., auto number integer fields. Because SQL Server physically arranges rows in the database file based on a clustered index field, if I choose some fields that do not continuously increase, it will be rearrange too many pages during the INSERT and DELETE steps. Foreign key fields are non clustered index types because they are not added as increasing values. More About: Design , Guidelines , Index
ASP.NET AJAX Calendar not showing all dates
2008-04-15 03:53:00 Recently we faced an issue with ASP.NET AJAX calendar control, which was not showing all dates. Fri and Sat were just not visible. Thanks to Tones blog post, we found the root cause of this error. The problem is due to css. Actually, there is a div next to the calendar numbers that has a margin-right:10px. This div inherits from the default css settings for table, tr and td. A quick bit of specific css can fix this problem. Just add the following to your style sheet and the problem will resolve: div.ajax__calendar_days table tr td { padding-right:0px; } More About: Dates , Ajax , Calendar
Learning Windows Communication Foundation (WCF)
2008-04-14 04:25:00 For those of you who know what WCF stands for, but have no clue of what it is and how to use it and what it can offer - here are some excellent articles by Sahil Malik on WCF: What is WCF? Writing WCF Hello World App Writing your First WCF Client More About: Windows , Communication , How To , Foundation , Learning
Top Torrents Sites
2008-04-12 13:32:00 Isohunt.com Torrentscan.com BiteNova Torrentspy.com Torrentportal.com Bitsoup LegalTorrents.com Snarf It! Torrentz.com Torrents.to Torrentmatrix.com Mininova.org FileMP3.org TorrentBytes.net Torrentreactor.to Torrentbox.com BTjunkie TorrentTyphoon.com Yotoshi.com The Pirate Bay More About: Technology , Sites
Download Joomla Extensions and Free Themes
2008-04-12 11:58:00 Working around Joomla i found these sites, which are best in my ratings: www.osskins.com for Templates http://extensions.joomla.org For Extensions More About: Technology , Download , Free , Themes
Unlock Linksys PAP2 device from Vonage...
2008-04-12 11:51:00 I found some information on this topic by searching around the internet, I have tried this information and it works great for me. Please note that I have not created any of this content, I am just mirroring it. First things first – SP2KPAP2.zip (670.96 kb) PAP2SP2K.zip (653.69 kb) DO NOT CONNECT THE pap2 TO ANY NETWORK WITH INTERNET ACCESS until directed. The unit will attempt to connect to a Vonage tftp server on power-up and update firmware without your intervention. If this happens the unit could become a brick. Keep the unit isolated until these parameters are changed and you are directed to connect the unit to the net and/or public internet. New Unit - A new “out of the box” pap2 will not have ANY network parameters setup (IP Address, IP mask, gateway, etc). First, configure the pap2 via a touch-tone phone with minimal IP information that will permit later access via your web browser. Review Chapter 4 of the Linksys pap2 In... More About: Device
Our efforts should be directed to achieve this ultimate SUCCESS
2008-04-11 22:24:00 Anas RA said: The Messenger of Allah Sallallahu alaihi wasallam said, "In Jannah there is a market to which the people will come every Friday. The northern wind will blow and shower fragrance on their faces and clothes and, consequently, it will enhance their beauty and loveliness. They will then return to their wives who will also have increased in their beauty and loveliness, and their families will say to them: `We swear by Allah that you have been increased in beauty and loveliness since leaving us.' Thereupon they will reply: `We swear by Allah that you have also been increased in beauty and loveliness since we left you.'' Sahih Al-Muslim. Sahl bin Sa`d RA said: The Messenger of Allah Sallallahu alaihi wasallam said, "The dwellers of Jannah will see the upper abodes of Jannah as you see the stars in the sky.'' Sahih Al-Bukhari and Sahih Al-Muslim. More About: Success , Ultimate
Jay Hood in Pakistan
2008-04-11 03:44:00 By Shireen M Mazari ISLAMABAD: According to the US Department of Defence News Release of March 13, 2008, Major General Jay W. Hood has been posted as the Chief, Office of the Defence Representative, Pakistan . General Hood is a former commanding general of Guantanamo Bay prison and according to US National Public Radio (NPR), General Hood's tenure at Guantanamo was marred by a series of scandals and growing controversies relating to policies on detention and interrogation. While controversy has always surrounded Guantanamo, it reached new heights when Hood was there - especially in the aftermath of the scandal breaking out publicly on detentions in Iraq at Abu Ghraib. Interestingly, it was General Miller, Hood's predecessor at Guantanamo, who was implicated in Iraq. Hood came under intense criticism when he decided to force feed prisoners with the use of a restraining chair. The gruesome means of force feeding have compelled the US to censor a drawing by a Guantanamo Bay...
Linux web based configuration with WEBMIN
2008-04-10 23:14:00 WebMin a great open source product, with which you can easly configure your server, you can deploy it on your server with following easy steps. To fetch and install the 1.250 version, use the following commands: [root@asterisk ~]# cd /root [root@asterisk ~]# mkdir webmin [root@asterisk ~]# cd webmin [root@asterisk webmin]# wget http://internap.dl.sourceforge.net/ sourceforge/webadmin/webmin-1.250-1.noarc h.rpm --22:47:25-- http://internap.dl.sourceforge.net/source forge/webadmin/ webmin-1.250-1.noarch.rpm => `webmin-1.250-1.noarch.rpm' Resolving internap.dl.sourceforge.net... 64.74.207.43 Connecting to internap.dl.sourceforge.net|64.74.207.43| :80... connected. HTTP request sent, awaiting response... 200 OK Length: 9,765,236 (9.3M) [application/x-redhat-package-manager] 100%[==================================== ====== ========================================= =====>] 9,765,236 236.11K... More About: Linux , Configuration , Asterisk
How to enable Cisco static port forwarding
2008-04-10 12:02:00 Telnet to Router and enter provided username and password Then follow these steps to setup port forwards To enter Admin Mode ( will require root password ) Type enable at the prompt To show currently configured Interfaces ( there could be several ) Type show ip interface at the prompt. To show Current Port Forwards on Router Type show ip nat translations at the prompt. To Enter Configuation Mode Type configure at the prompt. To add Port Forwarding rules modify then type the following commands at the prompt. Note: "serial0" was the found interface name from running command "show ip interface" ip nat inside source static (TCPorUDP) (YourCompsIP) (PortToForward) interface serial0 (PortToForward) To forward port 5900 TCP to the computer that had the 10.10.10.10 ip address you would do the following. ip nat inside source static tcp 10.10.10.10 5900 interface serial0 5900 End Configure Session Press CTRL-Z Once you have entered the con... More About: How To , Cisco , Static
Windows Authentication in ASP.NET
2008-04-08 05:30:00 If your application is targeted for use inside an organization, and users accessing the application have existing user accounts within the local user database of the Web server or Active directory, you should authenticate users with Windows authentication. You can configure Windows authentication in two ways: within IIS and within your ASP.NET application. To provide defense in depth, use both techniques to require authentication. When a Web application requires Windows authentication, the application rejects any request that does not include a valid user name and password in the request header. The user’s browser then prompts the user for a user name and password. Because the browser prompts the user for credentials, you do not have to create a page to request the user’s user name and password. Some browsers, such as Microsoft Internet Explorer, automatically provide the user’s current user name and passwordwhen the server is located on the intranet. This sea... More About: How To , Authentication
Islamic Shariah Law - The ultimate sanctuary for human race
2008-04-07 08:41:00 Excellent Article by Noah Feldman - Law Professor at Harvard University "To many, the word “Shariah” conjures horrors of hands cut off, adulterers stoned and women oppressed.... In fact, for most of its history, Islamic law offered the most liberal and humane legal principles available anywhere in the world." Here's the link ---> http://inarrators.com/content/view/601/12 9/ More About: Religion , Human , Race , Ultimate
Islamic Shariah Law - The ultimate sanctuary for human race
2008-04-07 08:41:00 Excellent Article by Noah Feldman - Law Professor at Harvard University "To many, the word “Shariah” conjures horrors of hands cut off, adulterers stoned and women oppressed.... In fact, for most of its history, Islamic law offered the most liberal and humane legal principles available anywhere in the world." Here's the link ---> http://inarrators.com/content/view/601/12 9/ More About: Religion , Human , Race , Ultimate
Identify unused SQL Server indexes for optimizing SQL performance
2008-04-07 03:37:00 Gregg Stark has created a very nice query that is a great tool for optimizing indexes (indices) in SQL Server 2005. Here's the query: SELECT o.name AS object_name, i.name AS index_name , i.type_desc, u.user_seeks, u.user_scans, u.user_lookups , u.user_updates, u.last_user_seek, u.last_user_scan , 'Drop index ' + i.name + ' on ' + o.name as DropIndexStatement FROM sys.indexes i JOIN sys.objects o ON i.object_id = o.object_id LEFT JOIN sys.dm_db_index_usage_stats u ON i.object_id = u.object_id AND i.index_id = u.index_id AND u.database_id = DB_ID() WHERE o.type <> 'S' and isnull(u.user_updates,0) > 0 and i.type_desc <> 'HEAP' ORDER BY (convert(decimal(19,4),ISNULL(u.user_seek s, 0)) + ISNULL(u.user_scans, 0) + ISNULL(u.user_lookups, 0))/ISNULL(u.user_updates, 0) asc , user_updates desc, o.name, i.name The results of this will show you how many... More About: Performance
Identify unused SQL Server indexes for optimizing SQL performance
2008-04-07 03:37:00 Gregg Stark has created a very nice query that is a great tool for optimizing indexes (indices) in SQL Server 2005. Here's the query: SELECT o.name AS object_name, i.name AS index_name , i.type_desc, u.user_seeks, u.user_scans, u.user_lookups , u.user_updates, u.last_user_seek, u.last_user_scan , 'Drop index ' + i.name + ' on ' + o.name as DropIndexStatement FROM sys.indexes i JOIN sys.objects o ON i.object_id = o.object_id LEFT JOIN sys.dm_db_index_usage_stats u ON i.object_id = u.object_id AND i.index_id = u.index_id AND u.database_id = DB_ID() WHERE o.type <> 'S' and isnull(u.user_updates,0) > 0 and i.type_desc <> 'HEAP' ORDER BY (convert(decimal(19,4),ISNULL(u.user_seek s, 0)) + ISNULL(u.user_scans, 0) + ISNULL(u.user_lookups, 0))/ISNULL(u.user_updates, 0) asc , user_updates desc, o.name, i.name The results of this will show you how many... More About: Performance
Write Arabic/Urdu - Freeware Arabic Urdu Writing Software
2008-04-06 06:58:00 Want to express yourself in arabic or urdu on web? Here is a simple editor for writing arabic (urdu as well) even for non arabic window users. Software name is "Arabic Pad", which is a simple text editor like notepad, but designed to write Arabic [Unicode] text , especially for Non Windows Arabic. Download Arabic Pad In addition to that, if you want to write arabic right on the fly using internet try Yamli. More About: Writing , How To , Write
Write Arabic/Urdu - Freeware Arabic Urdu Writing Software
2008-04-06 06:58:00 Want to express yourself in arabic or urdu on web? Here is a simple editor for writing arabic (urdu as well) even for non arabic window users. Software name is "Arabic Pad", which is a simple text editor like notepad, but designed to write Arabic [Unicode] text , especially for Non Windows Arabic. Download Arabic Pad In addition to that, if you want to write arabic right on the fly using internet try Yamli. More About: Writing , How To , Write
Free Training Microsoft Outlook 2007
2008-04-03 10:00:00 "...Wherever you are in your life and/or in business, Outlook will give you the tools to make it even better......" Nigel Risner - Motivational Speaker and Author Click here for Training More About: Technology , Microsoft , Free
Free Training Microsoft Outlook 2007
2008-04-03 10:00:00 "...Wherever you are in your life and/or in business, Outlook will give you the tools to make it even better......" Nigel Risner - Motivational Speaker and Author Click here for Training More About: Technology , Microsoft , Free
SQL Server 2008 :Introduction and Download
2008-04-03 09:18:00 To be successful and thrive in today’s world of data, you need a vision that addresses key data trends and a data platform that can store and manage a wide variety of data. Microsoft SQL Server 2008 provides a comprehensive data platform that is secure, reliable, manageable, and scalable for your mission critical applications. Use these online resources to learn how SQL Server 2008 supports the next generation of data-driven applications, reduces hardware and maintenance costs, and meets your organizations data explosion needs. Click Here to Download . Discover SQL Server 2008 technologies. The SQL Server 2008 Web site will be updated frequently as new technology-related materials and information become available. Analysis Services SQL Server 2008 helps enable organizations to build comprehensive, enterprise-scale analytic solutions that deliver actionable insights through familiar tools. Data Mining SQL Server 2008 empowers informed decisions with predictive analy... More About: Technology , Introduction
Download Norton AntiVirus updates ( definition )
2008-04-03 01:00:00 The Norton AntiVirus engine is common to the Norton AntiVirus, Norton Internet Security, and Norton 360 products. You can update these products using definitions from below link as supporting Norton AntiVirus. Download More About: Antivirus , Updates , Definition
How to change default Sugar CRM password in trixbox
2008-04-02 04:52:00 Access Sugar CRM from your web page by typing HTTP://YourAsterisk IPaddressHere into your web browser. The default login and password are: Login: admin Password : password To change this, click on My Account in the upper right corner, and then click the Change Password button to change your CRM password.
How to change default System Mail password in trixbox
2008-04-02 04:50:00 To change the default password type the following into the CentOS command prompt: passwd admin It will ask you for your new password twice. More About: Mail , System , Change , Password , Asterisk
How to change Meetme password in trixbox
2008-04-02 04:49:00 To change the default type the following into the CentOS command prompt: passwd-meetme It will ask you for your new password twice. More About: Change , Password , Asterisk
How to change Flash Operator Panel password in trixbox
2008-04-02 04:47:00 The default password for the Flash Operator Panel is: Password : passw0rd Note that 0 is a “zero” To change this password, log in to your CentOP server using your user and password and enter the FOP directory cd /var/www/html/panel Using nano as the editor, open the configuration file op_server.cfg nano op_server.cfg Go to the line that says security code=passw0rd. Replace the “passw0rd” with the password of your choice. security_code=whateverpasswordyouwant Then do a CTRL-X to exit and then a "Y" to save changes. Now restart the FOP server. amportal restart &nbs p; More About: Change , Asterisk
How to protect source code of the web page by disabling right click
More articles from this author:2008-04-02 03:52:00 If you want to disable right click or want to put some message to the user on right click, following these simple solutions: Solution to Display a Message on Right Click : function OnRightClick() { if (event.button==2) {   ; alert('Hooray.... its the custom message on mouse right click'); } } document.onmousedown=OnRightClick Solution for doing nothing on Right Click: <body oncontextmenu="return false"> </body> More About: Page , Source , Code , Source Code 1, 2, 3, 4 |



