Civilization 5 Tactics and Strategies

This post will outline and detail strategies, tips, tricks, cheats and tactics for Sid Meier’s Civilization V (Civ5/CivV). Call it an FAQ of sorts.

Let’s get on with it, shall we?

Some quick observations:

  • Open borders allows you to surround an enemy, then attack. This works wonders later on.
  • The trebuchet seems a bit overpowered, and is definitely the best way to attack cities.
  • The easiest way I know of to skip the first intro movie is to simply rename “Civ5_Opening_Movie_en_US.wmv” to something else.
  • Alternatively, edit the “usersettings.ini” file found in “My Documents\My Games\Sid Meiers Civilization 5\”. Make sure to change “SkipIntroVideo=0” to “=1” on line 15.
  • For a copy of the English manual for Civ5, head here
  • How to turn on workers automatically keeping improvements
    In the My Documents folder go to the Civ V folder and then look for the “usersettings.ini” file.

    There is a setting called AutoWorkersDontReplace. Change the value from 0 to 1.

Call of Duty 4 Game Guide / Walkthrough

With permission from the original author, I am bring you the best Call of Duty 4 guide on the net.

This guide is huge, and as such will be edited quite a bit in order to be read well on our site. This will also allow easy modification when the faq changes, as they are wont to do. We’ll start with the the easy stuff, like the training mission, and build on that.

Should there be any questions, please feel free to use the comments.

When this is all said and done, we’ll have a nice index and table of contents to put up, to make it all nice and proper!

Here goes…

Legal info:

This may be not be reproduced under any circumstances except for personal,
private use. It may not be placed on any web site or otherwise distributed
publicly without advance written permission. Use of this guide on any other
web site or as a part of any public display is strictly prohibited, and a
violation of copyright.

All trademarks and copyrights contained in this document are owned by their
respective trademark and copyright holders.


					

Where Is the Underscore on a Moto Q?

I recently got a Motorola Q smart phone, and was puzzled for quite some time trying to find the underscore “_” character which some people use in email addresses.

Unfortunately, the answer is not very simple, but it does work, and also allows you access to a slew of other keys that are hard to find otherwise:

In order to insert an underscore “_” into any dialog, first press the “alt” key, the one you normally use to insert numbers. As soon as you have hit that key, hit the “shift” key, the one that allows you to enter capital letters. Once this is done, you’ll be presented with the character input screen. Funnily enough, the underscore, _ , is the first symbol listed, and you can simply tap right, then select it.

Voila!

CoD4 Single Player Cheats

Here are some simple single player tips, tricks, and cheats for the Call of Duty 4 single player mode on PC.

Start up Call of Duty 4 single player, go into your options, and make sure that the console is enabled.

Press your ~ (tilde) key anytime you want to enter these codes in – you can keep entering them.
First off, type seta thereisacow "1337", this enables most of the cheats.

In order to pick a level, use spdevmap mapname

Here are some handy console commands that may help you through the game:

  • ufo – you can fly through walls to get places – be careful, this can mess things up a little, and you may get stuck
  • give – gives you an item. If you type give all, you will get all weapons
  • god – god mode!
  • demigod – god mode, but some things still happen like screen shaking and such
  • notarget – you will be invisible to enemies
  • give ammo – instant ammo
  • jump_height – allows you to change the physics in the game – like moon shoes
  • timescale – let’s you play with time – fast or slow
  • cg_LaserForceOn – laser sight, baby!

Turn off Apple Startup Sound on your Intel Mac

If the chime your Mac makes on bootup drives you batty, have no fear – it’s controllable. You can mute, turn down, or even turn UP your Macintosh startup volume using freeware utilities!

There are a few applications out there that will allow you to adjust the Apple startup noise, but only one (as far as I can tell) that will allow you to adjust the startup chime on Intel based Macs – Psst from mistatree will let you do it on your x86 Apple computer, and it’s easy to use too!

Psst is a universal binary that runs in OS X, meaning that it will run on PPC Macs, as well as the newer Intel Macs like iMacs, MacBooks, MacBook Pros and Mac Pros.

To install the program, simply download the DMG image file using Safari, Firefox or your favorite browser, and mount the image by double clicking it. After that you can copy the file anywhere on your hard drive and run the application by double clicking it. Adjust the startup sound to your liking and reboot to see the changes. You will notice the difference on bootup/startup – the startup chime should be less noisy or muted depending on how you adjusted it.

