-
Continue reading →: Programming 102 Week 4 Tasks (Python)Continuing on with Programming 102 via FutureLearn, and onto Week 4’s Tasks and Challenges. 4.5 Implementing Linear Search Task: “Have a go at implementing your own linear search function, in a way that would work on an unsorted sequence of integers.” # geektechstuff # Linear Search sequence = [‘A’,’B’,’C’,’D’] def…
-
Continue reading →: Programming 102 Week 3 Tasks (Python)Although it is still officially “week 1” of Programming 102: Think Like A Computer Scientist I’m onto week 3 as I’ve been enjoying the course and like the little programming tasks/challenges. 3.5 Implementing Bubble Sort Task: “Now you’re going to write a bubble sort program in Python” my_list = [5,9,5,8,1,3]…
-
Continue reading →: Programming 102 Week 2 Tasks (Python)This blog post continues on from my previous Programming 102 tasks/challenges. 2.5 Strings As Lists Task: “On scoreboards, sports teams are sometimes referred to using a contraction of their name, often the first three letters. Can you write some code in order to create a new list, teams_short, containing three-letter…
-
Continue reading →: Programming 102 Week 1 Challenges (Python)In originally planned to do one blog entry for all the Programming 102 course (see: https://geektechstuff.com/2019/01/21/programming-102-think-like-a-computer-scientist-python-raspberry-pi/) but due to the amount of coding tasks/challenges (which is great) I’ve going to do one for each week and possibly one for the end of week challenges. Week 1 Challenge 2: “Create a function…
-
Continue reading →: Programming 102 “Think Like A Computer Scientist” (Python / Raspberry Pi)In my approach to keep learning I’ve signed up to Programming 102: Think Like A Computer Scientist” via FutureLearn and the Raspberry Pi Foundation. The course is available for free (or for a small fee to have a certificate) at: https://www.futurelearn.com/courses/programming-102-think-like-a-computer-scientist/ I’m using this blog post to post my code…
-
Continue reading →: Creating A Virtual Python Environment (Python)One of the issues I’ve hit when using Python is that sometimes a certain version of a Python module/library is needed and conflicts can arise. So if you are like me and fire up PIP to play with modules/libraries you probably have lots of them installed in the Global Python…
-
Continue reading →: Network Boot Pi (Raspberry Pi)Continuing my current Raspberry Pi themed posts (making a BASH script executable, installing web server in a BASH script) today I will be looking at network booting a Raspberry Pi. For this exercise I’m using Debian Stretch with Raspberry Pi Desktop, available from https://www.raspberrypi.org/downloads/raspberry-pi-desktop/ , running in a virtual machine.…
-
Continue reading →: Installing Web Server and WordPress via a BASH script (Rasbperry Pi)Imagine this scenario; you have several Raspberry Pi computers and want to install the various packages (Apache, PHP, MySQL, WordPress) needed to make them web servers. This might be because you have a Code Club lesson where you want students to interact more with how web servers work, or if…
-
Continue reading →: Making a BASH script executable (Raspberry Pi)
There were often times when I found myself typing the same commands into the terminal on my Raspberry Pi and I with my knowledge of scheduling Python (.py) files to run via CRON I decided to start running my regular terminal commands as scripts. A BASH executable script is basically…
-
Continue reading →: Kali Linux – Reaver / WPS Cracking (Raspberry Pi)
Before proceeding I need to make this very clear: DO NOT USE THE BELOW INFORMATION TO ATTACK, MONITOR OR BREAK INTO ANY COMPUTER / NETWORK / DEVICE THAT DOES NOT BELONG TO YOU. I TAKE NO RESPONSIBILITY FOR YOUR ACTIONS. Sorry, I know that may seem very heavy handed but…



You must be logged in to post a comment.