-
Continue reading →: Securing Apache Tomcat (Raspberry Pi)With the Raspberry Pi running Apache Tomcat it is time to secure it. HTTP (non-secure) traffic may be okay for a closed home/test environment but for a work/production environment HTTPS (secure) should be used. To show how to turn HTTPS on for Tomcat I will be using a self-signed certificate. If…
-
Continue reading →: Installing Apache Tomcat / Jenkins (Raspberry Pi)Previously I have looked at Flask (Python) and Django (Python) web servers running on the Raspberry Pi. Today I am going to look at Apache Tomcat, a web server which is more geared towards running Java based applications. I’m currently looking at Java and so will be using the JDK…
-
Continue reading →: Check For A File And Then Move It (Python)Imagine that you have a folder that you periodically check for a file (i.e. a network share where colleagues drop a file throughout the day) and when the file exists you have to move it and log when it was moved. I’m looking to tackle this today using Python. I’ve…
-
Continue reading →: Web Scraping: More Selenium & Ways To Interact With Websites (Python)Yesterday I introduced Selenium to my web scraping fun, see here: https://geektechstuff.com/2019/05/07/web-scraping-introducing-selenium-python/ if you missed it. Today I am going to use Selenium to interact with a website by: Opening a webpage Logging in Retrieving information from the page As much as I’ve enjoyed using Wikipedia in my previous examples…
-
Continue reading →: Web Scraping: Introducing Selenium (Python)So far I have used Python with the requests library and beautifulsoup library. This had allowed me to GET and POST requests to web servers, and to parse results back in a more friendly way. Now I’m going to introduce Selenium. Selenium allows Python to interact with webpages by opening…
-
Continue reading →: Web Scraping: Interacting With Web Pages (Python)So far I have been scraping my website for a list of the divs, links and pictures that it contains, however I also want to interact with my site. Back in part 1 I briefly wrote about the GET command that is used when asking for data from a web…
-
Continue reading →: Language Foundations / Logical Operators (C)Continuing on with learning C, I have recently completed the C: Language Foundations course via edX in conjunction with Dartmouth and IMT. C: Language Foundations has the following learning outcomes: Use logical conditions to control the flow of a program via branch statements (if-else), repetition (for or while loop) and…
-
Continue reading →: Web Scraping Part 2 (Python)Continuing on from Web Scraping Part 1. In this part I’m going to look at collecting the hyperlinks on a page. I have uploaded my work in Python to my GitHub, so that code examples are easier to follow: https://github.com/geektechdude/Python_Web_Scrapper def find_links(URL_INPUT): # returns all the hyperlink destinations…
-
Continue reading →: Web Scraping Part 1 (Python)Web scraping can be a very useful way to extract data from websites but for anyone that has only viewed the web with a browser they can seem like magic. For example, here is http://www.geektechstuff.com viewed via a web browser: And here is http://www.geektechstuff.com when the HTML is read by…
-
Continue reading →: Variables (C)Following on from https://geektechstuff.com/2019/02/25/hello-world-c/, I have continued to work on learning C by enrolling on the EdX course “C Programming: Getting Started” in conjunction with Dartmouth and IMT. The syllabus for C Programming: Getting Started includes: Define, distinguish and give examples of hardware/software, computer programs/algorithms Explain the concept of a…


