If you need CUDA Tolkit 11 with nvcc, other tools and libraries you can install it from NVIDIA Ubunutu 22.04 repository.
Add Ubuntu 22.04 repository
| // License: https://github.com/parsec-cloud/parsec-sdk/blob/master/LICENSE.md | |
| // PARSEC API AND SDK TERMS OF USE AGREEMENT (199746555 v3) | |
| // https://github.com/parsec-cloud/parsec-sdk/commit/07b96ec445a4f800633c5fdc5f1aaceea9856625 | |
| 'use strict'; | |
| const k = { | |
| 0: 0, | |
| 1: 1, | |
| 2: 2, | |
| 3: 3, | |
| 4: 9, |
| ./Setup.bat -exclude=WinRT -exclude=Mac -exclude=MacOS -exclude=MacOSX -exclude=osx -exclude=osx64 -exclude=osx32 -exclude=Android -exclude=IOS -exclude=TVOS -exclude=Linux -exclude=Linux32 -exclude=Linux64 -exclude=linux_x64 -exclude=HTML5 -exclude=PS4 -exclude=XboxOne -exclude=Switch -exclude=Dingo -exclude=Win32 -exclude=GoogleVR -exclude=GoogleTest -exclude=LeapMotion |
| ./Setup.bat -exclude=WinRT -exclude=Mac -exclude=MacOS -exclude=MacOSX -exclude=osx -exclude=osx64 -exclude=osx32 -exclude=Android -exclude=IOS -exclude=TVOS -exclude=Linux -exclude=Linux32 -exclude=Linux64 -exclude=linux_x64 -exclude=HTML5 -exclude=PS4 -exclude=XboxOne -exclude=Switch -exclude=Dingo -exclude=Win32 -exclude=GoogleVR -exclude=GoogleTest -exclude=LeapMotion |
| // ==UserScript== | |
| // @name whoogle search 链接打开方式修改 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author bigshans | |
| // @include https://whoogle.sdf.org/search/* | |
| // @icon https://www.google.com/s2/favicons?domain=sdf.org | |
| // @grant none |
| cd /system/app/ | |
| rm -rf Account | |
| rm -rf card | |
| rm -rf Drive | |
| rm -rf Duo | |
| rm -rf GooglePay | |
| rm -rf Gmail2 | |
| rm -rf Maps | |
| rm -rf Music2 | |
| rm -rf NVBackupUI |
| # Assume we are in your home directory | |
| cd ~/ | |
| # Clone the repo from GitLab using the `--mirror` option | |
| $ git clone --mirror git@your-gitlab-site.com:mario/my-repo.git | |
| # Change into newly created repo directory | |
| $ cd ~/my-repo.git | |
| # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. |
| --mpv.conf -> input-ipc-server=/tmp/mpvsocket | |
| --$ echo 'script-message addscrollingsub "hello world"' | socat - /tmp/mpvsocket | |
| local assdraw = require("mp.assdraw") | |
| local utils = require("mp.utils") | |
| local settings = { | |
| ass_style = "\\1c&HC8C8B4\\fs33\\bord2", | |
| speed = 0.3 | |
| } |
| import gc | |
| import time | |
| CLOCK_PERIOD = 0x3fffffff # ACTUAL: overflows at 1073741823 microseconds (1073.74 seconds) | |
| # CLOCK_PERIOD = 0x3ffffff # TESTING: overflow at: 67108863 (67.10 seconds) | |
| # CLOCK_PERIOD = 0x3fffff # IMPATIENT TESTING: overflow at: 4194303 (4.19 seconds) | |
| MAX_TIMEOUT = CLOCK_PERIOD // 2 | |
| MAX_SECONDS = MAX_TIMEOUT // (10 ** 6) # 536.87 seconds | |
| PLATFORM_ESP = 1 |