Docker Compose yml for WordPress

Create a new directory and save the above file inside it as docker-compose.yml Run docker-compose up -d to fetch the images from the docker hub and create your wordpress instance. You’ll be able to access wordpress from a browser on port 8000.

LEAP now has its own feed

For a couple of years I have been using this blog to post snippets about new projects in the Little Electronics & Arduino Projects (LEAP) GitHub repo.

This was mainly a way to have a project link I could use as link bait;-) … but it was also a chore I could do without!

A little while back I revised the Jekyll static web site generator that runs over the LEAP repo and is responsible (more...)

LEAP#465 Mr BiJuT

Mr BiJuT is what I’m calling my freeform realisation of a simple NPN/PNP transistor testing circuit.

This is a nifty little design that I found in the Radio and Electronics Cookbook. It is one of those circuits that is the height of simplicity but is also quite tricky in it’s own way! Whether you immediately “get” how it works depends very much on how you draw the schematic;-)

As always, all notes, schematics and code (more...)

LEAP#461 The Goblin

I remember lusting after an Ibanez Tube Screamer back in the day - they really were the stuff of legend. The most famous is perhaps the TS-808. After researching the original circuit and examining how it works in detail. I decided to build one with only a few modifications to the original circuit. I’m calling it The Goblin, owing to the custom stippled-green paint job I gave the 1590B enclosure.

As always, all notes, schematics (more...)

LEAP#460 The CANary

Wilf’s Bird is a pretty famous “bird chirp” sound effect by Wilf Rigter. I last saw it used in Kelly Heaton’s wonderful bird sculpture, a Hackaday Circuit Sculpture contest winner.

The CANary is my little experiment with the sound effect.

As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub

hero_image

LEAP#456 Pease-out Audio Voltage Probe

The Boldport Pease-out is another tribute to Bob Pease and the classic LM331. As the last of the “classic series” monthly projects, it fittingly takes us full circle to compare and contrast with first project - “Pease”.

the Boldport Club continues - just not at the harrowing pace of 1 a month for the past few years (I seriously don’t know how Saar does it!).

The standard circuit in this kit demonstrates a stable (more...)

LEAP#451 Arc Lighter

A “High Voltage Arc Kit” perhaps attracts the kind of person liable to make it go up in smoke, which is probably why this kit ships with redundant parts.

The circuit is an interesting demonstration of a step-up transformer using a feedback winding to control the main power circuit. It is the same circuit used in commercial “plasma lighters”, confirmed by another great teardown by bigclivedotcom.

As always, all notes, schematics and code are in (more...)

LEAP#449 Parrot Sound Effects

The Parrot is a reproduction of a “bird chirp” circuit I found referenced in background research materials for Kelly Heaton’s amazing bird that was one of the Hackaday Circuit Sculpture contest winners.

This circuit is an interesting combination of two LC elements - one modulating the other - around a single transistor.

As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub

hero_image

Here’s a clip from the (more...)

LEAP#447 Measuring Capacitance with Digital Logic

Capaci-meter is a Boldport remix of a classic capacitance measurement circuit designed in high school by Jez Siddons of Peak Electronic Design.

The device takes a very interesting approach - rather than trying to measure the actual capacitance or charge time, it uses a derivitive function (the capacitor’s effect on the frequency of a 555 timer) to infer capacitance.

As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo (more...)

LEAP#446 RGB Joule Thief Night Light

I recently got hold of some 5mm RGB Flashing LEDs from a seller on aliexpress - some slow and fast flashing varieties just out of curiosity. Here I’ve put one the slow-flash kind in a “night light” circuit.

I decided to power from a little 1.5V CR1216 coin cell. To boost the voltage sufficient to power the LED, I’ve attached a toroidal joule thief circuit. The oscillating voltage produced by the joule thief is (more...)

LEAP#442 Boldport ResPot

As any good electronics hobbyist must have done, I’ve already built a decade programmable resistor box - see LEAP#414 - but this is one with the Boldport twist. Yes, real pots.

A decade box is an old-fashioned bit of test equipment, allowing an arbitrary resistance to be dialed up to order.

As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub

hero_image

rclone Systemd startup mount script

rclone Rclone is a command line utility used for reading and writing to almost any type of cloud or remote storage. From Google Drive to Ceph, rclone supports almost any cloud-based remote storage platform you can think of. You can perform upload, download or synchronisation operations between local storage and remote cloud storage, or between remote storage

gitignore file for Go Projects

This is a gitignore file for a Go project to ensure temporary files and build files are not added to git repository commits. [crayon-5bbdc2270ee85958079321/]

List of Bank Holidays For England in SQL Format

First off, create a table to store the bank holiday values. You may need to adjust this slightly depending on your SQL server technology being used (this was tested on MySQL Server).  [crayon-5bb4e0b3b1755979540269/] Insert the bank holiday values below. This table is currently for 2012 up to 2019 for England and Wales.  [crayon-5bb4e0b3b175d512369946/] For a

MySQL/ MariaDB Error Code: 1329. No data – zero rows fetched, selected, or processed

The above error can occur when calling a cursor results in no rows, or no more rows if called in a loop. Whilst the error message is descriptive about what has happened physically, you may wish to catch the error so that you can do something else, or simply replace the generic database error with

How to exit from a MySQL/ MariaDB Stored Procedure/ Function Prematurely

MySQL and MariaDB enable you to define your own error conditions and to report back to the SQL client both a return code and an error message. As soon as you raise the condition then MySQL/ MariaDB will halt any further execution of the code and report the error back to the client. This can

CockroachDB systemd script

This is a simple systemd script for CockroachDB. It works for single node installations or multiple nodes, however you’ll need to manually join each node to the cluster before using the systemd script. Create the systemd file and add the following content: [crayon-5bb2054895a8d904003843/] [crayon-5bb2054895a94089396086/] If your host belongs to a cluster create a hosts file

gitignore file for Eclipse Projects

This is an example of a .gitignore file for an Eclipse project to ensure temporary files, build files and project settings are not added to repository commits. [crayon-5bae3d499e098261603457/]

How to change the listening port for PostgreSQL Database

The default TCP port for PostgreSQL is usually 5432, however this can easily be changed in the postgresql.conf configuration file, which is the main configuration file for the database server. In addition to a TCP listening port, PostgreSQL will also a local socket if the server is running in a Linux/ Unix environment. A local socket is

gitignore file for Nodejs Projects

An example gitignore file for Nodejs projects to ensure that local environment variables, build related output and modules are not committed to the git repository. [crayon-5bad139c32c17821581453/]