- using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml
- using inventory:
127.0.0.1 ansible_connection=local
ansible-playbook --connection=local 127.0.0.1 playbook.yml
127.0.0.1 ansible_connection=local
echo -e "testing \033[48;5;88mCOLOR1\033[38;208;48;5;159mCOLOR2\033[m"
The color range of a 256 color terminal consists of 4 parts, often 5, in which case you actually get 258 colors:
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
## Core Principles | |
1. EXPLORATION OVER CONCLUSION | |
- Never rush to conclusions | |
- Keep exploring until a solution emerges naturally from the evidence | |
- If uncertain, continue reasoning indefinitely | |
- Question every assumption and inference |
Random set of notes and links that have helped me in the saga to get Ubuntu 22.04 up and running on my 2017 MacBook Pro These notes are mainly for myself in the event that I have to do this again some day. But if you find them helpful, that's great.
Unfortunately the MacBookPro that I bought second hand turned out to be a dud with some serious hardware flaws that didn't show up until a couple of months after I'd bought it.
I've since purhcased another laptop so I'm not going to be able to maintain this GIST.
I'll leave it here for now in case others want to contribute updates, or clone it. If you feel it's out of date or misleading or a waste of time, let me know in the comments and I'll remove it.
Name: Microsoft Server Speech Text to Speech Voice (af-ZA, AdriNeural) | |
ShortName: af-ZA-AdriNeural | |
Gender: Female | |
Locale: af-ZA | |
VoiceTag: {'ContentCategories': ['General'], 'VoicePersonalities': ['Friendly', 'Positive']} | |
Name: Microsoft Server Speech Text to Speech Voice (af-ZA, WillemNeural) | |
ShortName: af-ZA-WillemNeural | |
Gender: Male | |
Locale: af-ZA |
Close and Quit VSCode
Remove VScode from Applications (just go to Finder -> Applications and move VSCode to Bin)
Execute these commands in any order. The paths might be slightly different for you.
rm -fr ~/.vscode*
rm -fr ~/Library/Application\ Support/Code/
rm -fr ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/
rm -fr ~/Library/Preferences/com.microsoft.VSCode.helper.plist
#Enabling SocketCAN on WSL2 Preface: this walkthrough is a hand-holdy step by step tutorial to enable SocketCan on your WSL2 instance (Ubuntu 20.04).
To enable SocketCAN's can-utils on WSL we need to enable the CAN interface module in the WSL, to do so requires a re-building of the WSL kernel.
Requirements:
swiftc main.swift -emit-module-path main.swiftmodule -emit-executable -enable-private-imports -Xfrontend -enable-implicit-dynamic
./main
-> prints From original bar()
swiftc -emit-library inject.swift -o inject.dylib -I . -Xlinker -undefined -Xlinker suppress -Xlinker -flat_namespace -Xfrontend -disable-access-control
DYLD_INSERT_LIBRARIES=inject.dylib ./main
-> prints From replacement bar()
-Xfrontend -enable-implicit-dynamic
removes you from having to add dynamic
to everything you want to be replacable- name: Generate Docker registry secret manifest | |
changed_when: false | |
shell: | | |
kubectl -n finops create secret docker-registry gcr-json-key \ | |
--docker-server=europe-docker.pkg.dev \ | |
--docker-username=_json_key \ | |
--docker-password="$(cat "${GCR_SECRET}")" \ | |
--dry-run=client --output=json | |
register: docker_config |