Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am primus852 on github.
  • I am primus852 (https://keybase.io/primus852) on keybase.
  • I have a public key ASDm1SHeM_tQw1DeApFrj6zQzKMfy7UrPFoUo9XPY0QCVAo

To claim this, I am signing this object:

@primus852
primus852 / rpi_opencv_install.sh
Created June 21, 2018 11:22 — forked from jbienkowski311/rpi_opencv_install.sh
OpenCV 3.1 installation script for Raspberry Pi (Raspbian Jessie)
#!/bin/bash
# full update
sudo apt-get update
sudo apt-get -y upgrade
sudo rpi-update
# reboot required
read -r -p "You may need to reboot your RPi. Would you like to do that? [y/N] " response
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]
then
@primus852
primus852 / It-Medienrecht.md
Last active July 25, 2019 13:53
It-Medienrecht

Wiederholungsfragen

Einführung

In welche Rechtsgebiete lässt sich das Recht unterteilen?

  • In Privatrecht (zw. Bürgern) und in Öffentliches Recht (zw. Staat und Bürgern), inkl. Strafrrecht

Wie lautet der "Obersatz" aus dem sich alles aus dem Privatrecht ableiten lässt?

  • Wer will was von wem woraus
import random
import time
import requests
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager
@primus852
primus852 / cuda_11.7_installation_on_Ubuntu_22.04
Last active June 1, 2024 04:09 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.7 and cuDNN 8.5 installation on Ubuntu 22.04 for PyTorch 1.12.1
#!/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