wesley tanaka

Tech

Monitor gamma calibration for Linux / X.Org

()

The monica-3.7-7mdv2011.0.i586.rpm binary RPM for monica (a free monitor calibration tool for Linux) does not run in Ubuntu 11.10 (a.k.a. "Oneiric Ocelot").

./usr/bin/monica: error while loading shared libraries: libfltk.so.10: cannot open shared object file: No such file or directory

How to delete an entire splunk index / remove all events from a splunk index

()

To remove all of the data from a specific Splunk index without using the slow "| delete" command:

  1. Stop Splunk
    /path/to/splunk  stop
  2. Delete all the data from a specific index (for example "main"):
    /path/to/splunk clean eventdata -index main

link

Smell printer 2011

()

Updating the locate database one time only in Mac OS X

()

If the locate database hasn't been created yet on a Mac OS X 10.6 (Snow Leopard) computer, the message:

Color Range Mapping in Gimp 2.6

()

The plugin formerly known as Map Color Range in GIMP 2.2 and Color Range Mapping in GIMP 2.4 appears to have been removed in GIMP 2.6.

One way to get it back is to just grab the plug-in file from a previous version.  For example, you can run:

wget http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386.newkey/os/Packages/gimp-2.4.5-1.fc9.i386.rpm

rpm2cpio gimp-2.4.5-1.fc9.i386.rpm|cpio -idvm

"This site may harm your computer" google bug

()

a.k.a. #googmayharm

At first, I thought I had been hacked:

Show ignored files in Git

()

How do you see or find untracked files in your Git working copy that Git ignores?

Files which do not show up in git status because they match a pattern/line in .gitignore or .git/info/exclude with this command:

Git 1.6:
git ls-files --others -i --exclude-standard

Git 1.4, 1.5:
git ls-files --others -i \
--exclude-from="`git rev-parse --git-dir`/info/exclude" \
--exclude-per-directory=.gitignore

Google App Engine Helper For Django with App Engine 1.1.8

()
Google App Engine Helper for Django r52—the one that works with the Django 0.96 that comes stock with Google App Engine—no longer works with Google App Engine 1.1.8. It gives an error like:
cd mysite; /usr/bin/python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 18, in <module>
InstallAppengineHelperForDjango()
File ".../mysite/appengine_django/__init__.py", line 440, in InstallAppengineHelperForDjango

Simple Tests in Drupal 6

()

There are two simpletest modules for Drupal 6.  The 2.x branch (currently at 6.x-2.5) is a backport of the unit testing framework that will be included in Drupal 7.

Unfortunately, error handling is not very good and it is possible to get inscrutable errors like this when running a test:

Running SimpleTests

An error has occurred.
Please continue to the error page
An error occurred. /batch?id=30&op=do

unfiglet

()

I got my first figlet spam today.  The spammer didn't choose a very legible figlet font.  Still, I thought it was clever. Dan Egnor's unfiglet script—merely a funny joke back then—actually needs to be written for real now. I bet the gmail people already have one.

Previously

Syndicate content
by Wesley Tanaka