Blog Archives
How to create a Bash completion script
How to create a Bash completion script via /r/bash and /r/linux
Read Full Post | Make a Comment ( Comments Off on How to create a Bash completion script )Finding the longest palindromic substring
Finding the longest palindromic substring Given a string, find the longest palindromic contiguous substring. If there are more than one with the maximum length, return any one. via /r/programming and /r/compsci [reddit]
Read Full Post | Make a Comment ( Comments Off on Finding the longest palindromic substring )A fast and easy Docker tutorial for beginners
A fast and easy Docker tutorial for beginners Made these videos for my employer as a way of evangelizing Docker in the company, but thought it would be useful to the public as well. I’m still fairly new to Docker, so a lot of what I focus on in these videos were things that I […]
Read Full Post | Make a Comment ( Comments Off on A fast and easy Docker tutorial for beginners )Creating a bash completion script
Creating a bash completion script I recently worked on creating a bash completion script for a project and I enjoyed it very much. In this post I will try to familiarize you with the process of creating a bash completion script. Also discussed on /r/bash, /r/programming, /r/linux and r/commandline [redddit]
Read Full Post | Make a Comment ( Comments Off on Creating a bash completion script )It’s Time To Do CMake Right
It’s Time To Do CMake Right This post explores the concepts of what is known as modern CMake, which advocates for abandoning a traditional variable-based approach for a more structured model based on so-called targets. My intention is to show how “new” (>= 3.0.0) features can be employed to reshape your CMake system into a […]
Read Full Post | Make a Comment ( Comments Off on It’s Time To Do CMake Right )How to Write a Text Adventure in Python
How to Write a Text Adventure in Python People new to programming often ask for suggestions of what projects they should work on and a common reply is, “Write a text adventure game!” I think there are even some popular tutorials floating around that assign this as homework since I see it so much. This […]
Read Full Post | Make a Comment ( Comments Off on How to Write a Text Adventure in Python )Using Git Hooks to Improve Your Day-to-day Workflow
Using Git Hooks to Improve Your Day-to-day Workflow In this post I will expose some of the git-hooks we use in some projects here at WyeWorks to make developers life easier by preventing bad commits to even leave their computers. I will cover linting, tests and commit formating use cases. via /r/git
Read Full Post | Make a Comment ( Comments Off on Using Git Hooks to Improve Your Day-to-day Workflow )Firefox Developer Tools | Browser Toolbox
Firefox Developer Tools | Browser Toolbox The Browser Toolbox enables you to debug add-ons and the browser’s own JavaScript code rather than just web pages like the normal Toolbox. The Browser Toolbox’s context is the whole browser rather than just single page on a single tab. Also discussed here: Inspect / discover editable css with […]
Read Full Post | Make a Comment ( Comments Off on Firefox Developer Tools | Browser Toolbox )Fixing Legacy Perl Functions With Decorators
Fixing Legacy Perl Functions With Decorators Function decorators give us a way to modify a function’s behaviour without changing its source. This is useful in changing the behaviour of complex or legacy functions that you don’t want to touch. Although perl does not have a built-in syntax for creating or using decorators, typeglob manipulations are […]
Read Full Post | Make a Comment ( Comments Off on Fixing Legacy Perl Functions With Decorators )« Previous Entries Next Entries »