Category Archives: Full stack

Run python scripts without password

By | February 6, 2025

I have a python program on my raspberry pi which I want to run without requiring a password. The code I want to run is as follows. To run the restart_pi() function that requires sudo privileges without prompting for a password, you can configure the sudoers file. Here’s how to do it: Use the visudo… Read More »

Controlling lifx light with raspberry pi.

By | October 7, 2024

So Jimmy Trains is develop train animations. One of the things I want to do is control lifx lights in the trains room to go to scene changes. Make sure you downgrade bitstring so the current lifxlan github project works.

axe your react

By | July 25, 2022

Accessibility Testing in React with jest-axe Introduction Accessibility in web applications is to make your web app accessible to as many people as possible, in spite of their physical, cognitive and visual abilities. Making your web apps accessible just requires you to follow some set of simple rules like using semantic HTML, using good color… Read More »

Setting a mac up for node development

By | June 17, 2022

First, install Homebrew. Then run brew update to make sure Homebrew is up to date. As a safe measure you should run brew doctor to make sure your system is ready to brew. Run the command below and follow any recommendations from brew doctor. Next, add Homebrew’s location to your $PATH in your .bash_profile or .zshrc file. Next, install Node (npm will be installed with… Read More »

Vue CLI state, routers, testing

By | April 28, 2022

In the previous post we made a simple app. Now let’s use VUE Cli to make a more advanced app with a state store, router and testing. Installation. Add the Vue CLI using the following command in your terminal. You can find more details for Vue CLI installation here Vue installation details . You can… Read More »

Getting a view of Vue.js

By | March 6, 2022

View.js is one of three popular frameworks in use today. The others are react and angular. All my previous apps were done with react. I am excited to see what Vue has to offer. This short tutorial will show you how to get a Vue app up and running from scratch. Setup To use Vue… Read More »

docker and dot net core

By | January 25, 2022

This post will be about creating a dot net core application in a docker container. This allows us to run .NetCore in linux so we don’t need a windows server. Todo this we will use docker. Docker desktop is a great tool for the mac and PC for personal use but no longer free for… Read More »

Output formatters in ASP.NET Core Web API

By | January 7, 2022

This post will be about how to implement custom output formatters for ASP.Net Core Web APIs. I needed to create custom output formatters for my spatial data model because geometry objects can contain negative/positive infinity and nan types. JSON does not support these types. GeoJson Output Formatter So I preceded to write my own output… Read More »

your datalake needs structure

By | August 10, 2021

A typical datalake contains raw data from many sources. The data can be in various forms: unstructured, semi-structured or structured. UnStrucutured TXT CSV Semi-Structured XML JSON Structured MySQL Parquet This post will be about improving your datalake by using parquet files for better downstream processing. Why use Parquet files? Structured files are preferred for data… Read More »