Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "your_email@example.com"
import numpy as np | |
from z3 import * | |
# 例題 | |
board_spec = ''' | |
39 | |
1 5 | |
3 5 8 | |
8 9 6 | |
7 2 |
#Gets the current venv path and creates the pyrightconfig for zed | |
#activate your venv then run it | |
cofig_file_name="pyrightconfig.json" | |
current_venv="${current_venv:-$(basename ${VIRTUAL_ENV})}" | |
current_venv_path="${current_venv_path:-$(builtin cd ${VIRTUAL_ENV}; pwd)}" | |
project_path="${project_path:-./}" | |
config_path="${project_path}${cofig_file_name}" | |
config_venv="${config_venv:-${current_venv}}" | |
config_venv_path="${config_venv_path:-${current_venv_path}}" |
#!/bin/bash | |
### steps #### | |
# verify the system has a cuda-capable gpu | |
# download and install the nvidia cuda toolkit and cudnn | |
# setup environmental variables | |
# verify the installation | |
### | |
### to verify your gpu is cuda enable check |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
# Dist-Upgrade Debian 10 Buster to Debian 12 Bookworm | |
# Debian 10 | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y full-upgrade | |
cat > /etc/apt/sources.list <<"EOF" | |
deb http://deb.debian.org/debian/ bullseye main | |
deb-src http://deb.debian.org/debian/ bullseye main | |
deb http://security.debian.org/debian-security stable-security/updates main |
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell] | |
"FolderType"="NotSpecified" |
2023.10.6
Done on a MacBook Pro (Apple Silicon). This worked for me, your mileage may vary.