« February 2012 | Main | April 2012 »

March 28, 2012

Install plugins for Gedit

I was a bit frustrated that I even had to go think to do this but now that I know, I should become more efficient in Gedit. As I will probably never move to Vim or Emacs, this is a good thing.

Directions here.

$ cd /usr/lib/gedit-2/plugins/

Download and untar your plugins. Place the files (not the directory) into the above folder.

Gedit Plugin Installer - save seconds while installing new plugins. Ironically, no directions on how to install the installer are given.

A how to that really wasn't that useful to me.

Posted by kkwaiser at 08:42 AM | Comments (0)

Block indents in Gedit

Select the block of text and press Tab or Shift-tab to unindent. See Edit> Preference >Editor to set the tab width.

Source.

Posted by kkwaiser at 08:41 AM | Comments (0)

March 23, 2012

Find and delete files by name in Ubuntu

$ sudo find /var/cache/apt -name '*soffice*' -exec rm -rf {} \;

there is also a -type command where -type f will find only files.

Posted by kkwaiser at 09:14 PM | Comments (0)

Burrow Cams

File under "Miscellania".

This Australian company has Video Burrow Scopes and just Burrow Scopes
- Burrowcam - 17mm diameter camera, focal length 120mm to infinity ($430.00 - $473.00)
- Spidercam - 9mm diameter camera, focal length 25mm to ??? ($445.00 - $489.50)
- Spiderview - Non recording. 1 meter flexible shaft with light.($155 - $170)
- 3m extension available, joining hardware = 19mm

Sandpiper Technology has two options designed form field ecology use.

Peep-a-Roo - 1" camera diamter, IR Illumination
Peeper Video Probe - 2.3" camera diameter, IR Illumination

The headset goggles are now optional and are replaced with a wireless monitor. Challenge of using a 1" camera in large dens is cable is very flexible and hard to direct in large areas. John@sandpipertech.com

- Cost starts around $6000. A second probe can be added for $1-2K.
- Delivery around June/July

The Snakescope is fairly cheap option but may not be built for use in burrows. Here's what I received from sales reps:

The Snakescope would be OK in this type of environment. The flexible length is water resistant and not water proof. As long as it is not dunked in water it will be OK. The lens may become obscured by dirt or debris but a simple cleaning will take care of that. If required the flexible length can be replaced.

- Recordable video, focal length 20 to 280 mm (1 to 11 Inches)

Posted by kkwaiser at 09:33 AM | Comments (0)

March 19, 2012

Upgrading Drupal

Relevant: more complete documentation, recurring updates

1) backup entire drupal install (place in private directory). Also cp it to new name in same directory.
2) backup data base (place in Private directory)
3) Unpack new drupal install
4. Rm sites from new drupal install
5. Cp sites from old install to new
6. Cp a few files (.htaccess) that belong in new drupal root directory
% cp BingSiteAuth.xml ../research
% cp google27d7a67e9c791389.html ../research
% cp y_key_7fc2274f7f0a1820.html ../research
% cp .htaccess ../research

7. Check Status Report.
- For "directory not-writable" use this command from ITS on the affected directories: % find [path/to/directory] -type d -exec fs sa {} umweb:servers write \;

8. Run update.php to apply any updates/changes to database

9. Apply recurring updates

10. Install any new/update modules. Run update.php

Posted by kkwaiser at 01:23 PM | Comments (0)