Seems that it is very challenging to set up the Python environment properly on Windows. Python 3.4 ships with pip but if you want to install a older version of Python, there is not simple way for the package management.
If you get stuck on installing Python packages on your Windows machine, you could consider using the unofficial Python package binaries prepared by Christoph Gohlke.
We can use PowerShell as a SSH client. If your SSH server requires key authentication, you can use the following command to add your private key before you could establish the SSH connection.
Continue reading PowerShell – Add private key for Key Authentication SSH
I have installed Sublime Text 3 with the Git package but it keeps prompting Git command not found in the PATH variable. Before i update the PATH, i have to figure out where is my Git command.
In Linux, we can get the path of a specific command by which [comamnd].
ex. ~$ which git
Continue reading PowerShell – Get command path like the “which” command in Linux
After checking out the SVN repository, i found that the TortoiseSVN icon overlay does not work.
1. First, make sure you have enabled overlay icon set for Fixed drives as follow.
Continue reading TortoiseSVN – Missing icon overlays in Windows Explorer
Finally i get the Windows 7 installed on the Mac Mini.
Then i tried to do the same for the MacBook but i couldn’t find the usb drive on the boot menu. After asking Google, it is found that for those Mac machines which are equipped with the super drive (dvd drive), they cannot be booted by external devices. I try to install the rEFIt boot manager but it still doesn’t work.
Finally i have to use the Boot Camp to install the Windows 7, but i have to find a DVD Windows 7 installer. Anyway, the Boot Camp is really cool and all drivers are automatically installed.
Recently i have tried to install Windows 7 in a Mac Mini and a MacBook. I have a Window 7 installer in a bootable usb. Just keep pressing the option key on startup and you could select the boot device in the boot menu. It works fine for the Mac Mini and the Windows 7 is installed without any problem.
But after the installation, i found that many drivers are missing. Finally i found a blog post written by Chris F Carroll. You can find all the details about getting the drivers from the Boot Camp package in that post so I am not going to repeat it here.
Setting you a web development environment in Windows is a big heahache. Here is a list of all on one WAMP packages.
Continue reading WAMP Stacks
If you meet the following error when importing DB thru the EasyPHP phpMyAdmin.
- #1100 – Table ‘pma_column_info’ was not locked with LOCK TABLES
Open the phpMyAdmin configuration file config.inc.php and the uncomment the following 2 lines.
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'password';
Reference: error while importing DB in mysql
1. Install the Drush Windows Installer.
2. Open the DrushEnv.bat in a text editor. The default location should be C:\Program Files (x86)\Drush. You should see the ENV variable setting as follow.
@ECHO Command Prompt shell optimized for Drush
@SET PATH=%PATH%;C:\Program Files (x86)\Drush\GnuWin32\bin
@SET PATH=%PATH%;C:\Program Files (x86)\Drush\Php
Continue reading Drupal – Run Drush in Windows PowerShell
You can setup the PowerShell profile as follow.
1. Open the PowerShell.
2. Check if the profile file exists. Please note that the letter-case doesn’t matter.
Continue reading Windows PowerShell – Setup user account profile