Now

A new version of the Obnam Manual that now includes both the help file, the extended help file, and the ‘man’ page. This is version 1.9.2, with the date of 6 May 2015.

Obnam Manual
Obnam Manual
ObnamManual -v1.9.2.pdf
Version: 1.9.2
254.0 KiB
650 Downloads
Details

A new version of ‘beeb’ which is the source, including the manual, and a separate download of the manual only.

Its now possible to display the programme listings from within the script, and you can now download at least 67 files in one session!

Beeb-v7.5 Tar.gz
Beeb-v7.5 Tar.gz
beeb-v7.5.tar.gz
Version: 7.5
90.3 KiB
28 Downloads
Details

Beeb
Beeb
beeb-v7.5.pdf
Version: 7.5
91.9 KiB
37 Downloads
Details

A not so small booklet showing exactly how to download programmes using “get_iplayer” of just 11 pages, and weighing in at 200kbs. It now shows how to use the web-end and that will download programmes from a list you input.

An update to the document giving clearer instructions, along with a couple of screen-shots.

Version – 1.5 – Dated 7 November 2014.

Quick&Dirty1.5 Get-iplayer
Quick&Dirty1.5 Get-iplayer
Quick&Dirty1.5.get-iplayer.pdf
Version: 1.5
200.2 KiB
397 Downloads
Details

 

Comments Off on Now

Using a ppa repo on debian.

I’ve recently started using some select Ubuntu ppa repos with debian, and once you know how it is extremely easy to set it all up and get working. So, heres how to do it, using “Homebank” as an example.

Currently in the debian repos, Homebank is showing as stable = 4.6.1-1, testing = 4.6.3-1, and unstable = 4.6.3-1, with the latest dated activity being 2015-04-27. Yet if you look on homebanks homepage, http://homebank.free.fr/index.php, you see that their most current version is at 5.0.3 released on 2015-06-06. And in between the debian date and the homebank last date there has been one update to the programme. So as I want the recent version I’m going to use the ubuntu version as shown on their download page,

You can try “sudo add-apt-repository ppa:mdoyen/homebank” but it won’t work, as it won’t be written to your “/etc/apt/sources.list” although everything will seem to be okay until you check your sources.list. It has to be written in a form that debian will recognise, and to get it in that format, here’s what you do –

1 – So, put the ppa source into google, “ppa:mdoyen/homebank” which gives https://launchpad.net/~mdoyen/+archive/ubuntu/homebank

2 – Go to that link and look for the green hyperlink on the left of the page which says “Technical details about this PPA” and then takes you to the page showing the various versions available.

3 – Choose your version, I chose “vivid” and then do “sudo add-apt-repository ‘deb http://ppa.launchpad.net/mdoyen/homebank/ubuntu vivid main’ ”

Note the ‘ in front of “deb” and after “main”. They are necessary, and without them you won’t succeed.

4 – Do a “sudo apt-get update”, and then do a “apt-cache policy” [which I’ve aliased to “acp”, much easier to remember] which will show you the versions of home bank able to be installed. Hopefully you should see something like this –

–8<—————cut here—————start-————>8—
acp homebank
homebank:
Installed: 5.0.3-0~34~ubuntu15.04.1
Candidate: 5.0.3-0~34~ubuntu15.04.1
Version table:
* 5.0.3-0~34~ubuntu15.04.1 0
500 http://ppa.launchpad.net/mdoyen/homebank/ubuntu/ vivid/main i386 Packages 100 /var/lib/dpkg/status
4.6.1-1 0
500 http://mirror.bytemark.co.uk/debian/ jessie/main i386 Packages

–8<—————cut here—————end—————>8—

5 – Success, now you can install the most up-to-date version of “Homebank”, and when it is updated you’ll pick up the update and can install it if you want.

This method works with any Ubuntu programme from a ppa repo, but the more you install the further away you get from a “pure” debian setup and you will increase the risk of problems developing. In that situatiuon it would be extremely hard to get support from debian help-channels whilst you had the Ubuntu programmes installed. So please be wary of what you actually install using this method!

Good luck, and enjoy :)

Tagged , , , , , , | Leave a comment

New Obnam Manual

A new version of the Obnam Manual that now includes both the help file, the extended help file, and the ‘man’ page. This is version 1.9.2, with the date of 6 May 2015.

Obnam Manual
Obnam Manual
ObnamManual -v1.9.2.pdf
Version: 1.9.2
254.0 KiB
650 Downloads
Details
Tagged , , | Leave a comment

*New* beeb 7.5

A new version of ‘beeb’ which is the source, including the manual, and a separate download of the manual only.

Its now possible to display the programme listings from within the script, and you can now download at least 67 files in one session!

Beeb-v7.5 Tar.gz
Beeb-v7.5 Tar.gz
beeb-v7.5.tar.gz
Version: 7.5
90.3 KiB
28 Downloads
Details
Beeb
Beeb
beeb-v7.5.pdf
Version: 7.5
91.9 KiB
37 Downloads
Details

Tagged , , , | Leave a comment

An updated radio feeds script

The BBC are changing their radio feeds, and BBC national radio streams in both WMA and AAC+ have now been retired. This means that they are now all being sent in a mp3 format. As my previous script’s BBC feeds failed to
work, this is now the updated working script.

 

 

Tagged , , | Leave a comment

mpd super-feed!

