I wasn’t really liking the Brain Power theme anymore, so I decided to make my own using the handy-dandy WordPress Theme Generator and then tweaked the details to my liking. It looks better now, in my opinion.
Hopefully these changes plus the smackdown on spam will encourage me to blog some more. (Comments will still be moderated until I am sure spam is under control.)
Now for some miscellaneous things:
In the meantime, for my reference, I like to keep two aliases for my bash shell:
alias ll='ls -l' alias ls='ls -aG' # for the BSD ls alias ls='ls -a --color=auto' # for the GNU ls
I also like to change the default color for directories (blue) to cyan when in BSD (cyan foreground not otherwise used) so that I can see it better.
export LSCOLORS="gxfxcxdxbxegedabagacad"
In GNU ls, there is a different method and cyan is used for symbolic links, so rather than have two different colors for directories, which I see far more often than symbolic links, let’s change the directory color to blue and symbolic link color to yellow:
—-I’ll finish this up soon—-
For compiling a Java program using Cygwin and including the jxl.jar library (typical bin, lib, src setup):
#!/bin/bash javac -cp `cygpath -wp lib/jxl.jar:.` -d bin $(find src -name '*.java')
For running a Java program using Cygwin and including the jxl.jar library (two parameters passed):
#!/bin/bash java -cp `cygpath -wp lib/jxl.jar:src/:.` main.class.Name $1 $2
For running the above Java program on a Mac without the Mac top menu bar and with a specified dock name:
#!/bin/bash java -cp lib/jxl.jar:src/:. -Dapple.laf.useScreenMenuBar=true -Xdock:name="Program Name" main.class.Name $1 $2
Note to self: <pre> tags do not have word wrap. Consider using a special scrollable text field or plugin for displaying code.