1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
from ursina import * | |
from time import time as time_lib | |
# Start Ursina app | |
app = Ursina() | |
# Set FPS limit to 60 | |
application.fps_limit = 60 # Limit the FPS to 60 | |
# Set up FPS camera |
from ursina import * | |
import time | |
app = Ursina() | |
# Player settings | |
player_speed = 5 | |
jump_speed = 10 | |
run_speed = 10 | |
rate_of_fire = 0.5 # seconds between shots |
import requests | |
import datetime | |
import base64 | |
import hashlib | |
# Dummy values, countryCode required if querying EU servers | |
# Most important here are the hardware and channel | |
params = { | |
#"countryCode": "EU", | |
"deviceID": "", |
I have faced this problem, when i need badges to put on github repository/profile readmes,i always have to spend some time getting them right/finding the right badges
So heres a few badges so that they can be pasted right into the readme files
Most badges display a not found
message, to correct it add your repository/profile names, it should work just fine
Remember to replace USERNAME
, REPO_NAME
with your actual GitHub username, repository name, respectively. Additionally, you can modify the styles or customizations of these badges according to your preferences or specific needs.
![GitHub repo size](https://img.shields.io/github/repo-size/USERNAME/REPO_NAME)
This is a brief guide on how to install Archlinux as a WSL2 distribution and how to set up CUDA afterwards.
As of late, Window's WSL2 offers GPU passthrough from WSL2/Linux to Windows for NVidia graphics cards which allows to run (and develop) CUDA-based applications on the WSL2/Linux-side with almost native performance. Unfortunately, the official guides for the CUDA setup for WSL2/Linux are predominantly Ubuntu-specific. Here's to you, Arch!
Archlinux is not among the default distributions available for WSL2. We'll install it from a tarball instead, a functionality offered natively by the WSL.
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 |
ℹ️ Enable iCloud end-to-end encryption:
System settings
→ Apple ID
→ iCloud
→ Set Advanced Data Protection
to On
.System settings
→ Apple ID
→ iCloud
→ Disable Access iCloud Data on the Web
.Mouse: