Blog

Bose SoundTouch and Mini DLNA

Bose SoundTouch and Mini DLNA

Install Mini DLNA apt-get install minidlna Copy the Music over to the staging folder. I have my MP3 files on an external hard disk so I'll copy them over link this tar -c /mnt/Music -cvf - . | tar -C /var/lib/minidlna -xf - Set the file ownership chown -R minidlna:minidlna /var/lib/minidlna /var/cache/minidlna Sometimes you need to delete the database from /var/cache/minidlna/files.db and restart the service service minidlna stop rm /var/cache/minidlna/files.db service minidlna start Check the status at http://<host_ip>:8200 Check the status at 192.168.1.85:8200 Now on the Bose SoundTouch app go to Add Service, Music Library on NAS and select your Pi from the list:
Read More
Juniper SRX100 Firmware Update

Juniper SRX100 Firmware Update

Download the latest version of the software and copy it over to the SRX scp junos-srxsme-12.3X48-D65.1-domestic.tgz root@192.168.1.1:/var/tmp On the SRX install the software into the alternative root partition request system software add /var/tmp/junos-srxsme-12.3X48-D65.1-domestic.tgz no-copy no-validate unlink Reboot request system reboot Once it has rebooted, update the alternate image to the new version. request system snapshot slice alternate
Read More
Raspberry PI SSH Keys

Raspberry PI SSH Keys

Cheatsheet based upon https://www.raspberrypi.org/documentation/remote-access/ssh/passwordless.md On the Mac create a key (once) with a passcode ssh-keygen Add the key to your Mac keychain ssh-add -K ~/.ssh/id_rsa Optionally create a file ~/.ssh/config with these contents which contains the UseKeychain yes line which tells OSX to look at the keychain for the passphrase. Host * UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa Then copy your key to your Raspberry PI ssh-copy-id pi@192.168.1.x SSH to the PI ssh pi@192.168.1.x Next edit your /etc/ssh/sshd_config to turn off plain text password authentication and restart sshd. sudo sed -i "s/#PasswordAuthentication yes/PasswordAuthentication no/g" /etc/ssh/sshd_config sudo /etc/init.d/ssh restart Now you can SSH without a password and without getting pestered that the default password hasn't been changed.
Read More
Raspberry PI Zero W Headless setup

Raspberry PI Zero W Headless setup

Copy 2019-07-10-raspbian-buster-lite.img to the SD card with Etcher. Then remove and reinsert the card. Enable ssh by creating a zero length file touch /Volumes/boot/ssh Create a file /Volumes/boot/wpa_supplicant.conf using your favourite text editor: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=GB network={ ssid="your SSID" psk="xxxxxxxx" key_mgmt=WPA-PSK }
Read More

Standard 8

Privacy Policy The Standard 8 Surprise Major app distributed via Apple's App Store collects no data of any kind. Support If you have any support questions regarding the Standard 8 Surprise Major App app please use the contact form below [ninja_form id=1]
Read More

Most Popular Methods

There are ~72,000 Surprise Major performances on Bell Board. Bell Board displays results in pages of 200 performances. Thus we will need to download all the pages and concatenate them into a single file: for i in {1..366}; do wget "https://bb.ringingworld.co.uk/search.php?title=surprise+major&page=$i" -O - >> surprise-major.txt; done Quick analysis with awk/sed/sort and uniq: awk '/class="title"/ { print $3, $4, $5, $6, $7, $8, $9}' surprise-major.txt | sed 's///' | sort | uniq -c | sort -gr | less As expect the Standard 8 are right there:- 10732 Yorkshire Surprise Major 7633 Cambridge Surprise Major 6908 Bristol Surprise Major 3629 Superlative Surprise Major 3425 Lincolnshire Surprise Major 3048 Rutland Surprise Major 2716 London Surprise Major 1556 Pudsey Surprise Major 957 Glasgow Surprise Major 931 Lessness Surprise Major 666 Belfast Surprise Major 645…
Read More

Mount an ISO from your Desktop via PowerCLI

Normally, I'd used a Windows NFS Server to host my ISO files. The steps couldn't be simpler Add-WindowsFeature FS-NFS-Service New-NfsShareimport Import-Module NFS New-NfsShare -Name ISO -Path C:\ISO -access readonly However, this only works if you have a Windows Server installation as you can't install the NFS Service on a Windows desktop. There is a standalone executable version of an NFS server available called WinNFSd.exe which can be downloaded from https://github.com/winnfsd/winnfsd/releases. I've saved this to C:\WinNFSd Create a firewall rule on your desktop to allow the allow the ESXi host to communicate with WinNFSd, thus: New-NetFirewallRule -DisplayName "NFS Server" -Direction Inbound -Action Allow -Program C:\WinNFSd\WinNFSd.exe Run WinNFSd. The argument list is the local folder hosting your ISO files to be shared and the path that it will have on the NFS server's export…
Read More

Learn the Line App

Privacy Policy The Learn the Line App distributed via Apple's App Store collects no data of any kind. Support If you have any support questions regarding the Learn the Line app please use the contact form below [ninja_form id=1]
Read More
Retro Gaming – Space Raiders

Retro Gaming – Space Raiders

Dylan's favourite t-shirt is his Game Over shirt which always reminds me to Space Raiders from the ZX Spectrum days. I found the cassette tape quite easily but it took a significant amount of searching to find the Spectrum itself and included in the box was the tape recorder as well! Unfortunately when I set about loading the game it didn't work. It probably was a lot to ask after 30+ years. The audio sounded a bit low and the tape player was at maximum. I tried connecting it via an amplifier but that didn't help. I connected the tape drive to my Mac and looked at the file in Audacity. Apart from being very quiet, zooming in showed that after the guard tone it was impossible to see the…
Read More
Which Funds Have Exposure to NetFlix?

Which Funds Have Exposure to NetFlix?

So dabbling in the markets by way of investment funds is amusing. I use Hargreaves Lansdown to do this. HL have a fund research section which lets you look at a given fund and view the top 10 holdings so you can base your decision to invest in your belief in the underlying stock. How do you tackle it from the other direction? Suppose you want to invest in NetFlix but which fund(s) has expose to their stock? The search tool on HL's website doesn't let you search the fund's holdings. Firstly, we can get a list of funds starting with a by visiting the link https://www.hl.co.uk/funds/fund-discounts,-prices--and--factsheets/search-results/a. There are 25 more to go plus 0 for anything starting with a number. These pages are HTML unordered lists ul, of hyperlinks…
Read More