Posts
-
Stop GNOME "Hijacking" SSH Key Entry
Here’s the scenario: ...
-
Flags vs Constants, and Short-Long Days of the Week
Here’s an example: say we have a number (1) stored in a database table row, and we want to turn it into a human-readable day name, such as “Tuesday”. ...
-
Pilfering Gems: Testing With Timecop
This is the first in a short series of posts showing you how to cherry-pick some of the niftier things (libraries, techniques, whatever) from the Ruby world for use in your PHP work. All code examples are available here in this GitHub repo. ...
-
CTags with Vim, the Quick Version
sudo apt-get install ctags
(Debian/Ubuntu Linux), orbrew install ctags
(OS X).- In
~/.vimrc
, addset tags=tags
- Go to your project directory, and run
ctags -R
- When editing, put your cursor over a variable, method or class and hit
Ctrl-]
to jump to its definition.
-
Shoe-String Talk Recording
This is a post for people who speak at meetups, people who host meetups, and anyone who wants to get the word out about a speaker they enjoy listening to. ...
-
Parameterised Types, a Friendly Primer (Flow, TypeScript)
This is part of a short series of Flow/TypeScript posts I’m calling “Effective Types”. Posts so far:
...- Parameterised Types, a Friendly Primer (Flow, TypeScript)
- Type Wrappers with Flow (Flow)
- Phantom Types (Flow)
- Type Design (Flow; coming soonish)
-
Type Wrappers with Flow
This is part of a short series of Flow/TypeScript posts I’m calling “Effective Types”. Posts so far:
...- Parameterised Types, a Friendly Primer (Flow, TypeScript)
- Type Wrappers with Flow (Flow)
- Phantom Types (Flow)
- Type Design (Flow; coming soonish)
-
Phantom Types with Flow
This is part of a short series of Flow/TypeScript posts I’m calling “Effective Types”. Posts so far:
...- Parameterised Types, a Friendly Primer (Flow, TypeScript)
- Type Wrappers with Flow (Flow)
- Phantom Types (Flow)
- Type Design (Flow; coming soonish)
-
Fuzzing Dates with Elm-Test
Elm, with its elm-test library, allows for a property-based style of testing with its Fuzz test runner and suite of helpers. ...
-
Fuck NFTs
I said what I said. ...