Skip DMG verification by default in Mac OS X

I’ve been using OS X for a while now, and one thing that really irks me, especially on larger DMG files like a Leopard image, is that OS X automatically tries to verify the checksum of the DMG image file, which could take hours.

There are a few applications out there that will disable this for you, but if you want the quick and dirty method, and don’t mind using the Terminal once in a while, use this one-liner to disable the verification easily:

defaults write com.apple.frameworks.diskimages skip-verify true

Firefox 2 – Display Single Close Tab Button

Close Buttons on Tabs in Firefox 2.0

If you’re now using Firefox 2.0, you’ve probably already noticed that tabs now have close buttons by default, instead of having a single tab close button on the far right-hand side of the toolbar. If you preferred the older behaviour, simply navigate to the “about:config” page (type it in like a URL or webpage address), and find the section marked “browser.tabs.closebuttons”. Double-click on this entry, and set the value to 3 to display a single close button at the end of the tab strip (Firefox 1.x behavior).

Alternatively, you can set the value to 0 to display a close button on the active tab only, 1 to display close buttons on all tabs (Default), and set it to “2 to not display any close buttons at all.

taken from the about:config page at MozillaZine

A parting tip: To close the current tab using your keyboard, press CTRL+W. If you close a tab by mistake, just head to History > Recently Closed Tabs, and you can resume work from there (alternatively, you can use the arcane keyboard combo CTRL+SHIFT+T).

If you prefer using your mouse and want an even faster way about it – try the middle-mouse click (that’s typically a scroll button). When you click the scroll on any tab it instantly closes the tab for you. I have been using this method quite a bit lately. Though it seemed quite alien at first, I quickly got used to it and it’s now a major part of my Firefox 2 workflow.

Make Prototype.js TINY – Keep Compatibility

Prototype.js is a very popular AJAX framework used when building dynamic websites. You will find Prototype in most Ruby on Rails projects as it is included by default, and for good reason; Prototype.js is a great library that includes a lot of functionality.

Unfortunately it is rather large in size, weighing in at roughly 50KB.

Although many have managed to reduce the file size of Prototype by paring down the code and gzipping the file, we’re going to use an additional tool to approach the problem, one from the Mozilla foundation that appears to work very well – Rhino.

(Oh, in the interest of full disclosure, I am a Java fanboy, having studied at a university that got a lot of Sun funding back in the day. I hope you can see past that and check out this Javascipt hack, I really do.)

An informative quote from the Mozilla page for the Rhino project goes like this:

“Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.”

Alright then, so what you have is a Java bytecode version of Javascript that will work in most browsers.

Sounds interesting, let’s see what we can do with Protoype.js!

I decided early on to use a Rhino tool that I found on the Dojo site that allows me to compile Javascript and make it Rhino compatible. The page give you a brief walkthrough and some examples on how to use the tool, so I won’t need to cover that here in detail.

So we compile our Prototype Javascript file, let’s see what our results are then, shall we?

Before: 47445

After Rhino: 32716

After Rhino and gzip: 9454

So it’s at about 9KB now!

In order to utilize the new file, upload it to the directory that houses your original Prototype javascript file, then any instances of prototype.js in your code to prototype.jgz (zipped javascript).

You’ll also want to change your .htaccess file so that you handle the new script properly by typing pico (or nano or vi or what-have you) .htaccess:

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ".*Safari.*" [OR]
RewriteCond %{HTTP:Accept-Encoding} !gzip
RewriteRule (.*)\.jgz$ $1\.js [L]

AddType "text/javascript;charset=UTF-8" .jgz
AddEncoding gzip .jgz

You'll notice here that we're doing user agent detection for Safari. When I did my testing it seemed to be spotty, so what we're doing is falling back to javascript if we see that the user is using Safari. We're still compatible, and the code works everywhere else.

Manage Windows XP with Run Commands

