Project BigResource

Since 2005, our team is working 24/7/365 to maintain one of the World's largest resource center for webmasters and programmers. The project comprises a directory of 50,000 Scripts & Tutorials relating a wide range of programming languages from PHP, .NET, ASP and Java to emerging Android & iOS development.

We also maintain an index of over 3 million questions/answers posted over internet relating aforementioned technologies. To learn more about Tracker, click here.

It took us 10 years of hard work to build an index of 3 million plus qualified Q&As by humans, not the bots. Just Crawling and building a database of messages is not an art. The success of this unique project lies in the human editing of these messages by professionals for content validity and definitive solution to various problems to stay focused on the issue & saving time. Compare and see the difference between an original post on a forum and the same edited message added to our index here. No unanswered posts, salutations, lengthy code lines, images, avatars, attachments, closing remarks, reference URLs, signatures etc., just the core issues and solutions to them.

As of June 2014 stats, 50,000 unique visitors/webmasters visit us every day to get benefited from this index. We are working hard and striving harder to provide programmers an unmatchable resource index to their unanswered questions.

Recently Indexed Messages:

Networking

Lenovo Y560 0646 Unable To Connect To Internet
I'm running a Lenovo Y560 0646 which appears to have been upgraded by he previous owner. I've owned it for just a little over a month now and it has functioned admirably. The Network card is an Atheros Ar9285 Wireless Network Adaptor. It is my belief that the card may actually be integrated directly into the motherboard, but I'm not entirely sure of that.Recently, though, the clumsy wielding of a cable led to the destruction of the screen. I had to wait until my upcoming paycheck before ordering a new one and so continued to use the laptop through the use of an external flat screen monitor. During this period my internet worked flawlessly. However, a problem occurred when it came time to take out the cracked monitor to write down the model number for ordering.I've dealt with internal electronics before, so I knew to be delicate. I removed the broken screen, took down the information and then reattached it. However, once I booted up, I came to find that my computer could not connect to any network. I broke down the case, and made sure all wires were connected, and they were. I attempted to attach my computer directly to the modem, only to have that more or less fail.

I've followed several online tips in hopes of finding a solution but all has failed. My router is functioning properly, as I can still connect with my other wireless and wired devices. Windows device manager claims my wireless card and driver are functioning properly. I've completely uninstalled and reinstalled it a couple of times to no effect. I've run Ipconfig and it says the Wireless LAN adapter Wireless Network Connection are media disconnected and under connection it says "Specific DNS Suffix". I'm at wits end here. I've tried the winsock fix and the IPv4 and 6 fixes. ...

Linksys Wireless Router :: EA3500-NP / Network Printer Install Not Working
Just purchased new N750 model EA3500-NP and everything went ok until I tried to get my HP Laser Jet P2035n online. No go! It worked fine on the D-Link via Ethernet connection. ...

Trace A Device Using Ip Address?
Is there any way to trace a device using Ip address? ...

Cisco Routers :: WRV200 VPN Router And IPad Connection For Nas Access
is it possible to make a VPN Connection with my Ipad and a WRV200 Vpn Router ?? The WRV200 is in my Company and i can start a VPN Connection with my Laptop. So this works. But is it also possible with my Ipad, so that i can get access to my NAS (Which is in my Company also)?? ...

Cisco WAN :: C7200-IK9SU2-M / QoS Traffic Shaping Not Working (but Policing Does Work)
I have lots of PPPoE users that get Virtual Access interfaces created upon login based on a virtual template. I need to traffic shape them. I know how to get it to work on an individual basis, because the policing within a service policy works fine. As soon as i change it to shaping it leaves things wide open.I really dont care how it gets done, I just need to be able to specify a speed to be traffic shaped and apply that to a virtual template. I need to limit speeds on the download and upload, i understand that the upload i will use the policing, but the download i need it to smooth out the flow and be traffic shaped, not policed.
 
Here is my Policies and classes:

***
policy-map CHILD class class-default  bandwidth 1650policy-map PARENT class class-default  shape average 1650000  service-policy CHILD****
Here is my Virtual Template:
****
interface Virtual-Template8 description pppoe-auth-FTTH ip unnumbered FastEthernet0/0 ip access-group subs-in-FTTH in ip mtu 1493 timeout absolute 6120 0 peer default ip address pool FTTH-POOL ppp authentication pap pppoe-auth ppp authorization pppoe-auth ppp timeout idle 84600 service-policy output PARENT

[code]....
 
The results i am getting is unrestrcited throughput, i am seeing about 40mb of throughput when the target is to limit to 1.65MB. As you can see from the output the PARENT class is seeing 279116 packets, but the shaper only saw 59. In all the examples i see on the internet these two numbers should be the same. Why is the shaper not acting on all the traffic crossing that class/policy?
 
Hardware/IOS:
Cisco IOS Software, 7200 Software (C7200-IK9SU2-M), Version 12.4(12), RELEASE SOFTWARE (fc1) ...



C

