The Think Tank

  • About
  • CAP
  • COBWEB
  • Webpage Content Analyser
Illustration of a bird flying.
  • How to remove a symbolic link and the file it targets

    ls -al NameOfFile | awk ‘{print “rm “$9”; rm “$11}’ The above command will show you what is to be removed ls -al NameOfFile | awk ‘{print “rm “$9”; rm “$11}’ | sh -x Piping the output into sh -x will execute the commands and remove both the source and the target. Be certian you […]

    September 8, 2017
  • Moodle LDAP setup for LDAP Auto Enrolment

    Moodle LDAP setup for LDAP Auto Enrolment
    December 5, 2013
  • Command to convert folder(s) of .MTS to .mp4 for editing

    For this command to run correctly every .MTS file that has been split in multiple .MTS files by the camera (for example where the recording size has exceeded 2.0GB and the camera has automatically split it into mulitple files) these files need to be concatenated back into a single file. This can be done manually […]

    June 21, 2011
  • How to find your mac address / How to get your mac address into a variable using a batch file or the command line in Windows XP

    In a batch file : for /f “tokens=3 delims=,” %%a in (‘”getmac /v /fo csv | findstr Local”‘) do set mac=%%a Value of mac address is now accessible in %mac% From the normal command line: for /f “tokens=3 delims=,” %a in (‘”getmac /v /fo csv | findstr Local”‘) do set mac=%a Value of mac address […]

    January 24, 2011
  • How to convert .MTS files to .AVI in Ubuntu using ffmpeg

    Just a quick post. If you want to bulk convert .MTS files (from JVC or Sony HD camcorders) then you can use the below script: You’ll need csh and ffmpeg installed: sudo apt-get install csh ffmpeg Make a new file called convert (I use joe but you can use nano or whatever you prefer) joe […]

    November 22, 2010
  • Setting up Munin on Ubuntu 10.04

    Server setup (as root): apt-get install apache2 munin munin-node munin-plugins-extra munin-libvirt-plugins munin-java-plugins a2dissite default Edit munin apache config to enable stats to be veiwed from anywhere: joe /etc/apache2/conf.d/munin change Allow localhost 127.0.0.1/8 ::1 line to: allow all Restart apache2: /etc/init.d/apache2 restart Setup hosts we want to monitor in /etc/munin/munin.conf . For each host we need to […]

    October 22, 2010
  • How to get EIT working with MythTV; MythTV Satalite EIT Woes

    At work we’ve got a MythTV (mythbuntu) server with 2x DVB-S and 2x DVB-S2 cards. For a while I struggled away at trying to get the tv grabber to collect tv lisitings but it required me to configure each channel individually, not a pain if it’s a one off but for some reason I found […]

    June 22, 2010
  • Network problems after a Ubuntu 10.04 Lucid Lynx install and what fixed them for me

    After installing from a live CD where there was no problem with the network, I was supprised to boot a fresh install of Ubuntu 10.04 lucid lynx, with no network access. Fair enough, I thought probably just a one off, my PC. However after my work mate also had trouble with the network after a […]

    May 1, 2010
  • How to set the multiple Nvidia GPUs to auto fan in Ubuntu

    Just a quick one. I’ve recently purchased an additional card to go in my Ubuntu machine, but my cards when set up in SLI were running very hot. Using the information found here I was able to stick one GPU into auto fan mode, however the second GPU would stay at a fixed value and […]

    March 26, 2010
  • Barnstormers ‘A Night at the Movies’ – Introduction

    The introduction as shown at last week’s DVD night. [youtube nEDnWZ-Vq80] Download Introduction Video

    February 19, 2010
1 2 3 4
Next Page→

The Think Tank

Proudly powered by WordPress