I received a “Come Back. We Miss You.” discount coupon from a major technical book publisher. They said that I could get 40% off my total purchase. Great, I thought. They wanted to incent  me to buy some books (IOW spend some money with them) that I wouldn’t otherwise have done without the discount coupon. This would have worked, but didn’t. Read the rest of this entry »

Comments Comments

I’ll write more:

  • but I’m off to bed.
  • but I’m too busy right now.
  • but I don’t know of what to write about.
  • after I finish this project.

The excuses keep coming. But it is a new year and Skribit has launched, so maybe I will make a belated New Year’s Resolution and start writing more. You can help me out by using the Skribit widget down and to the right.

I’ll write more later because I’m off to bed now.

Comments Comments

I am running WinWGet Portable as part of my PortableApps setup and I discovered a bug in WinWGet (version 0.20 beta April 2004).
Read the rest of this entry »

Comments Comments

At home I have a desktop computer that I use mostly for gaming. I have a laptop that I use for my home office work and development. I often use a Windows Remote Desktop Connection to use my laptop (that is sitting in my office) while I am in the living room where my desktop is. Today I needed to create some ISO images from CDs and burn some ISOs to disc. I didn’t want to run back and forth between my living room and my office.

Then I remembered that I had Alcohol 52% on my desktop and Alcohol 120% on my laptops.

I used Alcohol 52% to share the DVD-RW on my desktop using Alcohol iSCSI Server and my laptop is running Vista, so I used Vista’s built-in iSCSI client and mounted the drive.

Now I could use the DVD-RW drive that was physically on my desktop with Alcohol 120% running on my laptop over a Remote Desktop Connection.

Comments Comments

Download http://peak.telecommunity.com/dist/ez_setup.py and execute it.

wget http://peak.telecommunity.com/dist/ez_setup.py
chmod 777 ez_setup.py
python ez_setup.py

Comments Comments

I can never seem to remember the steps despite it being so simple. I just don’t do it enough to remember.

mkdir .ssh
chmod 700 .ssh
cd .ssh
vi authorized_keys
// paste public key
chmod 600 authorized_keys

Comments Comments

I am running on Windows and using JP Software’s Take Command version 10. I also like to use IPython.

When I invoke IPython from a TCC shell I have problems with aliases that shell out to TCC from IPython. For example, a simple ls command.

I discovered that the DOS/TCC environmental variable COMSPEC is set to a value that includes a space (C:\Program Files\JPSoft\TCMD10\TCC.EXE). If I set it to the 8.3 value (C:\PROGRA~1\JPSoft\TCMD10\tcc.exe) before invoking IPython, all is well.
Read the rest of this entry »

Comments Comments

I’m on Windows and I have created a virtualenv sandbox. I activate the sandbox and now I want to start up an IPython shell using the sandboxed environment. The following will do just that.

python -c "import IPython.Shell; IPython.Shell.IPShell().mainloop(sys_exit=1)"

thx to ThomasWaldmann on #python
Read the rest of this entry »

Comments Comments

Today I wanted to install the Python Cryptography Toolkit into a sandbox I had created using virtualenv. The issue was that the PCT was available as a Windows binary at The Voidspace Python Modules but I didn’t know how to install it to a sandbox because the EXE installer looks to the registry for the location of the system installation of Python.

After a little searching and experimenting I realized that all you need to do is to change the location the registry is point to from the system installation of Python to the sandboxed version.

So in my case I backed up the current registry key.

REGEDIT4
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath]
@="C:\\Python26\\"

And then created a copy of the file and modified it to point to the sandboxed Python install.

REGEDIT4
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath]
@="D:\\workspace\\mysandbox\\"

At this point you simply run the EXE installer and it will be installed to the sandbox. After it is installed, restore the original registry key,

Comments Comments

Modify your .bash_profile (login options; .bashrc is for non-login options) to include the following:

export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'

Comments Comments

Powered by Web Design Company Plugins