Skip to content
ict-man logo

ict-man.me

Adventures in Technology

 Menu
  • Home
  • C# Library
  • About Me
  • Home
  • C# Library
  • About Me
Screenshot of CCS Editor in a WordPress Widget
  • Coding

Using CodeMirror CSS Editor in a WordPress Widget

  • David
  • 24 Jan 202116 Aug 2021

WordPress uses CodeMirror for the CSS editor within its Customiser. CodeMirror provides support for syntax highlighting, linting, and code competition. Would it not be great to be able to use that in your own Widget? >>> This article has been updated following the release of WordPress 5.8. WordPress 5.8 introduced the block editor to widget areas. Traditional widgets were still…

Blue whale Docker logo
  • Coding

Windows Docker Container with PHP, Apache and MariaDB

  • David
  • 11 Jan 202111 Jan 2021

The new year saw me refreshing one of my popular development stacks. My main system is Windows 10 (2004) and for some project work, I use Docker to enable the use of specific versions of PHP with MariaDB and Apache. I decided to update one of my stacks to more recent versions, including an updated docker base image. For this…

Howards Camera Eye from Infinity Chamber
  • Entertainment

Infinity Chamber – Film

  • David
  • 28 Dec 202028 Dec 2020

Infinity Chamber is an excellent independent Sci-Fi film in the great dystopian traditional of man versus machine.  In this case, it is a take on AI where the main protagonist, Frank, is detained in a fully automated prison. Set within Frank’s cell he engages with the AI persona, known as Howard, who is Frank’s Life Support Officer.  Frank is not…

WordPress W Logo
  • General

The Impressive Success of WordPress

  • David
  • 14 Dec 202021 Dec 2020

Did you know that WordPress is said to be powering over a third of the web? WordPress’ domain (pun intended) over how content is managed, organised and displayed to web users is impressive.  According to w3techs.com in November 2020, its success was highlighted with 39% of the top 10 million web sites they monitor were all using WordPress.  Let that…

PHP 8 Logo
  • Coding

Named Arguments and Union Types in PHP 8.0

  • David
  • 2 Dec 202016 Dec 2020

I am itching to get my hands dirty on PHP 8.0 that was released last week.  Unfortunately, I cannot make the big jump immediately but there are some language improvements that I am looking forward to using.  New to PHP 8 are Named Arguments and Union Types. Named Arguments As an example, function htmlspecialchars only requires the first parameter.  The…

Posts navigation

1 2 3

Recent Posts

Screenshot of CCS Editor in a WordPress WidgetC# LogoC# LogoC# LogoScreenshot of CCS Editor in a WordPress WidgetBlue whale Docker logoHowards Camera Eye from Infinity ChamberWordPress W LogoPHP 8 Logo
Screenshot of CCS Editor in a WordPress Widget
CodeMirror in a WordPress Widget – Update
In January I blogged how to create a WordPress widget that uses CodeMirror for editing CSS.  Last month WordPress 5.8 was released.  This changed the way traditional/existing widgets are rendered...
Unit Testing Private Methods
Should we be unit testing private methods? Good practice says no. Are there reasons why having this ability in our toolbox is desirable?
C# Logo
C# Nulls – Part 3 – Null Coalescing and Conditional
In Part 2 we covered the enabling C#’s nullable option to subtly change how we handle reference types.  Once enabled reference types are by default no longer [expected] to be...
C# Logo
C# Nulls – Part 2 – Nullable Reference Types
What Are Nullable Reference Types? In Part 1 I dove into various improvements with the C# language in relation to null handling and new operators. In this part, I am...
C# Logo
C# Null; Nullable; Null Operators; Null-Coalescing – Part 1
The C# language has developed to include a better toolset and compiler warnings. Thus, assisting development in producing null-safer code with a more robust approach.
Screenshot of CCS Editor in a WordPress Widget
Using CodeMirror CSS Editor in a WordPress Widget
WordPress uses CodeMirror for the CSS editor within its Customiser. CodeMirror provides support for syntax highlighting, linting, and code competition. Would it not be great to be able to use...
Blue whale Docker logo
Windows Docker Container with PHP, Apache and MariaDB
The new year saw me refreshing one of my popular development stacks. My main system is Windows 10 (2004) and for some project work, I use Docker to enable the...
Howards Camera Eye from Infinity Chamber
Infinity Chamber – Film
Infinity Chamber is an excellent independent Sci-Fi film in the great dystopian traditional of man versus machine.  In this case, it is a take on AI where the main protagonist,...
WordPress W Logo
The Impressive Success of WordPress
Did you know that WordPress is said to be powering over a third of the web? WordPress’ domain (pun intended) over how content is managed, organised and displayed to web...
PHP 8 Logo
Named Arguments and Union Types in PHP 8.0
I am itching to get my hands dirty on PHP 8.0 that was released last week.  Unfortunately, I cannot make the big jump immediately but there are some language improvements...
David at Whitby Brewery

Hi, I’m David Pullin, a professional software developer with a love of coding and crafting ICT solutions...more...

© ict-man.me 2020

  • Cookie Policy

Masonry Blog, WordPress theme by Perfectwpthemes