- install tart: https://tart.run/
- download: https://channels.nixos.org/nixos-23.05/latest-nixos-minimal-aarch64-linux.iso
tart create --linux --disk-size <disk-size-in-gb> <vm-name>
tart run --rosetta="rosetta" --disk <path-to-iso> <vm-name>
- install: https://nixos.org/manual/nixos/stable/index.html#sec-installation-manual
- set up Rosetta: https://xyno.space/post/nixos-utm-rosetta
- have fun
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
{ | |
# minimized for clarity. | |
# Some of these might not be needed. After some trial and error | |
# I got this working with these configs. | |
# I do not have the patience to rn an elimination test. | |
services.gnome.gnome-remote-desktop.enable = true; | |
# Enable the X11 windowing system. | |
services.xserver.enable = true; |
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
# Sebastian Raschka 09/24/2022 | |
# Create a new conda environment and packages | |
# conda create -n whisper python=3.9 | |
# conda activate whisper | |
# conda install mlxtend -c conda-forge | |
# Install ffmpeg | |
# macOS & homebrew | |
# brew install ffmpeg | |
# Ubuntu |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Adapted from https://github.com/bennofs/nix-index/blob/master/command-not-found.sh | |
command_not_found_handle () { | |
if [ -n "${MC_SID-}" ] || ! [ -t 1 ]; then | |
>&2 echo "$1: command not found" | |
return 127 | |
fi | |
echo -n "searching nix-index..." | |
ATTRS=$(@nix-locate@ --minimal --no-group --type x --type s --top-level --whole-name --at-root "/bin/$1") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import pandas as pd | |
import plotly.graph_objects as go | |
from scipy.signal import savgol_filter | |
data = pd.read_csv('DOGE-USD.csv', index_col=0, parse_dates=True) | |
data.head() | |
# Savitzky-Golay filter | |
y_filtered = savgol_filter(data.High, 11, 2) |
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
### | |
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
###. things to watch out for: | |
### - Check out the `nix-darwin` instructions, as they have changed. | |
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
### | |
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
# So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
(full article by Andrew Welch here: https://nystudio107.com/blog/dock-life-using-docker-for-all-the-things)
alias composer='docker run --rm -it -v `pwd`:/app -v ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer '
alias composer1='docker run --rm -it -v `pwd`:/app -v ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer:1 '
alias node='docker run --rm -it -v `pwd`:/app -w /app node:16-alpine '
tags |
---|
coaching, scrum |
(notes taken from the article https://medium.com/the-liberators/how-to-use-powerful-questions-virtually-46a76096630a)
The best way to unleash teams is to ask questions instead of giving (your) solutions.
NewerOlder