<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tramcrazy&apos;s Blog</title>
    <description>A blog about cybersecurity, coding, technology and more!</description>
    <link>https://tramcrazy.com/</link>
    <atom:link href="https://tramcrazy.com/sitemap.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Mon, 16 Dec 2024 20:38:51 +0000</pubDate>
    <lastBuildDate>Mon, 16 Dec 2024 20:38:51 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>My new Photocopier Monitoring Tools!!!</title>
        <description>&lt;p&gt;My photocopier ran out of ink. Right when we really needed it. So I came up with a hacky solution!
I wrote a Python script using Selenium and BeautifulSoup that pulls the HTML from the copier’s web dashboard and selects the ink levels. It then determines whether or not to send a text to the user based on whether or not any ink level has gone below 10%. If so, an SMS is sent using Twilio which looks like this:&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Copier ink is [LOW/EMPTY] - Yel 10%, Mag 56%, Cya 2%, Bla 79%
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I run the script on a weekly cronjob on my Raspberry Pi server to alert us when new ink needs to be ordered. The script is made for Olivetti/Konica photocopiers and should work for most models made in the last few years (not sure exactly, perhaps a community made compatibility list would be good 🤣). Anyway, it works perfectly on my Olivetti MF223.
I have also written another script, soon to be published, which gets the meter readings from the copier and automatically emails the copier maintenance/leasing company, which will run on a monthly cronjob.
The repo is here: &lt;a href=&quot;https://github.com/tramcrazy/Ink-Monitor&quot;&gt;Ink-Monitor&lt;/a&gt;
Let me know if you would like a more detailed code breakdown/runthrough - I’ll see what I can put together for the &lt;a href=&quot;https://youtube.com/@tramcrazy&quot;&gt;YouTube channel&lt;/a&gt;. Do leave your thoughts/experiences with hacky printer scripts in the comments, I’d be interested to hear if you’ve done anything similar.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;P.S sorry for not posting for ages on here, I’ve been busy and have somewhat (very much) neglected this blog, and for that matter, the &lt;a href=&quot;https://youtube.com/@tramcrazy&quot;&gt;YT channel&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 10 Aug 2023 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/python/tech/linux/2023/08/10/copier.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/python/tech/linux/2023/08/10/copier.html</guid>
        
        <category>olivetti</category>
        
        <category>konicaminolta</category>
        
        
        <category>python</category>
        
        <category>tech</category>
        
        <category>linux</category>
        
      </item>
    
      <item>
        <title>Support Ukraine&apos;s independence with a badge</title>
        <description>&lt;p&gt;In response to the ongoing situation in Ukraine, I’ve created a badge which you can embed in your GitHub READMEs or any website or markdown page. The badge is simple, and states that you support the independence of Ukraine. It links to the British Red Cross’s Ukraine appeal. The badge looks like this:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://donate.redcross.org.uk/appeal/ukraine-crisis-appeal&quot; alt=&quot;I support Ukraine&apos;s independence&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/I%20support-Ukraine&apos;s%20independence-yellow?labelColor=005bbb&amp;amp;color=ffd500&amp;amp;style=flat&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can find more information, and embed it in your own site, at &lt;a href=&quot;https://ukraine.tramcrazy.com&quot;&gt;https://ukraine.tramcrazy.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Stay safe.&lt;/p&gt;
</description>
        <pubDate>Sun, 06 Mar 2022 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/others/tech/2022/03/06/ukraine.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/others/tech/2022/03/06/ukraine.html</guid>
        
        <category>ukraine</category>
        
        
        <category>others</category>
        
        <category>tech</category>
        
      </item>
    
      <item>
        <title>My Dev Setup - FT. Windows 11</title>
        <description>&lt;h1 id=&quot;my-dev-setup&quot;&gt;My Dev Setup&lt;/h1&gt;
