Skip to content

Instantly share code, notes, and snippets.

@yorkshire-pudding
yorkshire-pudding / audio-book-reader.md
Created February 14, 2024 16:07 — forked from wkjagt/audio-book-reader.md
How I built an audio book reader for my nearly blind grandfather

#How I built an audio book reader for my nearly blind grandfather

Tweet this - Follow me

Last year, when visiting my family back home in Holland, I also stopped by my grand-parents. My grand-father, now 93 years old, had always been a very active man. However, during the presceding couple of months, he'd gone almost completely blind and now spent his days sitting in a chair. Trying to think of something for him to do, I suggested he try out audio books. After finally convincing him -- he said audio books were for sad old people -- that listening to a well performed recording is actually a wonderful experience, I realized the problem of this idea.

####The problem with audio devices and the newly blind. After my first impulse to jump up and go buy him an

@yorkshire-pudding
yorkshire-pudding / php_file.php
Last active July 4, 2023 15:30 — forked from theunraveler/php_file.php
DO NOT DELETE: Testing for Gist Filter Backdrop CMS module.
<?php
echo 'Hello!';
?>
@yorkshire-pudding
yorkshire-pudding / .lando.yml
Created March 25, 2023 17:30
backdropNewSiteLando
name: ???
# Use existing Backdrop recipe, then customise below.
recipe: backdrop
config:
# Where Backdrop resides, relative to this file.
webroot: docroot
database: mariadb:10.2
php: '?.?'
backdrush: 1.x-1.x
@yorkshire-pudding
yorkshire-pudding / View_list_of_modules.json
Last active December 9, 2022 10:51
Backdrop CMS - View of all enabled modules
{
"_config_name": "views.view.list_of_modules",
"name": "list_of_modules",
"description": "List all modules installed on a site",
"tag": "default",
"disabled": false,
"base_table": "system",
"human_name": "List of modules",
"core": "1.23.1",
"display": {
@yorkshire-pudding
yorkshire-pudding / css-filter-generator-to-convert-from-black-to-target-hex-color.markdown
Created October 12, 2022 08:41
CSS filter generator to convert from black to target hex color

CSS filter generator to convert from black to target hex color

Added License 2022-07-15; this is retroactive for whatever help that is.

0-clause Free BSD License

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.[20]

@yorkshire-pudding
yorkshire-pudding / startdrop.sh
Created November 24, 2021 15:59 — forked from klonos/startdrop.sh
Create a Backdrop instance using Lando.
ISSUE=$1
PR=$2
PHP=$3
INSTALL=$4
if [[ $(basename $PWD) = "docroot" ]]; then
echo "You are already in a docroot!!! Moving up one level..."
cd ..
fi