import subprocess | |
import os | |
import operator | |
import argparse | |
from json import loads | |
class Position: | |
def __init__(self, x, y): | |
self.x = x | |
self.y = y |
Feel free to try this method if it works, if not switch back to the old one below.
- Reach the account creation and choose Personal Account
- Use as email
[email protected]
- Use as password
test
- Let Windows 11 fail the login and click Next
This guide is only for original Ubuntu out-of-the-box packages. If you have added a custom PPA like
pipewire-debian
, you might get into conflicts.
Ubuntu 22.04 has PipeWire partially installed and enabled as it's used by browsers (WebRTC) for recoding the screeen under Wayland. We can enable remaining parts and use PipeWire for audio and Bluetooth instead of PulseAudio.
Starting from WirePlumber version 0.4.8 automatic Bluetooth profile switching (e.g. switching from A2DP to HSP/HFP when an application needs microphone access) is supported. Jammy (22.04) repos provide exactly version 0.4.8. So, we're good.
Based on Debian Wiki, but simplified for Ubuntu 22.04.
library(geojsonsf) | |
library(sf) | |
library(rayrender) | |
#Data source: https://github.com/telegeography/www.submarinecablemap.com | |
cables = geojson_sf("cable-geo.json") | |
cablescene = list() | |
counter = 1 | |
for(i in 1:length(cables$geometry)) { |
<# | |
.SYNOPSIS | |
Create a GPU-P Guest driver package. | |
.DESCRIPTION | |
Gathers the necessary files for a GPU-P enabled Windows guest to run. | |
.EXAMPLE | |
New-GPUPDriverPackage -DestinationPath '.' | |
.EXAMPLE | |
New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.' | |
.INPUTS |
#!/bin/bash | |
# data: 2020-03-31 | |
# author: muzi502 | |
# for: Fuck GFW and download some raw file form github without proxy using jsDelivr CDN | |
# usage: save the .she to your local such as /usr/bin/rawg, and chmod +x /usr/bin/rawg | |
# use rawg https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh to download | |
set -xue | |
# GitHub rul: https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh | |
# jsDelivr url: https://cdn.jsdelivr.net/gh/ohmyzsh/ohmyzsh/tools/install.sh |
Pip is a package manager of python. You can download Python
libraries from some Python
repositories like PyPI
. You can also download libraries from a git
repository. This is gonna be the issue to be explained in this article.
I don't like to memorize things all the time. So, I guess, I couldn't be working without internet :). Whenever I need to install some python libraries from a git repositories, I see a lot of way to do it. It is really confusing. This should be the reason why I can't memorize it. I can see how a very simple requirement is handled with to many confusing way. There shouldn't be to many way. Some of them is not working neither. At last, I decided to blog it.
As you may know, you can use two protocols which are http
and ssh
to do something on git
repositories. Using protocol ssh
instead of http
may provide some ease of use. Because of nature of ssh
, you can do something with your primary/public keys. So, you don't have to input your credentials all the time. But I'll be