Post thumbnail of How to Create samba users and Verify they can connect
13 January 2012
Continue reading How to Create samba users and Verify they can connect

How to Create samba users and Verify they can connect

This is the simplest way I know to get samba up and running. This isn’t the most secure, best, smartest, etc. It’s just for testing and getting up and running as quickly as possible.

Post thumbnail of Printing variables in python with placeholders
6 May 2011
Continue reading Printing variables in python with placeholders

Printing variables in python with placeholders

Even if you’ve only dabbled with python for a minute or two, you’ve probably already figured out that you can print variables using placeholders. You might have tried concatenation too. However, did you know you can print using %s but with the variable names directly?

Post thumbnail of Bottle: Python Web Framework Made Simple
17 January 2011
Continue reading Bottle: Python Web Framework Made Simple

Bottle: Python Web Framework Made Simple

It doesn’t get much easier than this. However, you must add routes for static files such as style sheets and images. These are things that you may take for granted if you’re used to relying on standalone web servers.

Post thumbnail of The simplest NTP configuration for a home network
1 October 2009
Continue reading The simplest NTP configuration for a home network

The simplest NTP configuration for a home network

I was curious about using NTP to keep a few stand-alone machines synchronized. None of them have access to the outside world, or access to another host that has access to the outside world - they’re completely cut off. So how do you run a NTP server with no upstream time source? Easy!

Post thumbnail of Secure Delete shell script - Simple but complete
9 July 2009
Continue reading Secure Delete shell script - Simple but complete

Secure Delete shell script - Simple but complete

So I just wrote this in 2 minutes so I could kill some things in /etc and /home and be done with it. Short and simple, don’t you think?

Post thumbnail of Setup GRUB boot loader in 3 steps
14 April 2009
Continue reading Setup GRUB boot loader in 3 steps

Setup GRUB boot loader in 3 steps

GNU GRUB is easy to set up, it’s just got it’s own funky syntax that you don’t really see anywhere else.
GRUB stands for GRand Unified Bootloader
GNU GRUB is a multiboot boot loader derived from the original GRUB. It is the first software program that runs when a computer starts. …

Post thumbnail of md5sums for batch files and directories as a tripwire
17 March 2009
Continue reading md5sums for batch files and directories as a tripwire

md5sums for batch files and directories as a tripwire

Here is a directory where I checked out some code, and I don’t want this to get updated or changed in any way at all. I like it exactly like it is, and if someone messed with it, i’d like to know what’s changed. For this example, I use a fsvs repository so I can see the history and roll back to exactly the right version, but lets just say you want a one shot deal for a bunch of files… If something comes up and I think this has changed in any way, I can run another batch of md5sums and meld the results. (yum info meld, good utility)

Powered by Wordpress   |   Lunated designed by ZenVerse