You are currently browsing the archives for the Programming category.
18. March 2008 by Ben.
It’s fixed! It’s fixed! Thank God almighty, it’s fixed at last!
Sorry, I may have gotten carried away there. Leopard’s Spaces (about which you’ve heard me gripe ad nauseam) is finally fixed in 10.5.2 after changing a setting in a .plist file. This is done by:
defaults write com.apple.Dock workspaces-auto-swoosh -bool NO
killall Dock
My world is complete. I can now upgrade to Leopard. I’m the only Mac-user one in my office who hasn’t already.
Thanks to Lifehacker, Secrets (a new application to tweak many settings in Leopard), and ultimately Mac OS X Hints.
Posted in Programming | No Comments »
10. March 2008 by Ben.
I’ve just installed Windows ME on a computer.
I feel like I need to take a shower. And then destroy the hard drive.
Posted in Programming | No Comments »
6. March 2008 by Ben.
[bobbojones@horcrux lib]$ edit
emacs: `getcwd' failed: Permission denied
Posted in Programming | No Comments »
27. February 2008 by Ben.
[bobbojones@PRODUCTION calendar] > select * from nodes limit 1;
+----+-----------+-----------------------------+
| id | name | description |
+----+-----------+-----------------------------+
| 35 | Snausages | Usually served in a blanket |
+----+-----------+-----------------------------+
1 row in set (0.00 sec)
I’m not sure I want to know.
Posted in Programming, Quips | 1 Comment »
26. February 2008 by Ben.
[bobbojones@software bin]$ less /.../cronstart.software
WARNING: terminal is not fully functional
Posted in Programming, Quips | No Comments »
14. February 2008 by Ben.
The following occurred at 10:21 this morning. Identifying details have been changed to protect the innocent.
> SELECT …;
10 rows in set (22.95 sec)
> SELECT …;
> DESCRIBE …;
+------------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------+------+-----+---------+-------+
| ... | int(11) | YES | | NULL | |
| ... | int(11) | YES | | NULL | |
+------------+---------+------+-----+---------+-------+
2 rows in set (0.01 sec)
> ALTER TABLE … ADD PRIMARY KEY (…);
Query OK, 784 rows affected (0.43 sec)
Records: 784 Duplicates: 0 Warnings: 0
> SELECT …;
10 rows in set (0.09 sec)
Posted in Programming | No Comments »