LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


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 1553 Comments 0 catkin is offline
Old

Simple C: Filling in the blanks - A simple memory allocator/reallocator.

Posted 01-23-2012 at 07:32 AM by rainbowsally

No memdup()? No memcat()? No prob.

Today's Features:
  • Simple C/C++ program and new memdup() and memcat() functions.
  • C macros (spanning lines with backslash) to create 'lenient' aliases.
  • Type casting in C/C++ to override sometimes overly strict syntax checks.
Anyone that has used strdup() or strcat() knows how convenient those are. But when it comes to memory allocation and reallocation for other kinds of data the lack of simple standard mechanisms for this often leads to duplicated...
Member
Posted in Uncategorized
Views 5599 Comments 1 rainbowsally is offline
Old

KDE Utils: cleanup, hlp

Posted 01-23-2012 at 07:16 AM by rainbowsally
Updated 01-23-2012 at 07:19 AM by rainbowsally

Features:
  • Cleanup old backup files quickly with feedback on operations being done.
  • Outstanding doc viewer that doesn't tie up your terminal.
--------------------
See the link below for the "how and why" to install these as symlinks in your HOME/bin folder. Need functions for 'browse', 'launch', 'tofile'? It's all here.
http://www.linuxquestions.org/questi...-tofile-34376/
--------------------...
Member
Posted in Uncategorized
Views 1121 Comments 0 rainbowsally is offline
Old

Enable X sharing on ubuntu

Posted 01-20-2012 at 11:21 PM by kavinga (My experiences using linux)
Updated 01-20-2012 at 11:24 PM by kavinga

Normally Ubuntu doesn't allow X server to listen on any port.To enable X server listen on port 6000 edit /etc/gdm/custom.conf
and add
Code:
[security]
DisallowTCP=false
finally restart.Still you can't user X server from outside because it has kind of firewall on it.To disable fire wall run
Code:
xhost +
in terminal.Now the X server is available for outside access.The above command xhost + will disable entire firewall so there is a security risk if your machine is...
LQ Newbie
Posted in Uncategorized
Views 559 Comments 0 kavinga is offline
Old

More Mad Computer Science? (Simple multi-threading in a shell script)

Posted 01-20-2012 at 09:02 AM by rainbowsally

Just dropping by? Here's an easy one. And it's kind of fun.

We've already created a launch utility in this blog, but let's create one that works on other folks systems so they don't need to "install" (so to speak) anything to get the benefits of the functionality.

First let's look at the principles involved

Let's read fstab as a normal user. Don't 'su' or 'sudo su' here, because we don't actually want to be able to write to it. Just picking...
Member
Posted in Uncategorized
Views 27342 Comments 7 rainbowsally is offline

  



All times are GMT -5. The time now is 10:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration