Blog - page 12

08 May 2017

Using lighten() and darken() in SASS

CSS Dev

Until recently I didn’t know about the lighten() and darken() functions in SASS. I’ve since found them to be increasingly useful in my component building workflow. As the names suggest, given a colour and percentage, these functions will return a colour lighter or darker respectively.

11 Apr 2017

H.View PoE IP Camera: Synology NAS compatible camera for under £40

Reviews

The eagle-eyed reader of this blog will have noticed that reviews are not typical for falkus.co. When I was considering purchasing the H.View camera I could only find reviews and guides for more popular brands (your Canon/D-Link/FOSCAM etc), but nothing for the cheap-and-hopefully-cheerful H.View. I'm aiming to fill that gap. This post is a brief overview of the power over ethernet IP camera, how I went about setting it up with my NAS and my general impressions of an IP camera that costs less than £40.

23 Jan 2017

Aligning Text in Vim

Dev SysAdmin Vim

Did you know you can center align text in vim? From a visual selection, run :center. This aligns the text on the assumption that the width of the document is textwidth, or 80 characters by default. You can also manually set the range by running :center N, where N is the total width of the line.

25 Nov 2016

Client Friendly Images On WordPress

Dev WordPress

This post introduces some considerations and techniques for handling images within WordPress. This is particularly useful if you are building a website that will be handed over to a client who will then maintain the content with no further involvement from you, the developer.

25 Oct 2016

Identical SQL Queries != Identical Results

Dev MySQL SysAdmin

You would expect identical SQL queries, running against the same database at the same time to give the same results, right? Well, it turns out that such an impossibility can occur. Alas, this wasn’t some easter egg or heisenbug hidden in MySQL, the issue turned out to be perfectly sane. This is how the confusion unfolded…

10 11 12 13 14