Skip to content

Instantly share code, notes, and snippets.

View orsh99's full-sized avatar

Or Sharabi orsh99

View GitHub Profile
@planecore
planecore / enable_sentry.py
Created February 11, 2022 14:05
Enable Sentry Mode
from decouple import config
import teslapy
with teslapy.Tesla(config('EMAIL')) as tesla:
if not tesla.authorized:
tesla.refresh_token(refresh_token=config('TOKEN'))
tessie = tesla.vehicle_list()[0]
tessie.sync_wake_up()

Information for macOS Setup and Developer Experience

Last updated, 2024-05-16, applies to macOS 14.x.x (Sonoma) on Intel silicon hardware.

The default Terminal and Shell (zsh) is replaced with iTerm2 and Bash v5.

This document is meant to serve as an aid and reference in preparing a macOS system on Intel silicon hardware, the process is reviewed and completed manually. Apple M silicon hardware has not been tested.

Note: Review associated documentation at each software and service site prior to implementation to avoid unintended side effects. Prior to running brew install commands, run brew info to confirm what and how Homebrew will manage an installation. Some of the information may also apply to Apple silicon hardware but has not yet been verified.

@MakiseKurisu
MakiseKurisu / pmxcfs.sh
Last active January 30, 2024 12:11
Mount pmxcfs
mkdir ./mnt
mount /dev/pve/root ./mnt
cd mnt
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
cd ..
chroot ./mnt ./bin/bash
pmxcfs
/bin/nano /etc/pve/nodes/{node name}/qemu-server/100.conf