Kev's Site
  • Home
  • Games
  • Categories
  • Tags
  • About

Useful VS Code Keyboard Combinations

April 27, 2020

These are a bunch of VS Code editing keyboard combinations that I find useful, but often struggle to recall. I’ll add more as I discover (and need) more editing features… Multi line select and edit. Highlight some text then use the keyboard combination below to select for simultaneous editing. MacOS: Shift + Cmd + L Windows / Linux: Shift + Ctrl + L Select cursor on mutliple lines Select a block of multiple lines.
Read More

ESP8266 MacOS Arduino IDE Setup

September 9, 2018

ESP8266 MacOS Arduino IDE Setup
Read More

Arduino power consumption - Delay vs Sleep

January 15, 2017

Arduino Power consumption measurements between Delay and Sleep
Read More

Using cheap arduino clones with macOS Sierra

December 6, 2016 (Last modified on February 15, 2020)

Update - Feb 2020 These instructions are no longer required for macOS Mojave 10.14 or later. Updating to the latest macOS version should be enough to make Nanos based on CH340G chipset work. In fact, installing these drivers on macOS Mojave 10.14 or later could cause OS issues! Original Post I recently bought some really cheap Arduino Nanos. These were based on the CH340G chipset. Unfortunately, when I loaded the Arduino editor and tried to push code onto one of them, I discovered that there was no USB serial driver available to select.
Read More

Useful Docker Commands

December 2, 2016

These are a bunch of docker commands that I find useful for keeping things tidy. Remove all orphaned images. These are the images tagged as <none>. docker images -q --filter "dangling=true" | xargs docker rmi Delete/remove all stopped containers. Note that -v option; it will also delete any persistent volumes that belong to the stopped containers. docker ps -aq --filter "status=exited" | xargs docker rm -v && docker ps -aq --filter "status=created"
Read More

Seamless audio looping in html5 JavaScript

November 22, 2015

For my latest javascript/threejs experiment I created a retro 1980’s inspired demo, which renders hundreds of sprites in a pseudo 3D style that was common in the Atari ST and Amiga demos of the late 80’s. Of course, no retro demo would be complete without a retro soundtrack. For my Retro Particle Demo this would be a short track that loops continuously. My initial attempt used the html5 audio tag: <audio id="demomusic" src="audio/music.
Read More

JavaScript KeyCodes

May 29, 2015

Online JavaScript keycode lookup utility
Read More

Emulators written in JavaScript

April 18, 2015

A list of machine emulators completely written in JavaScript that I find to be both impressive and interesting. Writing an emulator in any language is difficult and requires some serious programming chops. But to do it in JavaScript must surely require a level of programming genius (or maybe madness - I hear it’s a fine line!) that us mere mortals can only dream of aspiring to. These are my favourites that I’ve stumbled across, catalogued here so I can easily find them again whenever I feel the need for a retro computing fix…
Read More

More adventures in JavaScript

December 27, 2014

/img/lightcycles.png
The classic zx spectrum game lightcycles recreated in JavaScript that runs in the browser.
Read More

Github vs Bitbucket

October 8, 2013

By far the most popular source control system in use today is Git. It was only about 6 months ago I made the switch from subversion for my personal code projects, and the only regret I have is that I didn’t do it earlier!

I’m lucky enough to experience code management at both ends of the spectrum. In my spare time I tinker with personal projects (some public but mostly private stuff). At work ‘enterprise’ would definitely be an appropriate description of our source code management.

With the advent of cloud computing, source control can no longer be kept neatly behind corporate firewalls.Of course you could stick a Subversion server or Git repository in your DMZ, but really, the correct answer is hosting.

There are many source-code hosting providers to choose from, but in this post I’m going to look at the two most popular Git hosting solutions: Github and Bitbucket.

Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

 © 2009 - 2025 Kevin Ellis