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 →
The Apache Commons Lang library could help you to determine the running OS type. Here is an simple example.
Continue reading Java – Determine if the running OS is Windows, Mac or Linux →
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.
Mess up with the PHP dependencies in different environments? Composer is a PHP dependency manager where all the dependencies information are stored in the JSON file called composer.json. Similar to the pom.xml if you are using Maven in Java.
This example is done on a Windows machine. You could refer to Composer website if you are using Mac or Linux.
1. Download and install the Composer as stated in the Composer website.
Continue reading Composer – Manage your PHP dependencies →
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 →
Thanks my friend Mart who introduces reveal.js to me. It’s a great presentation framework and we used it for our Front End Web Development course in General Assembly.
Without the web development framework like Python Django or Ruby on Rails which bundle with pserver and WEBrick, i would like to find a light weight web server such that i could edit and preview my markdown which runs on reveal.js. Finally i find Mongoose.
Continue reading Mongoose – Simple web server →
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 →