Error message

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_display has a deprecated constructor in require_once() (line 3157 of /homepages/9/d119091006/htdocs/jdsnetwork/includes/

Lots o' irssi windows

I use irssi for irc, and I have a lot of channels and windows.
As a result, the whole alt+number thing is not quite enough for me.
/script exec foreach my $i (1 .. 2000) { Irssi::command("/alias $i win $i"); }
Running this in irssi adds a bunch of aliases. What they do is make /1 do a /win 1, /2 a /win 2, and so on, all the way to 2000. You can set this number higher or lower as needed, but it makes it a lot easier to navigate around irssi with lots of windows.

More in depth security with etherpad and apache

I was looking to provide even more namespaces to my etherpad instance, so I added a second "namespace."  I now have 2 distinct namespaces with seperate authentication methods, and thought it might be a good example for someone else looking. The "bks" namespace authenticates against a user table (added to the etherpad mysql database) and the hivesec namespace authenticates against a simple user/password file.

Using apache authentication with etherpad.

Once we started using our shiny new etherpad, we realized it might be handy to have private etherpad pads.  While it's possible to setup etherpad to require authentication, I didn't want ALL our pads to be private, just a subset of them that needed at least a small amount of privacy.

One approach would be to work within the etherpad source and create this new functionality.  This is probably the best approach, and we may do so eventually,  but for now I've instead added apache authentication to a specific subset of pads on our etherpad.

Below is a sample config.



I am a big fan of etherpad, a realtime collaborative editing tool.  After first introduced to it by the Teaching Open Source folks at the first fosscon, I've used it for authoring emails that I wanted others to look at before sending, for looking at code snippits with other eyes, and even for things as mundane as sharing the family grocery list.  There are a number of public etherpads out there, but they seem to come and go, and are sometimes down or unreliable.   I decided to see if I could get my own instance up and running, at least for my own purposes.


Learning Drupal


CPOSC this weekend

Subscribe to RSS