This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mostly from this https://jupyterbook.org/en/stable/start/your-first-book.html | |
# Install globally or in venv | |
pip install jupyter-book | |
# Create a template jupyter-book | |
jupyter-book create mynewbook | |
# Build book | |
cd mynewbook | |
jupyter-book build . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From an elevated Powershell prompt: | |
# Note: This installs both traditional conda + mamba, but mambe seems to work | |
# only on Linux. | |
# | |
choco install mambaforge | |
# | |
# Once that is done, need to initialize mamba forge for Powershell / CMD | |
# This will add an autorun in the Commandshell key in windows. | |
# Note: Conda creates a `base` environment and uses that as startup | |
conda init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat test-expand.rkt | |
#lang racket | |
#| | |
The purpose of this file is to better understand how | |
macros are expanded. | |
The first variable in_s holds the results of | |
reading the input and transforming to s-exps, | |
every parentheses like [ and { are converted to regular ( | |
without still expanding macros. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In my S21, in order to achieve this, I had to go via | |
Settings / General Management / Physical Keyboard (subtitle DEX Keyboard) / Samsung Keyboard - English US | |
once you click the last item you should be in "Language and Layout" | |
Look for English US, Dvorak Style | |
That should do it. | |
-- update 2024-10-08 | |
I noticed, that the keyboard switch, is NOT what the settings suggests, (Alt+Left-Shift), but rather Left-Cmd+Space and the keyboards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install ncurses-devel | |
sudo dnf install libX11-devel | |
sudo dnf install libuuid-devel | |
git clone https://github.com/cisco/ChezScheme.git | |
cd ChezScheme | |
./configure | |
make | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install racket | |
# (Windows) Update PATH environment variable to include racket's install | |
# WSL2 Ubuntu: May need to install libssl-dev before raco package manager works: | |
# apt install libssl-dev | |
# In Fedora, instead install openssl-devel | |
# sudo dnf install openssl-devel | |
# | |
# Install beautiful-racket package | |
raco pkg install beautiful-racket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Frow within windows: | |
Enum things | |
PS C:\> bcdedit /enum "{fwbootmgr}" | |
Set order | |
** DANGER!!! --> Make sure you use Guids ONLY from above command. If you splatter | |
** {bootmgr} guids into fwbootmgr you MAY CORRUPT YOUR BIOS. | |
PS C:\> bcdedit /set "{fwbootmgr}" displayorder ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo zypper in libuuid-devel | |
sudo zypper in libX11-devel | |
git clone https://github.com/cisco/ChezScheme.git | |
cd ChezScheme | |
./configure | |
make | |
# | |
# To test without installing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Objective: Install llvm toolchain + voltron for debugging | |
Voltron source: https://github.com/snare/voltron.git | |
For voltron, I needed to install: | |
* Modify the script a little. -- Will fork and add that change. | |
* python3, tmux | |
* Need to fix the library paths for llvm libraries | |
* python3-lldb site package | |
Ubuntu 22.04: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a virtual machine, with 4GB + 4cpus. This such that compilation | |
# goes fast and you can pass for jobs (-j4) to make. | |
# Mark the checkbox in System / Motherboard / Enable EFI (special OSes only) | |
# | |
# Choose VBoxSvga as the display adapter IF you want guest auto-resize to work. | |
# This is because the autoresize is triggered by fooling the guest that the | |
# monitor changed by injecting a new serial#. This can't be done under VMSVGA. | |
# See this link -> https://wiki.gentoo.org/wiki/VirtualBox#Resizing_doesn.27t_work | |
# | |
# Use any live disk to drive the install. I used the archlinux boot disk because |
NewerOlder