Skip to content

David Costello

dmcostello.com

  • Home
  • About
  • Articles
    • Internet
    • Programming
    • Uncategorised
  • Projects
  • Resources
    • Downloads
    • Links
  • Contact

Programming

Code Scraps: Get a list of all file content in a directory in Linux

19th July 201725th July 2017 @davidcostello42

This is a quick code scrap – I needed a list of all the files within a directory path on a Linux server today. I need to do this infrequently […]

 Code Scraps  Bash, Linux  1 Comment

Code Scraps: Command Line manual logging

4th July 201720th July 2017 @davidcostello42

I have a collection of eBooks that I’ve bought over the years, and thanks to sites like HumbleBundle, my collection is growing on a fairly regular basis. I keep them […]

 Code Scraps, Computing, Programming  Batch Scripts, Command Line, Entertainment, Programming, Security  Leave a comment

Code Scraps: Allow root to login via SSH

5th June 20172nd February 2018 @davidcostello42

Most modern Linux systems will prevent the root user from logging in remotely via SSH. This is a very good security practice and you should avoid altering this as it […]

 Code Scraps, Computing, Programming, Security  Bash, Linux, Security, Shell  Leave a comment

Forgotten your MySQL root password? No problem!

6th May 201715th September 2017 @davidcostello42

I recently forgot the root password to a MySQL instance on one of my machines. Follow this quick and easy guide for whenever this happens to you. Stop MySQL sudo […]

 Programming, Security  Command Line, MySQL, Programming, Security, SQL  Leave a comment

Let’s Encrypt for Apache on the Raspberry Pi

4th May 20172nd January 2018 @davidcostello42

Over the past six months I have had all sorts of issues with SSL on my home server powered by a Raspberry Pi. Originally I was using a free Class 1 […]

 Internet, Programming, Security  Programming, Raspberry Pi, Security, SSL  Leave a comment

Summertime/DST in programming; Do’s and Dont’s

14th March 20178th September 2017 @davidcostello42

There has been some fantastic examples over the years of companies getting things wrong with Daylight Savings changes. Probably the most notorious has to be the iPhone and how for […]

 Programming  C#, Dates, DateTimes, Java, Programming, Rants, Time  Leave a comment

Code Scraps: Random unique colour generation

18th November 201615th September 2017 @davidcostello42

I have worked on a number of social projects over the years which have involved message boards or social posting features by users.  On some websites like Microsoft’s message boards or StackOverflow […]

 Code Scraps, Programming  Data, Data Formatting, PHP, Programming, Random  Leave a comment

Code Scraps: Word list tidying

8th October 201615th September 2017 @davidcostello42

I have recently been messing around with dictionary lists for a little personal project. My goal has to been to make an anagram/word finder, where you provide up to 9 letters […]

 Code Scraps  Data, Data Formatting, Programming  Leave a comment

Is GIT really a better choice than SVN?

6th October 201615th September 2017 @davidcostello42

First of all, I should point out I actually like GIT. That’s important to state as this article may seem very negative. What follows is a semi-rant about how GIT […]

 Internet, Programming, Security  Enterprise, GIT, Programming, Security, Source Control, SVN  Leave a comment

Basic configuration for iptables (suitable for Raspberry Pi)

25th September 201615th September 2017 @davidcostello42

This is just a quick post for my own personal benefit to remind me what commands to use when setting up iptables rules. If you want to configure a firewall […]

 Programming, Security  Command Line, Firewall, Linux, Raspberry Pi  4 Comments

Posts navigation

← Older posts
Newer posts →

Search

Archives

  • January 2021
  • October 2020
  • March 2019
  • January 2019
  • December 2018
  • October 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • June 2014
Proudly powered by WordPress | Theme: Moesia by aThemes