OMG A Real Podcast Feed!!

Hey we FINALLY have a feed for your podcast machines and a kinda working website!
Here is the feed: https://www.wastedmemory.com/feed/podcast/wastedshow
Show Links: https://www.wastedmemory.com/series/wastedshow/

WOOOOOOOOOO!

Skype for Windows on Linux using Wine

Please note, I’m using a newer version of wine than whats available by default.
Head to http://www.winehq.org for details on upgrading your version of wine.

To install Skype for Windows on Linux x64 using Wine:

possibly need winbind installed, dunno
rm -rf .wine
WINEARCH=win32 winecfg change to windows 7
#for nvidia closed drivers might need: winetricks orm=backbuffer glsl=disable
WINEARCH=win32 wine SkypeSetupFull.exe
–setup will crash/exit
cd .wine/drive_c/Program\ Files\Skype/Phone/
WINEARCH=win32 wine Skype.exe /username:your_username /password:your_password
–skype will probably crash the first time you run it

its randomly crashing when i didnt use WINEARCH=32, trying 32 now, i have no idea, ill open comments later

How to listen to an old boiler

At work we have an old steam boiler heating system that was original to the building. A short time back, I installed a cheap IP camera (30 bucks) to watch the steam gauge (the main air handlers run on steam while the radiators run on just hot water) to monitor when we could ‘dump heat’ into the building. It’s old and sometimes has trouble getting started for whatever reason. This camera also has a microphone that I could listen to using something such as MPlayer. I made a script to ‘listen’ to the boiler room every minute for 4 seconds and analyze the audio to determine if the boiler is on or off. Since its old and fairly loud, it has been pretty reliable so far… Check out the script below that runs in cron every minute:

Cron-job:

* * * * * /path/to/boiler-audio > /dev/null 2>&

boiler-audio file:

#!/bin/bash

DUMPFILE=/var/tmp/boiler.wav
BOILERFILE=/var/tmp/boiler.txt
BOILERAMP=/var/tmp/boileramp.txt
BOILERTIME=/var/tmp/boilertime.txt
TIME=4
shift

/usr/bin/mplayer -quiet -dumpstream -dumpfile $DUMPFILE http://192.168.x.x/audio.cgi &
PID=$!
sleep $TIME
kill $PID
wait

AMP=`/usr/bin/sox -t .wav $DUMPFILE -n stat 2>&1 | grep "Maximum amp" | cut -d"." -f2`
FIRE="off"

if [ "$AMP" -gt "300000" ]
then
 FIRE="on"
fi

echo $FIRE > $BOILERFILE
echo $AMP > $BOILERAMP
echo `date +%r` > $BOILERTIME

Linux Mint 15

Today I decided to try out Linux Mint 15.

This is a FRESH INSTALL and I’ve managed to break it in about 15 seconds.

Apparently there’s a known bug that Linux Mint’s shiny new file browser (Nemo) freezes when you copy multiple files over a network. This bug has timestamps from March 2013 and it’s the end of August. ARE YOU FREAKING KIDDING ME?

Why is such an obvious thing not working right out of the box and nobody seems to be doing anything about fixing it. I’m not talking about what actually might be happening with their developers, but my actual user experience. I downloaded a Linux distro that’s been receiving praise for being ‘one of the best’ Linux desktop experiences ever and I can’t copy a 10 MB folder across the network and then find out it’s a bug that’s been known about for MONTHS.

I really want to love Linux on the desktop as much as I love using Linux on servers, but how can I? It always seems like some distro will get a good thing going and then totally sabotage all their hard work by changing things that simply shouldn’t have been changed (I’m looking at you Ubuntu with your awful Unity interface). Or some underlying project will fork, or we decided to completely change the way sound works or whatever.

I just want it to work. I don’t care what developer x had to say or why ‘we just shouldn’t do it that way’ just because. Why did Debian remove aircrack then Ubuntu as well? Here, read this.

Yes I know your distro has the best oxygen generator and can even fly my computer to Mars, but its worthless to me if I cannot do simple office tasks: watching a flash video, right click dragging, copy a folder of files.

Why hasn’t Linux penetrated much on the desktop front? Simple answer: I, you, other users, all have our own work to get done and I simply don’t have time to battle and ‘trick’ my operating system to do what I want.

Sigh, I guess I try Ubuntu again or something…

angry tux

The End of Windows XP

Microsoft will finally be pulling the plug on Windows XP and ending support of the 11 year old operating system on April 8th, 2014.

What does this mean? Time to move on. Time to get Windows 7 or Windows 8 (and if you aren’t a fan of the new ‘Start Menu’ on Windows 8, head on over to Ninite.com and select the ‘Classic Start’ from the Utilities)

Biggest concern? Businesses and stand-alone appliances that rely on XP. The clock is ticking guys, upgrade.

Removing IP’s from DenyHosts

DenyHosts will scan your auth logs and add any ip to hosts.deny trying to brute force a login. That’s great, but I feel it lacks an important feature: An easy way to remove a blacklisted ip address. So I’ve come up with a script to do it for you.

Please note, I’ve only tested this on Debian Linux and you may have to modify it to fit your operating system.

Save the following as ‘ipdenyremove’ and you’re set:

#!/bin/bash
if [[ $1 == "" ]]; then
        echo "usage: ./ipdenyremove ip-to-remove-from-denyhosts";
        exit 1;
fi

thepath="/var/lib/denyhosts/";
for x in `ls $thepath`; do
        file=$(<$thepath/$x)
        echo "$file" | {
                while read line; do
                    if [[ $line != *$1* ]]; then
                        echo $line
                    fi
                done
        } > $thepath/$x
done

hostsdeny="/etc/hosts.deny";
file=$(<$hostsdeny)
echo "$file" | {
        while read line; do
            if [[ $line != *$1* ]]; then
                echo $line
            fi
        done
} > $hostsdeny