Following on from yesterday’s post about getting BBC feeds working and playing with mpc, this one is used in mpd itself –

 

This is run hourly via a cron job, and now works extremely well and can be used with mpd straight away. I’ve found that its best with “ncmpcpp” as its front end. I always find that programmes name very difficult to remember as there doesn’t seem to be a logical pattern to the placing of the letters, so I’ve set up an alias for it –

If you put that alias in your “.bash_aliases” file, then all you have to remember is “nm”, which takes up just one pane in my “tmux” setup, and then you can listen to your favourite radio programmes, as well as your music collection.

Tagged | Leave a comment

At last, a working BBC radio feeds.

I’ve long been a fan of “mpd” (Music Player Daemon) but recently I’ve been frustrated in that it can’t play the BBC radio feeds for some reason. So I’ve been looking for various working scripts, and I’ve found one, actually two as its a two-parter, but this works, so thanks to its author Stephen C Phillips at http://blog.scphillips.com/.

So on with the scripts.

This is saved as “bbcupdate”.

This is saved as “radio”.

To start listening to one of the radio stations, first run “bbcupdate” then your radio commands are

If you want an explanation of how the scripts are working I can only refer you to Steven Phillips original article.

Using cron it is now being updated every two hours, using this line –

 

Tagged | Leave a comment

Do you have a ‘recovery plan’?

Recently there was a fire in the flat next door to me, which therefore required us to evacuate our flats whilst the fire brigade dealt with it, and lead to the flat occupants being rehoused by social services as the flat was uninhabitable due to smoke damage. But it reminded me of something that I had been thinking of some months previously, which was “My recovery plan”!

I had previously worked out what to do if my mobile phone was lost, or stolen. But, what if my computer died irrevocably and I was totally unable to resuscitate it? Or if my flat was flooded or in a fire? This needs more thought, but to help you get started here are my recovery plans as they are today.

Loss of mobile phone.

If the phone is lost or stolen, then –

Change – amazon password
evernote password
gmail password
dropbox password
Do them in that order.

Also go to http://protect.foobar.co.uk to track the phone, lock and potentially delete all its contents.

Also ring the foobar helpdesk – 0870 0 700700

Inform the police.

Loss of computer.

If the computer is dead –

  • [ ] Are the fans turning?

— yes = power to the box
— no = possible fuse blown in cable? Possible blown power-supply?

  • [ ] Does the monitor power-light work?

— yes = power still to the whole system
— no = possible fuse blown in the power socket

Therefore replace fuses as required.

If still no working computer, then consider taking out the hard drive and placing it in an old computer to get it back online again.

If modem/router has died, then go online using my mobile phone and order a replacement from ebuyer or amazon.

If monitor has died, then replace temporarily with old monitor and order replacement.

Loss of home

If due to some physical cause, i.e. fire, flooding?
Contact family and fix up emergency accommodation.
Rescue possessions & clothing as possible.

Hopefully it will give you food for thought in you establishing your own disaster plans. Obviously you need to keep copies of your disaster plan in various places just for safety and ease of access in an emergency.

Tagged , , | Comments Off on Do you have a ‘recovery plan’?

Emacs init from an org-mode file

Recently I’ve been setting up an org-mode file in emacs which holds my entire “init.el” to run emacs from. As its all quite stable now and working well, I’m putting it up here in case others want to try something similar.

 

One thing that you must be aware of is to *NOT* put this file in “~/.emacs.d/” because if you do it will overwrite your basic “init.el” when it is tangled, think ‘compiled’, which starts emacs off!

You also need to put “ob-tangle.el” into “~/.emacs.d/” along with ‘init.el’ so that it all works. Once its all in place, then just start emacs the same way that you usually do, and watch it all appear as if by magic! :)

I use “gnus” to deal with my email, and that configuration is set up right at the end of my “init.org” and quite happily sits there just waiting to be called for use.

When I first started setting it all up, it was very daunting, moving from something that I knew worked, to something that I wasn’t sure about, and neither did I really understand how it would work! But now its been up and running for several weeks I feel quite comfortable with it all.

Yes, it has blown up in my face, with emacs totally refusing to load my setup, and I couldn’t see why not! That required about four hours just patiently going through it line by line, and examining for anything! Typos, missing closing brackets, too many brackets, new command-line errors it was showing me that I hadn’t seen before! I eventually found that the problem lay in a block of code that I’d just put in, and which when commented out allowed emacs to run properly. I learnt then to time-stamp each block of code that I inserted which would help in finding any future problems.

Now, emacs is *extremely* stable, as is gnus, and its working more as I want it to, without so much unnecessary commented out code. I still try out new snippets of code, but I’m far more wary of it, and if it looks like it won’t fit in my scheme of things, then I just leave it alone and don’t put it in.

I hope its useful for you and that you have fun setting it all up. I know that I have and feel much more comfortable  with my setup now

Tagged , , | Comments Off on Emacs init from an org-mode file

UPDATE – The Quick And Dirty Guide To ”Get-Iplayer”

An update to the document giving clearer instructions, along with a couple of screen-shots.

Quick&Dirty1.5 Get-iplayer
Quick&Dirty1.5 Get-iplayer
Quick&Dirty1.5.get-iplayer.pdf
Version: 1.5
200.2 KiB
397 Downloads
Details
Tagged , , , | Comments Off on UPDATE – The Quick And Dirty Guide To ”Get-Iplayer”