LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 3 votes, 5.00 average.

Hero Honda Splendor fork oil change

Posted 02-11-2012 at 12:36 AM by catkin

The easiest way to do this job is to remove the drain plugs but the part that they screw into within the slider may turn. If that happens a special tool is required to hold it. The procedure described here avoids that danger; it does not need any special tools.

Note on terms: the fork tube (a.k.a. stanchion) is attached to the yokes (a.k.a. triple tree) which pivot in the frame while the slider (a.k.a tube) holds the wheel. The least ambiguous terms, "stanchion" and "slider",...
LQ 5k Club
Posted in Uncategorized
Views 10387 Comments 0 catkin is offline
Old

Fix: browser downloads PHP file instead of running it (Debian Squeeze)

Posted 01-31-2012 at 02:39 AM by catkin

This problem took nearly a day to solve so here's the solution.

The problem symptom was with nagios3. After browsing http://<server>/nagios3 and logging on, Firefox opened a download dialog with said "You have chosen to open <blank line> which is a: application/x-httpd-php".

Looking for nagios-specific solutions was not fruitful. It was only when I searched for solutions to the browser downloading PHP files instead of running them I found solutions...
LQ 5k Club
Posted in Uncategorized
Views 2528 Comments 0 catkin is offline
Old

Apache configuration for Xapian Omega on Slackware 13.1

Posted 01-23-2012 at 10:09 AM by catkin

Here's an Apache configuration file for Xapian Omega on Slackware 13.1, to be saved as /etc/httpd/omega.conf

It was developed and tested on Slackware64 13.1 with Xapian Omega 1.2.8 installed by SlackBuild.
Code:
# Apache configuration file for Xapian Omega

<Directory /srv/httpd/htdocs/omega>
    Allow          from all
    DirectorySlash On
    Options        FollowSymlinks
    Order          Deny,Allow

    RewriteEngine
...
LQ 5k Club
Posted in Uncategorized
Views 2023 Comments 0 catkin is offline
Old

VBS for cwrsync - RSYNC_PASSWORD gotcha

Posted 12-23-2011 at 12:19 AM by catkin
Updated 12-23-2011 at 12:20 AM by catkin (Added comment moderation and email notification)

When running cwrsync as SYSTEM it difficult to satisfy rsync's requirement that the password file must be owned by root and readable only by root.

One solution is to set the RSYNC_PASSWORD environment variable.

When using Visual Basic Script to automate the cwrsync run, there's a "gotcha" -- RSYNC_PASSWORD must be a SYSTEM environment variable, not a USER environment variable.

Sample code:
Code:
objWshShell.Environment("SYSTEM").Item("RSYNC_PASSWORD")
...
LQ 5k Club
Posted in Uncategorized
Views 1835 Comments 0 catkin is offline
Old

OTRS: importing an Outlook contacts format CSV to the Address Book

Posted 06-26-2011 at 10:24 AM by catkin

Hello

Here's a script and associated SQL to import data from an Outlook contacts format CSV file into OTRS' Address Book.

They were developed and tested using:
  • An Outlook contacts format CSV file generated by export from Google Mail.
  • gnu awk 3.1.8 on Slackware64 13.1.
  • OTRS 3.0.8 running on Debian Squeeze 64 bit using mysqld and mysql 5.1.49.
The awk script prints usage if run with the -h option.

A sample usage:
Code:
bin/Outlook_CSV_to_OTRS_CSV.awk
...
Attached Files
File Type: txt Outlook_CSV_to_OTRS_CSV.awk.txt (30.8 KB, 28 views)
LQ 5k Club
Posted in Uncategorized
Views 5938 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration