Archive for June, 2014

I worked hard…

Phew. This picture could have represented my fate. Fortunately I’ve been saved. No longer will be held hostage. No longer will I be discriminated against. No longer will I be asked to quit my position because it was deemed I couldn’t do my job by someone who couldn’t do theirs. No longer will it be suggested that I was only working there to have something to write on my CV. No longer will I be the dumping ground for all those tasks no one else wanted or perhaps just to make their day easier. No longer will I have someone looking down their nose at me. No longer will I be second.

This could have been my fate.

I worked hard.

Yet despite it all I enjoyed working there. My decision to leave was not easy to make. I enjoyed working with my peers. I enjoyed the diversity of my work. I enjoyed the challenges and rose to meet them. I would have stayed if I were able to take unpaid leave to visit my family in Europe as laid down in my contract.

 

June 27, 2014 | By More

Double Countdown

‘T minus’ 7 days and counting… Then I will be away to Europe and away from Renaissance College. It makes me both happy and sad. Sad because I feel I have been treated in a very unprofessional manor. Happy because I’m heading to Europe for six weeks to catch up with family and friends. Renaissance College will always be here. My friends and family will not so deciding to leave was an easy decision. It’s not what I wanted to do but I feel I was left with no room to negotiate which in turn left me with no choice. Its a shame but thats life.

June 13, 2014 | By | Reply More

Adjusting the SUDO timeout

While the sudo flags are convenient, there may be times when you might forget to use these flags. Alternatively, you might wish to have the time-out be longer if you are not concerned about security and regularly find yourself needing to supply your password when running sudo commands. Therefore, you can change the default time-out for sudo to be shorter, longer, or even to disable it altogether and always require a password when running sudo.

To do this, you can specify a custom time-out by editing the sudo configuration file by opening the Terminal and then running the following procedure:

  1. Run the command “sudo visudo” to invoke the sudo configuration editor
  2. Press “i” to invoke “insertion mode” so you can make edits
  3. Use arrows to navigate to the section “# Defaults specification” which will have a number of lines that begin with “Defaults” below it.
  4. Change the line that states “Default env_reset” to have “,timestamp_timeout=NUMBER” (with NUMBER being the number of minutes to time-out) appended to it, so it reads like the following (in this example the number is 2 minutes—if you always want sudo to require a password then set this value to 0):Defaults env_reset,timestamp_timeout=2
  5. Press escape to exit insertion mode
  6. Press “:” followed by typing “w” then “q” and then press enter to save and quit

As always, before making any changes to system configuration files be sure to have a backup of your system (even though “visudo” will create an automatic backup of the sudoers file). To undo these changes, simply invoke the visudo editor again and remove these edits.

 

June 9, 2014 | By More

Filebot

Filebot my new turn to tool for renaming various digital media, Moves & TV series etc. to a standardised format that Plex Media Server can add to my media centre. The very firts step is to download filebot from here – http://www.filebot.net/#download and install it. I’m using a Mac so dragging and dropping in to the Applications is the way to go.

Next we need to write the script. Simple and I used textedit and set it in to plain text mode by pressing ‘Command Shift & T’. Then copy and paste the code below in to thextedit. u will have to edit the “Path/to/Folder’ highligted below to point to your media folder, I set mine to /Volumes/media. Then save it as, well filebot.sh will do and I saved mine to ~/Documents/Scripts/filebot.sh

#!/bin/bash
/Applications/Filebot.app/Contents/MacOS/filebot -script fn:amc --output "path/to/folder" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"

Now we need to use terminal to make the script executable. Open terminal from the Applications/Utilities folder and at the command prompt type chmod u+x ~/Documents/Scripts/filebot.sh this will set the executable bit.

Next make sure that Transmission know what to do when a torrent completes. Open Transmission’s Preferences, then navigate to ‘Transfers’ and click the Management tab. At the very bottom of this is check box labled ‘Call Script’ and use the chooser to open our script at ~/Documents/Scripts/filebot.sh.

Now whenever a torrent is completed it should be renamed and copied in to the correct location ready to be indexed by Plex Media Server.

Check – http://www.filebot.net/cli.html the link for more information

June 8, 2014 | By More