Archive for the ‘RancidMeat’ Category

RancidMeat: Grub4Dos

Monday, July 19th, 2010

Delayed whim I followed up on this week: a fork of GNU Grub.*

Once I settled on one of the myriad riggings that clutter the docs, it was easy to set up from within Windows. No Linux necessary.
 
(more…)

RancidMeat: XMLStarlet

Monday, April 26th, 2010

Occasionally I have to parse xml, which is often not grep-friendly. Luckily, there’s XMLStarlet (the actual command’s named ‘xml’) to make it relatively easy, if longwinded for a prompt. It’s in Linux repositories, and there’s a Windows version.

For this post, I’ll be referring to an example file that looks like this.

<?xml version="1.0"?>
<Cast>
<Character gender='M'>
  <Name>Fry</Name>
  <Job>Delivery Boy</Job>
  <Species>Human</Species>
  <From>
    <Location>Earth</Location>
    <Location>New York</Location>
    <Location>Brooklyn</Location>
  </From>
</Character>

</Cast>

 
 
1) Loop through all characters, printing the value of their name tag and a newline.

xml sel -t -m "/Cast/Character" \
-v "Name" \
-n futurama_cast.xml

# Zapp
# Leela
# Amy
# Zoidberg
# Fry
# Bender
# Professor
# Kif

 
(more…)

RancidMeat: Ncat

Sunday, February 14th, 2010

Netcat is reaaallly handy for piping stuff over networks. But it’s also been largely unchanged for years. There were a few forks and rewrites but they tended to be linux-only. One of the tricks it could do was ip/port scan. Scanning happened to be the primary function of the Nmap project, and so it grew to incorporate netcat features, and much more. Behold Ncat!
 
Edit (2010-08-03): 5.35DC1 made “-l -e” exit on disconnect, and “-l -e -k” keep awaiting new connections.
Edit (2010-03-16): I announced app this too early. 5.30b1 corrected the piping bugs I mentioned before. However, combining -l and -e still makes a server that never dies on its own (acts like -k), and must be killed manually. That might be fixed in a later release.
 
(more…)

RancidMeat: Mini SFTP Server

Wednesday, January 20th, 2010

screenshotCoreFTP is a shareware client/server suite. However there is also a freeware server half-way down this page.
 
It’s dead simple to use: double-click, make up a user/pass, click start.

(more…)

RancidMeat: Unix Utils

Tuesday, September 15th, 2009

If you alternately use Linux and Windows, no doubt you’ve had utility withdrawal. To deal with it, there are ports which you can put in a folder and add to your PATH.
 
– The venerable UnixUtils. Here’s another mirror. A bit old but they work. Don’t pass these up, especially grep/pclip/gclip/sed.

– This standalone wget stays current.
 
– Never use ‘more’ again. Less is available for Windows too. Get v429 to avoid the dll dependency.
 
Netcat too. Be warned: your virus scanner may summarily quarantine it for being a ‘Hacktool’. :/
 
– A Japanese build of gawk which has its |& networking intact. Who cares about readable error messages. :P
 
– There are a lot of up-to-date ports in GnuWin32, including an English gawk (minus |&), but you have to check their dependencies. If the one requirement is Win32, just get the “Binaries” and drop the exe in your folder. However, many of those packages require that you also get “Dependencies” dlls and lug them around with the exe. I’ll mention how to deal with that in another post.
 

Sorry no native bash for Windows. Well there are Cygwin and MSYS, but they’re like mini operating systems.

RancidMeat: VLC 1.0.0

Thursday, July 9th, 2009

Squee! The new VLC’s out!
 
If you’ve never heard of it, VLC is a media player that handles pretty much any audio file or video file and DVDs, without codec issues. Whatever it can play, it can convert into another format, or offer up over a network as a streaming server. It can be a streaming client. It can do screen captures. It can treat podcasts as playlists. It can fast-forward or slow playback. It can skew audio relative to video to compensate for sync issues. It can crank up the volume to 400% (ctrl-up). It can apply a few graphics filters (novelty mostly, but gamma is useful). It can be run as a commandline app or be controlled from a web interface or telnet.
 
If you’ve been using 0.9.x all along, this is another improved/added codecs release with a few new arcane features.

(more…)