Visual C++ :: Get Streamreader To Read And Calculations To Populate Textbox
Here what i have so far, the error in the stream

[CODE]

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim fileName As String = IO.File.ReadAllText("Grades.txt")
Dim GPA As Double = 0

[Code].... ...

C :: Insertion Sort In Ascending Order Not Working
I am having trouble sorting out a list of names in c. I have code for sorting the names, but when I go to print them out they still are in the same order as they were at the beginning so something isnt right. So the function that I need is the sort_data function.

Code:
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define MAX_STRING_LEN 25
void insert_data(char **strings, const char* filename, int size);
void allocate(char ***strings, int size);

[Code] ....

The list that I am reading in is as follows:

matt
susan
mark
david
aden
phil
erik
john
caden
mycah

So I need to get this list in alphabetical order, but when I run my code and print out this list after I run the sort function, they are still in this order. ...

C/C++ :: Program To Read Sequence Of N Integers And Print Number With Maximum Occurrence
write a program in c to read a sequence of N integers and print the number that appears the maximum number of times in the sequence. ...

C :: Comparing Character To A Number
I created a function to check whether the first character of a string is a number or not by comparing it to every base 10 digit using a for loop. If it is, the string is valid, if it is not, the string is not valid

Code:
//ensure the first character is not a number
int ValidFirstChar(char FirstChar) {
int IsChar = TRUE, DigitCount = 0; /*boolean value indicating whether the first character is a number or not.*/

//check through all base 10 digits
for (DigitCount = 0; DigitCount <= 9; DigitCount++) {
if ((int)FirstChar == DigitCount)

[Code] ....

I have checked for the case where the first character is a number but it is displaying the error message for it. I have tried typecasting the char variable but that has not worked. ...

C :: Feedback On Recursive Function
The recursive function is bolded, i got feedback and was told that the static variable made the function seem a lot like a iterative function but he did not say why.

Code:
#define MAX 100
#include <string.h>
#include <stdio.h>
int checkPalindrome(char string[MAX]);
int checkRecPalindrome(char string[MAX]);

[Code] ..... ...



JavaScript

Call Events From A Single Function?
I´m trying to call both events "onMouseOver" and "onMouseOut" from a single function, but I just can´t seem to make it work.

Here´s an example:

JavaScript -

Code:
// Funcao teste
function teste()
{
onLoad = onMouseOut.images[0].src='../img/teste_menu.jpg'
onLoad = onMouseOver.images[0].src='../img/teste_menu_on.jpg'
}
HTML -


Code:
<a href=# onclick="sigem(&#3911;');" javascript:teste();><imgsrc="../img/teste_menu.jpg" width="100" height="20"></a>"; ...

HTML Forms And Client-side Validation W/ Server Data?
I know that Javascript is client side, but I'd like to know the best way to populate HTML drop downs in real time based on information typed in the other HTML form fields with information found on the server as opposed to the client.For instance if a user wants to select certain files located in a directory on the server, as they type in the pathname supposedly containing the files the drop downs continually refresh themselves with the server files listed in that directory (if it exists, and apache has permissions to see what's inside) as if it was showing client files instead.

What would be nice is if my browser could continually query the server for some of its private information and not have to refresh itself to obtain it, whether that means the server-side would have to continually refresh itself makes no difference to me as long as the client-side doesn't have to. But I guess this is not possible because no matter what you would have to at least refresh the client-side page once?Submitting the form to a CGI or PHP script would not work because I need this functionality to help populate the form BEFORE I send it.I would like to not have to press a button to update the form every time I change the pathname and need to update the drop downs since this would be annoying. ...

Select A Value For Dropdown Box Based On An If Statement?
I would like to populate a third combo box with Week 1, Week 2, Week 3 etc up to Week 52 if a user clicks on the first combo box and selects Beacon Isle Resort for example.

If the user clicks on the first combo box and selects Ezulwini Sun however then I would like to populate the third combo box with Flexi Midweek, Flexi Weekend and Flexi Week etc.

I need to be able to populate either the Week 1, Week 2 etc or the Flexi Midweek, Flexi Weekend etc datasets into combo box 3 based on the resort chosen in the first combo box. I can predefine which resort will get which dataset but I just need to know the code to do this. code... ...

IE Changing An Onclick Event Dynamically
The following is a very simple example of what I want to do take an
elements oncontextmenu and changing it dynamically onclick of that
same element. The code below will fail unless you change the line

document.getElementById('div1').setAttribute('onco ntextmenu',
someText);

to

document.getElementById('div1').setAttribute('onco ntextmenu',
function(){alert('World World');return false;});

............ ...

Storing A Cookie For Font-size
I am trying to write a Javascript that sets and checks a cookie based on font-size buttons that increase and decrease the font-size in a certain div. The increase and decrease of the font in the right div works fine, the cookie doesn't seem to be working. Attached is my code.

<html>
<head>
<script>
function getCookie(fontSize_Cookie)

[Code]...... ...




ADVERTISEMENT