&lt;p&gt;I’ve been using Windows 11 on my PC since its general release on Tuesday, and I’m really enjoying it so far.
Here are some of my thoughts:
I definitely prefer it to Windows 10 - the UI is great.
There aren’t really any new dev features.
I am really enjoying the dark theme.&lt;/p&gt;
&lt;h2 id=&quot;how-i-code&quot;&gt;How I code&lt;/h2&gt;
&lt;p&gt;I use VS Code (the Windows version) on my PC, and I do most of my development through Windows Subsystem for Linux (I run Ubuntu). WSL works really well for my needs and the integration with Windows is amazing. Not to mention the integration with VS Code… I’m really enjoying my new development workflow and I’m loving Windows 11! Ask me any questions in the comments below.&lt;/p&gt;
</description>
        <pubDate>Sat, 09 Oct 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/pc/tech/2021/10/09/devsetup.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/pc/tech/2021/10/09/devsetup.html</guid>
        
        <category>software</category>
        
        <category>windows11</category>
        
        <category>wsl</category>
        
        
        <category>pc</category>
        
        <category>tech</category>
        
      </item>
    
      <item>
        <title>My PC Build</title>
        <description>&lt;h1 id=&quot;my-pc-build&quot;&gt;My PC Build&lt;/h1&gt;
&lt;p&gt;It finally happened… I got my PC. It’s a custom build with a Ryzen 7 3700X, 16GB of Crucial Ballistix 3200MHz RGB, a Geforce GT 1030, and a 2TB NVMe SSD. It’s running super well so far, and I should be able to do loads more dev work on it. Just got to get back to the coding…&lt;/p&gt;
</description>
        <pubDate>Sat, 18 Sep 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/pc/tech/2021/09/18/mypc.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/pc/tech/2021/09/18/mypc.html</guid>
        
        <category>hardware</category>
        
        <category>custom</category>
        
        
        <category>pc</category>
        
        <category>tech</category>
        
      </item>
    
      <item>
        <title>Launched: My podcast, The Tramcrazy Show</title>
        <description>&lt;p&gt;I just launched my podcast, The Tramcrazy Show. It’s a regular roundup of all things technology, featuring makes, projects, tech news and much more! The distribution hasn’t finished happening yet, butn it’ll be available soon wherever you get your podcasts. For now, you can listen on &lt;a href=&quot;https://anchor.fm/tramcrazy&quot;&gt;Anchor&lt;/a&gt; or &lt;a href=&quot;https://open.spotify.com/show/42xwacQM9b0SA0iv2ZcZJ3&quot;&gt;Spotify&lt;/a&gt;. I hope you enjoy the show - I’ll post here whenever I publish new episodes.&lt;/p&gt;
</description>
        <pubDate>Thu, 29 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/podcast/2021/07/29/podcast.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/podcast/2021/07/29/podcast.html</guid>
        
        <category>podcast</category>
        
        <category>technology</category>
        
        
        <category>podcast</category>
        
      </item>
    
      <item>
        <title>A journey in free commenting</title>
        <description>&lt;h1 id=&quot;tldr-get-utterances-its-awesome&quot;&gt;TL;DR: Get &lt;a href=&quot;https://utteranc.es&quot;&gt;Utterances&lt;/a&gt;, it’s awesome.&lt;/h1&gt;
&lt;p&gt;When I started this blog, I wanted an easy way for my readers to share their thoughts on the blog and the articles I write, as well as interacting with me.
I started by installing &lt;a href=&quot;https://disqus.com&quot;&gt;Disqus&lt;/a&gt; onto the blog, and this seemed to work well. That was until I realised about the ads. As I was on the free plan, Disqus was showing tonnes of ads to my readers, which interfered with the commenting and reading experience. There were also numerous other issues for me.&lt;/p&gt;

&lt;p&gt;Because of this, I moved to Hyvor Talk. At first, this seemed like a great alternative to Discord, with an even nicer UI. That was until I realised I was on the free trial of the service - which was actually paid. When the free trial came to an end, potential commenters were greeted with an old-fashioned widget informing them that commenting was temporarily unavailable. This probably put users off coming back later to comment.&lt;/p&gt;

