In Feburary 2016 22,
Open the homepage document for your website in a text or HTML editor. Place your cursor just above the '
' tag and hit 'Enter' once to create a blank line.
Copy the following code and paste it on the blank line:
Replace 'filename.html' with the name of your mobile page, relative to your site root. For example:document.location = '/m/index.html';Or:document.location = 'mobile.html';This code will redirect any device with a screen width below 699 pixels to your mobile site. You may adjust the screen width to 480 if you want to target iPhones and other Smartphones specifically or add the following function just above the '//-->' line:if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {location.replace('http://www.yoursite.com/iPhone.html');}Replace ' http://www.yoursite.com/iPhone.html' with the URL to your iPhone-optimized website.
jQuery Method
Open your homepage or header document in a text or HTML editor and verify the jQuery library has been included. If not, you will need to add it just above the '
' tag. The line should look something like this:
Replace 'www.yoursite.com' with the URL to your mobile-optimized site and your tablet-optimized site. Other redirects normally treat tablet browsers like a mobile device, which can be undesirable. For example, this redirect allows you to point iPad users to your normal site, and iPhone users to a mobile version:
mobile_url : 'm.mysite.com',tablet_url : 'www.mysite.com',
PHP Method
Open the document containing your website header, such as 'header.php' or 'index.php.' Place your cursor at the beginning of the document and hit 'Enter' to create a blank line.
Copy the following code block and paste it into the blank line:
Replace the URL after 'Location:' on the last line with the URL to your mobile-optimized page. For example:header('Location: http://www.mysite.com/mobile.php'); ?>Or:header('Location: http://m. mysite.com/'); ?>
Server-Side Method
Connect to your Web server using your hosting control panel or an FTP program. Edit the '.htaccess' file. If you are not able to edit files directly, download the file to your Desktop and open it using Notepad. If you do not have an '.htaccess' file, open Notepad and create a new document.
Paste the following code block into the file. If you're editing an existing file, paste this code at the bottom to avoid overwriting any existing rules:redirect mobile browsersRewriteCond %{HTTP_USER_AGENT} ^.
iPhone.
$RewriteRule ^(.*)$ http://mobile.yourdomain.com [R=301]RewriteCond %{HTTP_USER_AGENT} ^.
BlackBerry.
$RewriteRule ^(.*)$ http://mobile.yourdomain.com [R=301]RewriteCond %{HTTP_USER_AGENT} ^.
Palm.
$RewriteRule ^(.*)$ http://mobile.yourdomain.com [R=301]This redirect is optimal, as it will only send devices with mobile browsers to your mobile website, leaving other devices with full-featured Web browsers alone.
Replace ' http://mobile.yourdomain.com' with the URL to your mobile-optimized page. For example:RewriteRule ^(.*)$ http://www.mysite.com/m [R=301]Save the file. If using Notepad, make sure 'All Files' is selected in the 'File Type' menu, and name the file '.htaccess' with no '.txt' extension. Upload the file to your domain's root folder.
In Feburary 2016 22,
Posts mit dem Label match werden angezeigt. Alle Posts anzeigen
Posts mit dem Label match werden angezeigt. Alle Posts anzeigen
Montag, 22. Februar 2016
Mittwoch, 17. Februar 2016
How to Build a Rendering ComputerIn Feburary 2016 17,
In Feburary 2016 17,
Create a budget by considering your rendering needs. An Adobe After Effects rendering computer for a novice could use a quad-core processor and non-workstation graphics. A professional architect might need a large workstation to render AutoCAD graphics.
Select the motherboard and processor first. A low-end computer could be built with an AMD quad-core processor, a mid-range could use an Intel quad-core, higher still an Intel 6-core, and dual or quad XEONs with 4-6 cores each is the generally accepted to be top quality.
Find a power supply and case that matches the specifications of your motherboard, CPU and graphics cards. A workstation ATX motherboard will require a larger case than a standard ATX motherboard. The power supply should be around 600-1000 watts to accommodate the energy-hungry graphics cards and hard drives.
Select hard drives that match the RAID connectors on your motherboard. Look for SATA, if possible. Also look for the speed. Never get hard drives with a speed less than 7,200 RPM unless they will be used for storage only. 7,200 RPM or 10,000 RPM in a RAID 5 or 0 array would be best.
Find RAM that is error correcting if the budget allows, otherwise get at least 6 GB for a quad-core CPU, 12 GB for 6 core or dual XEON (quad) and 24 GB for Dual or quad 6-core XEONs. RAM is very important for rendering applications and not having enough can cripple to effectiveness of your CPU.
Purchase an optical disc drive with either a DVD-R or Blu-Ray-R drive. An optical disc drive will not help speed up the rendering process, but might be necessary for exporting the finished product.
Select a video card that is Adobe approved if your computer will be used for video rendering. If you will be using your computer for 3D renderings, select the workstation-approved video cards from Nvidia or ATI. Nvidia's is called Quadro while ATI's is FirePro.
Build the Computer
Mount the power supply in the case and make sure all the fans are tightly screwed in.
Place the motherboard into the case, then secure it. Unlock the CPU lock and put the CPU in pins side down.
Squirt a copious amount of the thermal paste onto the CPU, then place the fan and heat sink on top. Lock both into place using the motherboard clips.
Put the RAM into the motherboard's RAM slots, and make sure they are secure by locking them into place with the clips.
Insert the video card into the PCI-Express slot and attach the power cable. If you are running multiple video cards in SLI, attach the SLI cable.
Place the hard drives into the hard-drive bay and the optical disc drive into its bay. Attach the SATA cables from both to the motherboard, then connect the power cables. If you are using multiple drives with RAID, configure it.
Connect the power cables to the motherboard and check all connections to make sure they are secure. Close the case, attach a monitor, keyboard and mouse. Press the power button. The computer should boot up and display BIOs.
In Feburary 2016 17,
Create a budget by considering your rendering needs. An Adobe After Effects rendering computer for a novice could use a quad-core processor and non-workstation graphics. A professional architect might need a large workstation to render AutoCAD graphics.
Select the motherboard and processor first. A low-end computer could be built with an AMD quad-core processor, a mid-range could use an Intel quad-core, higher still an Intel 6-core, and dual or quad XEONs with 4-6 cores each is the generally accepted to be top quality.
Find a power supply and case that matches the specifications of your motherboard, CPU and graphics cards. A workstation ATX motherboard will require a larger case than a standard ATX motherboard. The power supply should be around 600-1000 watts to accommodate the energy-hungry graphics cards and hard drives.
Select hard drives that match the RAID connectors on your motherboard. Look for SATA, if possible. Also look for the speed. Never get hard drives with a speed less than 7,200 RPM unless they will be used for storage only. 7,200 RPM or 10,000 RPM in a RAID 5 or 0 array would be best.
Find RAM that is error correcting if the budget allows, otherwise get at least 6 GB for a quad-core CPU, 12 GB for 6 core or dual XEON (quad) and 24 GB for Dual or quad 6-core XEONs. RAM is very important for rendering applications and not having enough can cripple to effectiveness of your CPU.
Purchase an optical disc drive with either a DVD-R or Blu-Ray-R drive. An optical disc drive will not help speed up the rendering process, but might be necessary for exporting the finished product.
Select a video card that is Adobe approved if your computer will be used for video rendering. If you will be using your computer for 3D renderings, select the workstation-approved video cards from Nvidia or ATI. Nvidia's is called Quadro while ATI's is FirePro.
Build the Computer
Mount the power supply in the case and make sure all the fans are tightly screwed in.
Place the motherboard into the case, then secure it. Unlock the CPU lock and put the CPU in pins side down.
Squirt a copious amount of the thermal paste onto the CPU, then place the fan and heat sink on top. Lock both into place using the motherboard clips.
Put the RAM into the motherboard's RAM slots, and make sure they are secure by locking them into place with the clips.
Insert the video card into the PCI-Express slot and attach the power cable. If you are running multiple video cards in SLI, attach the SLI cable.
Place the hard drives into the hard-drive bay and the optical disc drive into its bay. Attach the SATA cables from both to the motherboard, then connect the power cables. If you are using multiple drives with RAID, configure it.
Connect the power cables to the motherboard and check all connections to make sure they are secure. Close the case, attach a monitor, keyboard and mouse. Press the power button. The computer should boot up and display BIOs.
In Feburary 2016 17,
Labels:
accommodate,
connectors,
CPU,
drives,
energy,
hard,
hungry,
match,
RAID,
watts
Abonnieren
Posts (Atom)