- F1: Pastes the last executed command (character by character)
- F2: Pastes the last executed command (up to the entered character)
- F3: Pastes the last executed command
- F4: Deletes current prompt text up to the entered character
- F5: Pastes recently executed commands (does not cycle)
- F6: Pastes ^Z to the prompt
- F7: Displays a selectable list of previously executed commands
- F8: Pastes recently executed commands (cycles)
- F9: Asks for the number of the command from the F7 list to paste
Saturday, 31 March 2012
Windows Command Line History in CMD.EXE
I just found out about these!
Installing Python nicely on Windows box
At the time of writing despite x64 Windows use Python 2.7 (not 3.0) and x86 (not x64).
- Install Python latest 2.7 from msi http://www.python.org/download/
- Install Setuptools from msi http://pypi.python.org/pypi/setuptools#windows
- Add C:\Python27\Scripts to %PATH% environment variable.
- cmd, run 'easy_install pip'
- cmd, run 'pip install virtualenv'
- cmd. run 'pip install virtualenvwrapper-win'
The Windows virtualenv wrapper notes are here: https://github.com/davidmarble/virtualenvwrapper-win
At this point ready to use VirtualEnv, along with requirements files etc. I suppose the process might look something like this:
At this point ready to use VirtualEnv, along with requirements files etc. I suppose the process might look something like this:
- make project folder new_proj
- cd into new_proj
- make requirements.txt
- edit requirements.txt add say "flask"
- mkvirtualenv new_proj_env
- pip install -r requirements.txt
Additionally the postgres database driver might be required. This is in combination with a local installation of Postgres.
- This can be downloaded from : http://www.stickpeople.com/projects/python/win-psycopg/
- I like installing it as a global package.
- This does involve enabling pass through to global packages per: http://stackoverflow.com/questions/3371136/revert-the-no-site-packages-option-with-virtualenv
Friday, 30 March 2012
Useful Windows utilities and tools for Java and Python development
New SSD drive on laptop, new install of Windows 7. Recording tools as I install them:
General
Development [General]
Development [Java]
Development [Python]
General
- Rapid Environment Editor http://www.rapidee.com/en/about
- Paint.Net http://www.getpaint.net/download.html
- Notepad++ http://notepad-plus-plus.org/download/v6.0.html
- Agent Ransack http://www.mythicsoft.com/page.aspx?page=download&type=agentransack
Development [General]
- IntelliJ http://www.jetbrains.com/idea/download/index.htm
- Git for Windows
- Install http://code.google.com/p/msysgit/downloads/list?can=1&q=
- Add public key http://help.github.com/win-set-up-git
- TortoiseHg http://tortoisehg.bitbucket.org/download/index.html
Development [Java]
- Java SDK http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Ant http://ant.apache.org/bindownload.cgi
Development [Python]
Subscribe to:
Posts (Atom)