&lt;p&gt;Today, I have changed my commenting system again. This time, it’s &lt;a href=&quot;https://utteranc.es&quot;&gt;Utterances&lt;/a&gt;, a simple and clean system based around GitHub Issues. You’ll need a GitHub account to use the new system, but hopefully it should make commenting easier and more user-friendly. You’ll also have to authorise Utterances to access your account, but their code is open - &lt;a href=&quot;https://github.com/utterance/utterances/&quot;&gt;https://github.com/utterance/utterances/&lt;/a&gt;. You can also check their privacy policy - &lt;a href=&quot;https://github.com/utterance/utterances/blob/master/PRIVACY-POLICY.md&quot;&gt;https://github.com/utterance/utterances/blob/master/PRIVACY-POLICY.md&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Why not try commenting with the new system? You can even react to other people’s messages!&lt;/p&gt;
</description>
        <pubDate>Thu, 22 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/tech/others/2021/07/22/commenting.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/tech/others/2021/07/22/commenting.html</guid>
        
        <category>utterances</category>
        
        <category>commenting</category>
        
        <category>devlog</category>
        
        
        <category>tech</category>
        
        <category>others</category>
        
      </item>
    
      <item>
        <title>My thoughts on TryHackMe&apos;s awesome Pre-Security Path</title>
        <description>&lt;p&gt;&lt;img src=&quot;/static/img/THMlogo.png&quot; alt=&quot;TryHackMe logo&quot; /&gt;&lt;/p&gt;
&lt;h2 id=&quot;introduction&quot;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;I’ve been using the cybersecurity learning platform TryHackMe for about 7 months now, and it’s been a great way to learn new skills, in a gamified environment with a friendly amount of competition. TryHackMe’s ‘rooms’ (small course modules) cover a wide range of content, from lock-picking to authentication attacks!&lt;/p&gt;
&lt;h2 id=&quot;the-learning-path&quot;&gt;The learning path&lt;/h2&gt;
&lt;p&gt;TryHackMe have numerous ‘paths’ (sequences of linked rooms which cover similar topics and give you a good understanding of topic areas). These include offensive pentesting, and a beginner’s path, amongst others. However, I was very excited to find out that TryHackMe had recently published a brand new Pre-Security path, covering everything you need to know before you start working on security topics.
The path covers networking, web, Linux, and Windows, four key areas which give you a good foundational knowledge that you need to approach other areas of content on the TryHackMe (THM) platform. I enrolled in this path, and have successfully completed it - it was a wonderful learning experience.&lt;/p&gt;
&lt;h3 id=&quot;network-fundamentals&quot;&gt;Network Fundamentals&lt;/h3&gt;
&lt;p&gt;This section covers basic principles like what networking is, local area networks, the OSI model, packets and frames, and extending your network. This section of the path gave me a good refresher on networking topics, and taught me some new things in a fun, interesting way. It even included some games along the way! It made what is sometimes a dry topic really interesting and enjoyable to learn about.&lt;/p&gt;
&lt;h3 id=&quot;how-the-web-works&quot;&gt;How The Web Works&lt;/h3&gt;
&lt;p&gt;This section takes you through DNS (how your computer finds servers based on their domain name), HTTP (how your computer fetches webpages), how websites work, and it also puts all these areas together to give an overall outline of web technologies. This section really filled in the gaps for me, and gave me a more detailed understanidng of technologies, but from a beginner’s perspective, it would be an easy way to get up to scratch on some very important areas.&lt;/p&gt;
&lt;h3 id=&quot;linux-fundamentals&quot;&gt;Linux Fundamentals&lt;/h3&gt;
&lt;p&gt;This section, consisting of 3 interactive rooms where you connect remotely to a live Linux machine, covers basic Linux commands and the different features of the operating system. It shows you common Linux practices, while not being boring or spending too long on each area. By the end of the section, you’ll have a great understanding of the Linux command line, and you’ll easily be able to navigate any Linux system you encounter.&lt;/p&gt;
&lt;h3 id=&quot;windows-fundamentals&quot;&gt;Windows Fundamentals&lt;/h3&gt;
&lt;p&gt;The Windows Fundamentals section consists of 2 modules which get you to view and control a Windows Server machine. You learn about the desktop, the file system, the control panel, configuration, the registry and many more advanced topics, whilst still being easy to learn for any beginner. Through this section, you’ll become a real power user of the Windows OS, and unlock advanced features to help you take control of your computer.&lt;/p&gt;
&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;I found this path really enjoyable, and I’d highly recommend checking out TryHackMe if you haven’t already - their website is &lt;a href=&quot;https://tryhackme.com&quot;&gt;here&lt;/a&gt;. You can find and enroll in the Pre-Security path &lt;a href=&quot;https://tryhackme.com/path/outline/presecurity&quot;&gt;here&lt;/a&gt; - you should definitely complete this before anything else on the platform. Also, TryHackMe have an amazing promotion running until 15th July, where if you complete Pre-Security rooms, you gain randomised tickets which can be used to redeem amazing prizes. &lt;a href=&quot;https://tryhackme.com/signup?referrer=c42c3449c5104cf3af8f7e1c6f0b21a264e6071f&quot;&gt;Sign up for TryHackMe now!&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Mon, 05 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/linux/security/2021/07/05/thmpath.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/linux/security/2021/07/05/thmpath.html</guid>
        
        <category>tryhackme</category>
        
        <category>security</category>
        
        <category>learning</category>
        
        <category>linux</category>
        
        
        <category>linux</category>
        
        <category>security</category>
        
      </item>
    
      <item>
        <title>Incoming: PC Build!</title>
        <description>&lt;h1 id=&quot;pc-build-incoming&quot;&gt;PC Build: Incoming!&lt;/h1&gt;
