This script requests the HTML of the Local Council’s webpage. XPath expressions are then used to navigate the DOM, returning information relating to the dates various bins will be emptied (e.g. refuse, recycling, food, etc.). This information is then written to an Inky pHAT e-paper display from Pimoroni, attached to a Raspberry Pi Zero W. It is suggested the script is run regularly as a cron job.
The GitHub repo can be viewed at https://github.com/Lynsay/BinDayAlert
Since its launch, I’ve been using Dark Mode on macOS Mojave. Whilst it took some getting used to (I struggled with Apple Mail at first), it’s particularly useful when you’re staring at a screen for a large portion of the day.
However, there’s one app I prefer to use in Light Mode, and that’s Microsoft Word. Is there a way to use Dark Mode on macOS Mojave and choose specific apps to use in Light Mode? Yes, but you have to go via the Terminal.
First of all, you need to get the bundle identifier of the application. Enter the following command in the terminal:
osascript -e 'id of app "Microsoft Word"'
This should return a value such as:
Following this, you then need to set Microsoft Word to use Light Mode:
defaults write com.microsoft.Word NSRequiresAquaSystemAppearance -bool yes
Restart Microsoft Word, and it should now be running using Light Mode, whilst the rest of the OS remains in Dark Mode.
Note: This worked at the time of writing- January 2019, on macOS Mojave version 10.14.2.
I request that the Internet Archive removes all information pertaining to my personal site from your archive https://web.archive.org/web/*/lynsayshepherd.com (including https://web.archive.org/web/*/lynsayshepherd.com/blog and all associated subdomains).
Recently, I’ve been exploring mobile forensics and I wanted to install Scalpel on my new Mac however, I encountered a few difficulties along the way. These steps seemed to resolve my issues so I thought I’d share what I did.
Download Scalpel from-
Unzip the file and navigate to the root of the folder. At this point, I attempted to run ./bootstrap however, this failed.
Part of the issue seems to be that under newer versions of Xcode, (around version 4.4.1 onwards), Apple doesn’t include Autoconf, Automake, and Libtool.
This link http://jsdelfino.blogspot.co.uk/2012/08/autoconf-and-automake-on-mac-os-x.html shows a manual way of installing these tools, although there’s an easier way….
If you have Macports installed-
sudo port install autoconf
sudo port install automake
sudo port install libtool
Note- choose automake rather than automake17
Following this, the machine should now be ready to install Scalpel-
sudo make install
In September, I purchased the latest Lego Ideas set: Disney Pixar’s Wall-E (Lego Ideas #12).
The whole premise behind Lego Ideas is that users can submit an idea for a Lego set which will be sold in shops. Wall-E was chosen as one of these designs. Surely everyone knows who Wall-E is? If you don’t, here’s a synopsis of the film from Wikipedia: “the story follows a robot named WALL-E, who is designed to clean up an abandoned, waste-covered Earth far in the future. He falls in love with another robot named EVE, who also has a programmed task, and follows her into outer space on an adventure that changes the destiny of both his kind and humanity.”.
The Lego set wasn’t too hard to build however, it did take several hours (there’s a lot of pieces and it just takes time). I was very impressed with the final product and the cute little robot now lives on my desk. You can open the door on the front of him and the geek in me is tempted to put a motor in him, allowing him to move around. He also comes with his beloved plant too.
I got some feedback when I first tweeted about the build. Some people felt that Wall-E’s neck was a bit droopy. Admittedly, I thought that 5 minutes after I’d finished building him. I just angled his neck slightly and he now sits perfectly.
Personally, I think his eyes are the best part. Whilst they’re not particularly complex structures, they are so expressive. Lego have absolutely nailed it. Brilliant work.