Skip to content

David Costello

dmcostello.com

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

Code Scraps

Code Scraps: Symbolic Links on Windows; Junctions and Hard Links

24th September 2017 @davidcostello42

Did you know Windows can do its own equivalent of Linux Symbolic Links? It’s been able to do them for quite a while, but it’s not something a lot of […]

 Code Scraps, Computing  Command Line, Programming, Windows  Leave a comment

Code Scraps: Hide system MySQL databases from phpMyAdmin listings

20th September 201720th September 2017 @davidcostello42

Here’s a quick code scrap to hide the system MySQL and phpMyAdmin databases from being listed within the web application itself. Open your phpMyAdmin’s config.ini.php file and locate the end […]

 Code Scraps  MySQL, PHP, phpMyAdmin, Programming  Leave a comment

Code Scraps; Validating undefined and null in Javascript

1st August 20171st August 2017 @davidcostello42

I’m always forgetting how to to this in Javascript – here’s a couple of ways of validating if an object is undefined or null, and the good points about using […]

 Code Scraps, Programming  Data, Javascript, JSON, Programming, Validation  Leave a comment

Code Scraps: Passing a parameter from Maven to TeamCity

19th July 201720th July 2017 @davidcostello42

I’ve spent a lot of my working career setting up build automation for teams I have worked with. For Java projects, this usually has involved creating Maven scripting for a […]

 Code Scraps, Programming  CI, Continuous Integration, Java, Maven, Programming, TeamCity  Leave a comment

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

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

Posts navigation

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