short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
| #!/usr/local/bin/node | |
| # written by Josh Meekhof | |
| var fs = require("fs"); | |
| var content = fs.readFileSync("schema.json"); | |
| var schema = JSON.parse(content); | |
| var vertextT = []; | |
| var edgeT = []; | |
| const joiner = (acc, val) => acc + (val + "\n"); |
| #!/bin/sh | |
| # add mkdocs to git repository | |
| if [ $# -eq 0 ] | |
| then | |
| echo "No arguments supplied. Exiting." | |
| exit 1 | |
| fi | |
| if [ -d $1 ] | |
| then |
| conda create -n transformers python=3 | |
| conda activate transformers | |
| conda install -c huggingface transformers |
short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
I wanted to test FFT on the Raspberry Pi Pico so I could create a real-time spectrum analizer using an LED strip. I have used MicroPython and Thonny for everything up until now. But FFT is only implemented in C for performance reasons. So to get started I had to install the Raspberry Pi Pico SDK on my Mac running Montery.
The Raspbery Pi Pico SDK code is here:
https://github.com/raspberrypi/pico-sdk
I installed it but the examples did not run because brew didn't support the EABI GCC
| # short UNIX shell prompt | |
| PS1='%2~ %\$ ' | |
| # alias to open visual studio code using the workspace | |
| alias ovs='open -a "Visual Studio Code" *.code-workspace | |
| # all the steps to publish content | |
| alias pc='clear;git pull;git add *; git commit -m "updating content"; git push; mkdocs gh-deploy;' |
| site | |
| .DS_Store | |
| ~$* |
| #!/bin/sh | |
| # get the parameter | |
| echo "working on" "$1" | |
| rm -r /tmp/big-images 2> /dev/null | |
| mkdir /tmp/big-images | |
| # copy the ppt file to /tmp | |
| cp "$1" /tmp/big-images | |
| # rename it to be .zip | |
| mv "/tmp/big-images/$1" "/tmp/big-images/$1.zip" | |
| # unzip it |