Hugo is Fun

If you haven’t heard of Hugo, and you’re interested in static site generators, give it a try. Here’s a link: https://gohugo.io

XChat Log Search

Search the current channels xchat log and display the results in a -[search]- tab #!/usr/bin/env python __module_version__ = "1.0" __module_description__ = "Searches Channel Log" import re, glob, xchat def search_log(word, word_eol, userdata): network = xchat.get_info("network") channel = xchat.get_info("channel") directory = xchat.get_info("xchatdir") filename = directory + "/xchatlogs/" + network + "-" + channel + ".log" files = glob.glob(filename) search = re.compile(word[1]).search output = "QUERY -[search]-" xchat.command(output) for file in files: for index, line in enumerate(open(file)): if search(line): output = ":".

XChat MPD Song Display

XChat MPD (Music Player Daemon) Song Display for Xchat, python script to display song information in channel. Dependencies: python-mpd – Python MPD client library Ubuntu: sudo apt-get install python-mpd __module_version__ = "2.0" __module_description__ = "MPD Xchat Plugin" import xchat import mpd import os import time HOSTNAME = "localhost" PORT = "6600" client = mpd.MPDClient() def mpd_connect(): try: client.connect(HOSTNAME,PORT) except: print "Failed to connect to MPD: %s:%s" % (HOSTNAME,PORT) return client def mpd_disconnect(client): client.

XChat Youtube Link Information

Grabs data using google’s gdata api and displays information about You tube links Dependencies: python-gdata – Google Data Python client library Ubuntu: sudo apt-get install python-gdata import re import gdata.youtube import gdata.youtube.service __module_name__ = "YouTube Links Info" __module_version__ = "1.0" __module_description__ = "Displays information about a youtube link" def parse_youtube(link): validate = re.compile(r'((?:http://)?(?:\w+\.)?youtube\.com/(?:(?:v/)|(?:(?:watch(?:\.php)?)?\?(?:.+&)?v=)))?([0-9A-Za-z_-]+)(?(1).+)?$') valid = validate.search(link) if valid is None: return [None] yt_service = gdata.youtube.service.YouTubeService() youtube_id = valid.group(2) try: entry = yt_service.

Mission Impossible

Your mission should you choose to accept it is to take something most would consider trash and turn it into treasure. Do you have a local computer recycling program in your area? Would you like to see one that offers FOSS? If you have answered yes to either then you have the ability to make this ‘mission possible’. There are many computer recycling programs but sadly most use proprietary software because they’re provided with cheap licenses and unwanted machines.

CRTC Internet Traffic Management Hearings

I’ve been following the CRTC Internet Traffic Management Hearings, and thought the least I could do is mirror the archives for the audio of the hearings. Lets hope this leads to a better Canadian Internet. Mirror here: Nerdsonlinux Mirror Original: http://www.techd.org/crtc/

OSS 4.1 with Linux 2.6.30

In order to get the oss4 modules to compile I had to apply this patch.

Fedora and Ubuntu beta releases get good press

Linux is maturing pretty rapidly these days which is good for everyone and good press is always welcome it helps turn new users on to freedom.So I was pleased to see this post.Keep in mind that these are both beta releases and we still have time to help make them even better.If you’re interested in giving feedback on them then get started! You can download fedora here and ubuntu releases are available here you can also get a disc from for $1 from On-disk.

Free Linux Sip Clients / Softphones

Here’s some SIP clients I’ve found that work well in linux. Zoiper A new one I came across just recently, works great, very easy to configure and use. X-Lite for Linux Has very good voice quality, and works well, but has an odd interface, which makes it harder to configure. Ekiga Comes preinstalled on Ubuntu Linux, and works ok, but I’ve had problems with the G711 ulaw/alaw codec with it, voice quality seems to drop quickly with this codec.

How to get wifi working properly on the BestBuy HP Pavillion dv6407nr and dv9408ca laptop (Black Friday special)

I bought one of these and it’s pretty sweet but it was a bit of a pain to get the wifi to work properly so I thought I’d jot down how I got it to work.I’m running Ubuntu 7.10 (Gutsy Gibbon) 64 bit version because what’s the point of having a 64 bit processor if you don’t utilize it to the fullest? Okay, so down to the specifics I used a bunch of howto’s that I’ll list as we go along.

VMware Server – Ubuntu Feisty Install

The easiest way to install VMware server, is in this guide.

Flash Player 9 for Linux

Just recently found out there was a new Flash 9 plugin for linux. I was about to give up on flash websites altogether. Check it out http://labs.adobe.com/downloads/flashplayer9.html

Flash and Java on Ubuntu 64

I’ve always had a hard time getting Flash to work with a 64 bit system. I found the following link for a HowTo that worked perfectly for my Ubuntu system. It explains how to install a 32bit firefox with all the plugins. Firefox 2.0, Flash and Java in AMD64 Ubuntu

Apache on CentOS

