Script

  • 18 November 2016

Using Puppet to host a private RPM repository

A repository is a place where files are stored, indexed, and available through a package manager to anyone who has the repository information. With rpm based systems, a repository is created with a tool called createrepo. Most of the time, publicly available repositories already offer the packages your server needs. When y…

Read more 
  • 30 August 2015

Expect with expect

Wouldn't it be nice to program a script that expects a certain line of text then sends a predetermined string? How about copy your ssh id to 40 different RPi units without typing the command for every one? Expect is that sort of program we all have been dreaming about. Just look at this script:

Read more 
                
            
        
        
            
        
    
        
            
                
            

            
  • 06 July 2015

Kodi Shutdown Script

I am currently using 14.2 of Kodi on my home media center. In order to save money and energy, our rule of thumb is to keep the media center powered off during the night. At first thought, it would make sense to use Kodi's built-in sleep function; however, it gets too mundane to open the setting option every time you want to watch something…

Read more