In Feburary 2016 28,
Open a text editor and create a new file named 'changeTextVars.html.' Type six HTML tags in the file:
Save 'changeTextVars.html.'
Place a JavaScript open script tag -- '' tag:
Add a JavaScript function between the '' tags named 'changeText().' The 'changeText()' function takes a variable named 'monsterName' as an argument:
Edit the 'changeText' function. Use the 'document.getElementById' function to change the 'innerHTML' property for the field named 'textToChange.' The 'textToChange' field holds the text updated with the variable 'monsterName':
Add a '' tag between the HTML '
' and '
' tags. Enter some text that displays the message -- such as 'My favorite monster is: ' -- and close the '' tag. Be sure to include a space after the colon and before the '' tag to separate the message from the dynamic text:
My favorite monster is:
Enter an open '' tag between the '' and '' tags after the 'My favorite monstor is: ' message. Assign an 'id' to the '' tag and set its value to 'textToChange.' For example, type the text 'Dracula' after the '' tag and close the '' tag:
My favorite monster is:
Dracula
Add an HTML '
' tag after the '' tag. Set the input type to 'button' and add an 'onclick()' event that calls the 'changeText' function and passes the value 'Frankenstein.' Set the input field 'value' attribute to 'Change Text.' Save and close 'changeTextVars.html.'
My favorite monster is:
Dracula
Open 'changeTextVars.html' in a Web browser. Click the 'Change Text' button to use the 'monsterName' variable to change the 'textToChange' field from 'Dracula' to 'Frankenstein.'
In Feburary 2016 28,
Showing posts with label takes. Show all posts
Showing posts with label takes. Show all posts
Sunday, 28 February 2016
Monday, 15 February 2016
Is Flickr a Content Delivery Network (CDN)?In Feburary 2016 15,
In Feburary 2016 15,
A content delivery network is simply a way to describe a method for getting information to you over the Internet. Without a CDN, when someone requests information from you, a central server sends the information out over the Internet. If the client is geographically located in a faraway place, it can take quite some time for the information to flow through all the required Internet servers before it reaches its destination. With a CDN, instead of a single central server your information is duplicated on a number of servers located around the world. When someone requests information from you, the user is automatically directed to the server that's physically closest to him.
CDN Benefits
The largest benefit of a CDN is the reduction in time that it takes to deliver information to you. While generally it only takes a extra few hundred milliseconds to send data across the world, if your user is loading a Web page with a number of files, all those extra hundreds of milliseconds add up to a fairly long wait time. CDNs also help reduce traffic on your main servers, allowing many more people to download your information at once without causing a traffic bottleneck.
Flickr
On its face, Flickr is not a CDN. Flickr is simply a website that allows you to store, display and access image files. While many websites do use Flickr for content delivery, for instance, by having a Web page link to images stored on Flickr, the service isn't intended to be a method for reducing content access speeds. However, if your single server is getting bombarded with requests and is spending most of its time uploading images to users, using Flickr to store those images instead of your server is one option that will give you some relief similar to a CDN-based solution.
Does Flickr Use a CDN?
Since Flickr serves users around the world, you may automatically assume that it uses a CDN, but that's not necessarily true. Traceroutes -- which measure the paths and delays of packets as they travel across a network -- to the same page from around the world show that Flickr uses a CDN for most of the static imagery on the site, like the logos and company information, but not for the images. This makes sense, as duplicating a database the size of Flickr's several times would result in an enormous use of data, most of which would be useless as these images are rarely accessed from multiple physical locations.
In Feburary 2016 15,
A content delivery network is simply a way to describe a method for getting information to you over the Internet. Without a CDN, when someone requests information from you, a central server sends the information out over the Internet. If the client is geographically located in a faraway place, it can take quite some time for the information to flow through all the required Internet servers before it reaches its destination. With a CDN, instead of a single central server your information is duplicated on a number of servers located around the world. When someone requests information from you, the user is automatically directed to the server that's physically closest to him.
CDN Benefits
The largest benefit of a CDN is the reduction in time that it takes to deliver information to you. While generally it only takes a extra few hundred milliseconds to send data across the world, if your user is loading a Web page with a number of files, all those extra hundreds of milliseconds add up to a fairly long wait time. CDNs also help reduce traffic on your main servers, allowing many more people to download your information at once without causing a traffic bottleneck.
Flickr
On its face, Flickr is not a CDN. Flickr is simply a website that allows you to store, display and access image files. While many websites do use Flickr for content delivery, for instance, by having a Web page link to images stored on Flickr, the service isn't intended to be a method for reducing content access speeds. However, if your single server is getting bombarded with requests and is spending most of its time uploading images to users, using Flickr to store those images instead of your server is one option that will give you some relief similar to a CDN-based solution.
Does Flickr Use a CDN?
Since Flickr serves users around the world, you may automatically assume that it uses a CDN, but that's not necessarily true. Traceroutes -- which measure the paths and delays of packets as they travel across a network -- to the same page from around the world show that Flickr uses a CDN for most of the static imagery on the site, like the logos and company information, but not for the images. This makes sense, as duplicating a database the size of Flickr's several times would result in an enormous use of data, most of which would be useless as these images are rarely accessed from multiple physical locations.
In Feburary 2016 15,
Labels:
automatically,
deliver,
directed,
extra,
generally,
milliseconds,
physically,
reduction,
send,
takes
Saturday, 6 February 2016
How to Change My Xbox NAT Type for a Belkin RouterIn Feburary 2016 06,
In Feburary 2016 06,
Turn on your 360, and go to the System Settings menu located at the far right of My Xbox.
This opens a System Settings screen. Highlight 'Network Settings' and press the 'A' button.
Select the 'Wired Network' or 'Wireless Network' option depending upon how you are connected to the Belkin router.
Highlight 'Configure Network' and press 'A.' Highlight 'IP Settings' and press 'A.' This opens an Edit IP Settings screen.
Select 'Manual' and hit the 'A' button. Select 'IP Address' and press 'A.' Enter '192.168.2.101' and press 'A.'
Select 'Subnet Mask' and hit 'A.' Enter '255.255.255.0' and press 'A.'
Select 'Gateway' and press the 'A' button. Enter in '192.168.2.1' and press 'A.' Select 'Done' and press the 'A' button. This takes you back to the previous screen.
Highlight DNS Settings, and press 'A.' Select 'Manual' and press 'A' on the Edit DNS Settings screen.
Select 'Primary DNS Server' and press 'A.' Enter '192.168.2.1' and then hit the 'A' button.
Select 'Secondary DNS Server' and press 'A.' Input '8.8.8.8' and press 'A.' Select 'Done,' and press 'A' to go back to the previous screen. Review the settings on this screen to ensure you have entered in everything correctly, and then turn off the Xbox 360 console.
Forward Xbox 360 Ports
Open any Web browser you want to use, then type '192.168.2.1' in its address bar and press 'Enter.' This loads the Belkin firmware.
Click the 'Login' link, which is located at the top right of your screen.
Locate the 'Firewall' section, and click the 'Virtual Servers' option. This loads a list of lines consisting of empty fields all numbered consecutively. These fields are used to enter the port information.
Click to select the 'Enable' box in lines '1' through '4.' Locate the 'Description' box in each of these four lines. Type 'Xbox1' in the description box for line number '1,' then 'Xbox2' in the description for line number '2.' Repeat this process through all four lines.
Locate the 'Private IP address' field. Type '101' in the Private IP Address field on all four lines.
Locate the 'Inbound Port' and 'Private Port' fields on line '1.' Enter '80-80' in both of these fields.
Type '87-88' in the 'Inbound Port' and 'Private Port' fields on line '2,' and then click 'Type' and select 'UDP.'
Enter '3074-3074' in 'Inbound Port' and 'Private Port' on line number '3,' and then click 'Type' and select 'Both.'
Enter '53-53' in the 'Inbound Port' and 'Private Port' on line number '4,' and then click 'Type' and select 'Both.'
Click 'Apply Changes,' and then close the interface. The next time you use your Xbox, the NAT should display as 'Open.'
In Feburary 2016 06,
Turn on your 360, and go to the System Settings menu located at the far right of My Xbox.
This opens a System Settings screen. Highlight 'Network Settings' and press the 'A' button.
Select the 'Wired Network' or 'Wireless Network' option depending upon how you are connected to the Belkin router.
Highlight 'Configure Network' and press 'A.' Highlight 'IP Settings' and press 'A.' This opens an Edit IP Settings screen.
Select 'Manual' and hit the 'A' button. Select 'IP Address' and press 'A.' Enter '192.168.2.101' and press 'A.'
Select 'Subnet Mask' and hit 'A.' Enter '255.255.255.0' and press 'A.'
Select 'Gateway' and press the 'A' button. Enter in '192.168.2.1' and press 'A.' Select 'Done' and press the 'A' button. This takes you back to the previous screen.
Highlight DNS Settings, and press 'A.' Select 'Manual' and press 'A' on the Edit DNS Settings screen.
Select 'Primary DNS Server' and press 'A.' Enter '192.168.2.1' and then hit the 'A' button.
Select 'Secondary DNS Server' and press 'A.' Input '8.8.8.8' and press 'A.' Select 'Done,' and press 'A' to go back to the previous screen. Review the settings on this screen to ensure you have entered in everything correctly, and then turn off the Xbox 360 console.
Forward Xbox 360 Ports
Open any Web browser you want to use, then type '192.168.2.1' in its address bar and press 'Enter.' This loads the Belkin firmware.
Click the 'Login' link, which is located at the top right of your screen.
Locate the 'Firewall' section, and click the 'Virtual Servers' option. This loads a list of lines consisting of empty fields all numbered consecutively. These fields are used to enter the port information.
Click to select the 'Enable' box in lines '1' through '4.' Locate the 'Description' box in each of these four lines. Type 'Xbox1' in the description box for line number '1,' then 'Xbox2' in the description for line number '2.' Repeat this process through all four lines.
Locate the 'Private IP address' field. Type '101' in the Private IP Address field on all four lines.
Locate the 'Inbound Port' and 'Private Port' fields on line '1.' Enter '80-80' in both of these fields.
Type '87-88' in the 'Inbound Port' and 'Private Port' fields on line '2,' and then click 'Type' and select 'UDP.'
Enter '3074-3074' in 'Inbound Port' and 'Private Port' on line number '3,' and then click 'Type' and select 'Both.'
Enter '53-53' in the 'Inbound Port' and 'Private Port' on line number '4,' and then click 'Type' and select 'Both.'
Click 'Apply Changes,' and then close the interface. The next time you use your Xbox, the NAT should display as 'Open.'
In Feburary 2016 06,
Friday, 5 February 2016
How to Host Your Blog Using GodaddyIn Feburary 2016 05,
In Feburary 2016 05,
Read GoDaddy's Quick Blog page to better understand what your blog will be capable of (see Resources below). They offer Remote Blogging as well as custom templates and image uploading options. You also have the option to host multiple blogs with multiple authors.
Consider using a Google AdSense account to make money alongside your blog. GoDaddy allows this feature with Quick Blog.
Set aside 1 hour to get started on your GoDaddy blog. Although it takes just minutes to set up an account, choosing design features can tack on a lot of time.
Set Up Your Blog Account
Start at the homepage for GoDaddy.
Choose 'Hosting and Services.' A specific menu will drop down.
Click on 'Quick Blog' to find the information about GoDaddy blogs.
Choose between two, 12 and 24-month host packages by marking the circle with a click. Then hit the 'Add to Cart' icon.
Browse additional options on the page provided. To skip all options, simply hit the orange 'Continue' button.
Review your shopping cart and select payment option. GoDaddy accepts credit cards, PayPal, gift certificates and even checks.
Use Your Blog
Import any information you have through a previous blog to your Quick Blog account.
Regulate comments and trackbacks through your GoDaddy 'Manage' pages.
Customize the components of your Sidebar to make designing your blog a simple task. Using this option helps you single out the tools you will use frequently.
In Feburary 2016 05,
Read GoDaddy's Quick Blog page to better understand what your blog will be capable of (see Resources below). They offer Remote Blogging as well as custom templates and image uploading options. You also have the option to host multiple blogs with multiple authors.
Consider using a Google AdSense account to make money alongside your blog. GoDaddy allows this feature with Quick Blog.
Set aside 1 hour to get started on your GoDaddy blog. Although it takes just minutes to set up an account, choosing design features can tack on a lot of time.
Set Up Your Blog Account
Start at the homepage for GoDaddy.
Choose 'Hosting and Services.' A specific menu will drop down.
Click on 'Quick Blog' to find the information about GoDaddy blogs.
Choose between two, 12 and 24-month host packages by marking the circle with a click. Then hit the 'Add to Cart' icon.
Browse additional options on the page provided. To skip all options, simply hit the orange 'Continue' button.
Review your shopping cart and select payment option. GoDaddy accepts credit cards, PayPal, gift certificates and even checks.
Use Your Blog
Import any information you have through a previous blog to your Quick Blog account.
Regulate comments and trackbacks through your GoDaddy 'Manage' pages.
Customize the components of your Sidebar to make designing your blog a simple task. Using this option helps you single out the tools you will use frequently.
In Feburary 2016 05,
Subscribe to:
Comments (Atom)