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 »
Archive for the “Uncategorized” CategoryI’ll write more:
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. I am running WinWGet Portable as part of my PortableApps setup and I discovered a bug in WinWGet (version 0.20 beta April 2004).
Oct
24
2009
Doh! I can use iSCSI.Posted by Chaim in Uncategorized, tags: Alcohol 120%, Alcohol 52%, iSCSI, Remote Desktop ConnectionAt 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.
Oct
08
2009
Bootstraping setuptoolsPosted by Chaim in Uncategorized, tags: easy_install, python, setuptoolsDownload 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 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
Oct
06
2009
Using IPython With Take CommandPosted by Chaim in Uncategorized, tags: ipython, TCC, TCMI 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 I discovered that the DOS/TCC environmental variable COMSPEC is set to a value that includes a space (
Oct
06
2009
Starting IPython Shell While In Virtualenv SandboxPosted by Chaim in Uncategorized, tags: ipython, python, TCC, TCM, virtualenvI’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
Oct
04
2009
Install a Python extension to a virtualenv sandbox that is packaged as a Windows binary installerPosted by Chaim in Uncategorized, tags: binary, installer, python, virtualenv, windowsToday 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,
Sep
19
2009
Adding Color To Your ls Listings in BashPosted by Chaim in Uncategorized, tags: bash, color, linux, lsModify your export LS_OPTIONS='--color=auto' eval `dircolors` alias ls='ls $LS_OPTIONS' |



Entries (RSS)