&lt;p&gt;I’m excited to be building my friend’s PC with him very soon. I’ll probably be posting one or more blogs on here about the process, to show you how to build one, and to dispel any fears you might have about the process. The build’s key parts are a Ryzen 5 3600 and a GTX 1650. Also, I will probably post some kind of video on my &lt;a href=&quot;https://www.youtube.com/channel/UCNuvoZRyC_wwBqYBrh4K1Xw&quot;&gt;YouTube&lt;/a&gt;; this will probably be a compilation of a few clips of the most exciting stages! Stay tuned for more, coming soon, and let me know what kind of content you want to see on this blog - I’m considering a Python tutorial…
~tramcrazy&lt;/p&gt;
</description>
        <pubDate>Fri, 25 Jun 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/pc/tech/2021/06/25/pcbuild.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/pc/tech/2021/06/25/pcbuild.html</guid>
        
        <category>pc</category>
        
        <category>computers</category>
        
        <category>tech</category>
        
        <category>diy</category>
        
        
        <category>pc</category>
        
        <category>tech</category>
        
      </item>
    
      <item>
        <title>Welcome</title>
        <description>&lt;h1 id=&quot;welcome&quot;&gt;Welcome&lt;/h1&gt;
&lt;p&gt;Welcome to my blog! I’ve had a few blogs before but this is the latest and greatest version. I’ll be posting more soon, but why not &lt;a href=&quot;https://linktr.ee/tramcrazy&quot;&gt;check out my profiles&lt;/a&gt;? Stay tuned!&lt;/p&gt;
</description>
        <pubDate>Sun, 13 Jun 2021 00:00:00 +0000</pubDate>
        <link>https://tramcrazy.com/others/2021/06/13/welcome.html</link>
        <guid isPermaLink="true">https://tramcrazy.com/others/2021/06/13/welcome.html</guid>
        
        <category>welcome</category>
        
        
        <category>others</category>
        
      </item>
    
  </channel>
</rss>