Just had an issue with an Apache server on CentOS which uses SELinux, nothing major. In order to enable UserDir with SELinux you gotta set some boolean flags, here’s the article. http://mirror.centos.org/centos/4/docs/html/release-notes/as-x86/#id3464301

Synergy

Okay it’s a Friday night and I’m recovering from a cold and bored as well.Here goes another post Synergy! What is it? A way to share a single keyboard and mouse between computers.It works pretty well although it has it’s flaws it sure beats fumbling around for another kb and mouse or using a vnc style app.Check it out at http://synergy2.sourceforge.net/ it’s multi platform so you can use it on linux and mac as well as windows if you must.

CPU Statistics

A little script written in perl, which displays the current cpu usage in a bar graph format #!/usr/bin/perl -w ################################################################################################# # CPU Status Graph # # ------------------------------------------------ # # DESCRIPTION: Shows current cpu loads in percent for user, system, nice, and idle # # also shows a colored bar graph. See screenshots or try it :) # # # ################################################################################################# IRC::register("CPU Status Plugin", "1.0.0", "", "by: Jaguar"); IRC::add_command_handler("cpustat", "cpu_info"); $cL = "\00300"; # Letter $cI = "\00307"; # Information $cS = "\00314"; # Separator $cT = "\00304"; # Title $SEP = "|"; # Seperator $c[0] = "\00300"; $c[1] = "\00301"; $c[2] = "\00302"; $c[3] = "\00303"; $c[4] = "\00304"; $c[5] = "\00305"; $c[6] = "\00306"; $c[7] = "\00307"; $c[8] = "\00308"; $c[9] = "\00309"; $c[10] = "\00310"; $c[11] = "\00311"; $c[12] = "\00312"; $c[13] = "\00313"; $c[14] = "\00314"; $c[15] = "\00315"; sub cpu_info { # Calculate cpu usage percentage from /proc/stat open(STAT, "</proc/stat"); my ($junk, $cpu_user1, $cpu_nice1, $cpu_sys1, $cpu_idle1) = split(/\s+/, <STAT>); close(STAT); my $cpu_total1 = $cpu_user1 + $cpu_nice1 + $cpu_sys1 + $cpu_idle1; my $cpu_load1 = $cpu_user1 + $cpu_nice1 + $cpu_sys1; sleep 2; open(STAT, "</proc/stat"); ($junk, $cpu_user2, $cpu_nice2, $cpu_sys2, $cpu_idle2) = split(/\s+/, <STAT>); close(STAT); my $cpu_total2 = $cpu_user2 + $cpu_nice2 + $cpu_sys2 + $cpu_idle2; my $cpu_load2 = $cpu_user2 + $cpu_nice2 + $cpu_sys2; $CPU_USAGE = int((1000 * ($cpu_load2 - $cpu_load1)) / ($cpu_total2 - $cpu_total1))/10; $CPU_USER = int((1000 * ($cpu_user2 - $cpu_user1)) / ($cpu_total2 - $cpu_total1))/10; $CPU_NICE = int((1000 * ($cpu_nice2 - $cpu_nice1)) / ($cpu_total2 - $cpu_total1))/10; $CPU_SYS = int((1000 * ($cpu_sys2 - $cpu_sys1)) / ($cpu_total2 - $cpu_total1))/10; $CPU_IDLE = int((1000 * ($cpu_idle2 - $cpu_idle1)) / ($cpu_total2 - $cpu_total1))/10; %CPU = ("USER", $CPU_USER, "NICE", $CPU_NICE, "SYS", $CPU_SYS, "IDLE", $CPU_IDLE); # Sorted associative array (sorted by value) @CPU_VALS = sort by_values (keys (%CPU)); # Split array into seperate words ($one, $two, $three, $four) = @CPU_VALS; ($one_txt, $two_txt, $three_txt, $four_txt) = @CPU_VALS; # Determine value from key eg.

Getting Monkey’s Audio Codec (*.ape) files to play in xmms

I’m a bit of a music lover and I prefer lossless formats over anything else.I needed to get MAC files to play nice with xmms.A quick search led me to http://sourceforge.net/projects/mac-port/ Once I compiled both packages a quick restart of xmms was all I needed to get sound.

HellaNZB

Been using HellaNZB to download all my NZB files lately for newsgroups. It works wonders, downloads, par2 verifies and extracts. Leaves me with nothing else to do but watch/listen/run what I downloaded. Check it out here, http://www.hellanzb.com/trac/

X-Chat Plugins

X-Chat Log Search X-Chat Youtube link information X-Chat MPD Song Display

About Us

Another blog about Linux

Gnome 2.14 Release

Can’t wait till March 15th when the new Gnome is released, Especially since my install of XGL on my system turned out to break more things then it added. You can check it out here http://www.gnome.org/~davyd/gnome-2-14/

Nerds On Linux – First Post

Hello Everyone, Thought I’d make this into a blog site so we could post screenshots or random jibberish, better then the random jibberish that was already here before.

Abouts

Categories

Linux

Nerds on Linux

Posts

X Chat Plugins

X-chat-plugins