Here is my collection of all of the Windows XP commands that you can start from the Start -> Run dialog box in order to manage a Windows XP (SP2) workstation.

  1. Accessibility Controls – access.cpl
  2. Accessibility Wizard – accwiz
  3. Add Hardware Wizard – hdwwiz.cpl
  4. Add/Remove Programs – appwiz.cpl
  5. Administrative Tools – control admintools
  6. Automatic Updates – wuaucpl.cpl
  7. Bluetooth Transfer Wizard – fsquirt
  8. Certificate Manager – certmgr.msc
  9. Character Map – charmap
  10. Check Disk Utility – chkdsk
  11. Clipboard Viewer – clipbrd
  12. Command Prompt – cmd
  13. Component Services – dcomcnfg
  14. Computer Management – compmgmt.msc
  15. Control Panel – control
  16. Date and Time Properties – timedate.cpl
  17. DDE Shares – ddeshare
  18. Device Manager – devmgmt.msc
  19. Direct X Troubleshooter – dxdiag
  20. Disk Cleanup Utility – cleanmgr
  21. Disk Defragment – dfrg.msc
  22. Disk Management – diskmgmt.msc
  23. Disk Partition Manager – diskpart
  24. Display Properties – desk.cpl
  25. Dr. Watson System Troubleshooting Utility – drwtsn32
  26. Driver Verifier Utility – verifier
  27. Event Viewer – eventvwr.msc
  28. Files and Settings Transfer Tool – migwiz
  29. File Signature Verification Tool – sigverif
  30. Findfast – findfast.cpl
  31. Folders Properties – control folders
  32. Fonts – control fonts
  33. Game Controllers – joy.cpl
  34. Group Policy Editor – gpedit.msc
  35. Help and Support – helpctr
  36. HyperTerminal – hypertrm
  37. Iexpress Wizard – iexpress
  38. Indexing Service – ciadv.msc
  39. Internet Connection Wizard – icwconn1
  40. Internet Explorer – iexplore
  41. Internet Properties – inetcpl.cpl
  42. Keyboard Properties – control keyboard
  43. Local Security Settings – secpol.msc
  44. Local Users and Groups – lusrmgr.msc
  45. Logoff Windows – logoff
  46. Malicious Software Removal Tool – mrt
  47. Microsoft Chat – winchat
  48. Microsoft Syncronization Tool – mobsync
  49. Mouse Properties – control mouse
  50. Netmeeting – conf
  51. Network Connections – control netconnections
  52. Network Connections – ncpa.cpl
  53. Network Setup Wizard – netsetup.cpl
  54. Object Packager – packager
  55. ODBC Data Source Administrator – odbccp32.cpl
  56. On Screen Keyboard – osk
  57. Outlook Express – msimn
  58. Password Properties – password.cpl
  59. Performance Monitor – perfmon
  60. Phone and Modem Options – telephon.cpl
  61. Power Configuration – powercfg.cpl
  62. Printers and Faxes – control printers
  63. Regional Settings – intl.cpl
  64. Registry Editor – regedit32
  65. Remote Access Phonebook – rasphone
  66. Remote Desktop – mstsc
  67. Removable Storage – ntmsmgr.msc
  68. Removable Storage Operator Requests – ntmsoprq.msc
  69. Resultant Set of Policy – rsop.msc
  70. Scanners and Cameras – sticpl.cpl
  71. Scheduled Tasks – control schedtasks
  72. Security Center – wscui.cpl
  73. Services – services.msc
  74. Shared Folders – fsmgmt.msc
  75. Shutdown Windows – shutdown
  76. Sounds and Audio – mmsys.cpl
  77. SQL Client Configuration – cliconfg
  78. System Configuration Editor – sysedit
  79. System Configuration Utility – msconfig
  80. System Information – msinfo32
  81. System Properties – sysdm.cpl
  82. Task Manager – taskmgr
  83. TCP Tester – tcptest
  84. Telnet Client – telnet
  85. User Account Management – nusrmgr.cpl
  86. Utility Manager – utilman
  87. Windows Address Book – wab
  88. Windows Address Book Import Utility – wabmig
  89. Windows Explorer – explorer
  90. Windows Firewall – firewall.cpl
  91. Windows Management Infrastructure – wmimgmt.msc
  92. Windows System Security Tool – syskey
  93. Windows Update – wupdmgr
  94. Windows Version – winver

Also to note: any executables found in PATH folders, for example “Program Files” can also be run from the Start -> Run dialog as well. This means to start VMWare Sever, you can type in “vmware” and it will start for you!