reference: https://pureinfotech.com/install-hyperv-home-windows-11/
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
#!/bin/bash | |
git fetch && git reset --hard @{u} && git submodule deinit --all -f && git submodule update --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
#!/usr/bin/env python3 | |
from zipfile import ZipFile | |
import os | |
import time | |
from gitlab import ( | |
Gitlab, | |
) | |
API_TOKEN = '' |
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 torch | |
import math | |
# this ensures that the current MacOS version is at least 12.3+ | |
print(torch.backends.mps.is_available()) | |
# this ensures that the current current PyTorch installation was built with MPS activated. | |
print(torch.backends.mps.is_built()) | |
dtype = torch.float | |
device = torch.device("mps") |
Enable 1Password's SSH Agent.
Using Powershell, install npiperelay via the scoop package manager.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm get.scoop.sh | iex # install scoop
scoop bucket add extras
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
set tabstop=4 softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set smartindent | |
set nu |