Invisible text select cursor in Putty while using Windows RDP 
Finally found solution for this small but annoying problem:

"The I-beam mouse pointer that PuTTY uses is not rendered the same in rdesktop as it is in the Windows Remote Desktop client. The workaround is to change the "Text Select" pointer on the Windows machine by going to Control Panel->Mouse->Pointers. I changed it to the beam_r.cur image, which is a beefier version of the I-beam bitmap which does render nicely in rdesktop."


  |  [ 0 trackbacks ]   |  permalink  |  related link
Drupal: The directory sites/default/files is not writable 
If the usual permission change doesn't work you can try the following:

# /usr/bin/chcon -R -t httpd_user_content_t ./files
# chown apache:apache ./files/
# chmod g+w files



  |  [ 0 trackbacks ]   |  permalink  |  related link
Filling Acrobat 8 PDF Form With PDFTK Leaves Fields Empty  
Fields are empty because field names in the FDF file are probably specified incorrectly.

Just run the following:

# pdftk your_form.pdf dump_data_fields > form.pdf.fields

Look in the form.pdf.fields and the names might show up as: topmostSubform[0].Page1[0].my_field_name[0]

Hence in the FDF file it should look like:

... << /T (topmostSubform[0].Page1[0].my_field_name[0]) /V (some field text here yay) ...





  |  [ 0 trackbacks ]   |  permalink  |  related link
DokuWiki: Delete a Namespace 
In a generic case once all pages removed from a namespace it will be automatically deleted.

However, if you still see it in the list just run this cleanup script and it will take care of the problem:

#!/bin/sh

# set the path to your DokuWiki installation here
DOKUWIKI=/path/to/your/wiki

# purge files older than 30 days from the attic
find $DOKUWIKI/data/attic/ -type f -mtime +30 -exec rm -f {} \;

# remove stale lock files
find $DOKUWIKI/data/pages/ -name '*.lock' -type f -mtime +1 -exec rm -f {} \;

# remove empty directories
find $DOKUWIKI/data/pages/ -depth -type d -empty -exec rmdir {} \;



  |  [ 0 trackbacks ]   |  permalink  |  related link
Netgear SC101 Review - Bad, Bad.... Such Waste Of Money 
Netgear SC101 is easily the worst thing I ever bought. First, it broke right out of the box. Netgear replaced it. Unfortunately it hardly made it more usable. The utility that connects the device to Windows constantly fails. The thing is hot as an iron. It crossed my mind to sell it on ebay but I decided against it since I feel bad passing this piece of junk to another person.


  |  [ 0 trackbacks ]   |  permalink  |  related link

Next