Blog

Listing all my shows

Listing all my shows
I have just bought a Chromecast and originally thought this would be an efficient way to cast my shows to my TV without having to remember what I have left to watch but casting video from an embedded media player in a chrome tab seems to be a little CPU intensive. Sadly after 2 hours I realized this wasn't going to be what I had intended so I'll use Local Cast or Video Stream to cast files form my PC to the TV but this is still quite useful to me as I have about 75 shows I watch and I delete every episode when I have watched it so keeping track of what I have available to watch is a bit tiresome if I have to use my memory or Windows Explorer to check if I already have an episode. 

Restart WiFi connection batch script

Restart WiFi connection batch script
I have noticed that on some wifi connections my up & download speed sometimes becomes either extremely slow or dies all together, especially when up & down loading tcp & upd data.  I have also noticed that I can regain my bandwidth to a normal level by disconnecting and reconnecting from the network but this is a pain and suggests to me that the router supplied by the ISP is doing some packet inspection or port monitoring to provide a sanitized connection for the ley user and prevent themselves from having to serve transfer more data than they should be doing. 

Drupal 6 MD5 Password Reverse Lookup

Drupal 6 MD5 Password Reverse Lookup
The ethics or reverse engineering your users passwords are at best questionable but I have recently had a case to do so ethically as the site used a 3rd party API to which the password was sent when the user logged in to a Drupal 6 site. This old system is clearly not very well thought through as it sends un-encrypted user data via http but this is not the point of this post. As I needed to get some real data from the API I had no choice to look-up the MD5 hashed passwords form the Drupal 6 database to gather a good batch to work with. Please note this is only intended to help people facing similar issues and not designed to hack people's facebook or bank accounts!

Drupal auto login

Drupal auto login
I have lots of different Drupal sites I have to log in to on a regular basis and remembering what password I am using at any given time is impossible, my Chrome often gets my passwords wrong as well so to make my life easier I have written a tampermonkey script to log me in to my Drupal sites automatically.  I also generally use a batch file if I have to open many sites at the same time so I have included that here as well, typing my password out 17 times becomes very tedious!  Batch file for opening multiple incognito chrome tabs  FOR %%A IN ( http://site-1.co.uk/user http://site-2.co.uk/user http://site-3.co.uk/user http://site-4.co.uk/user http://site-5.co.uk/user

Auto hide annoying Facebook posts

Auto hide annoying Facebook posts
My Facebook has been littered with what can only be described as spam relating to the Apple announcements about some more things they are going to be selling or something like that.   I am not an Apple fan and do not care less about this so I thought there must be an easy way to hide this kind of thing but I didn't find anything so I decided to make something to do it for me.   This is a super simple JavaScript GreaseMonkey or TamperMonkey script for scanning your Facebook feed and deleting the nodes form the DOM that contain a string that you have decided is annoying.

Pages