Clean up:
sudo apt-get purge nvidia-*
sudo apt-get update
sudo apt-get autoremove
Drivers install:
sudo apt-get install nvidia-smi nvidia-driver nvidia-cuda-toolkit
import math | |
from datetime import timedelta | |
GOAL = 1000000000 | |
STOCK_BUY_TIME = 10 | |
GLITCH_TIME = 15 * 60 | |
DIVE_TIME = 53 | |
CASE_MONEY = 25000 | |
#!/bin/bash | |
## Usage | |
# /etc/wireguard/ifscript.sh up %i | |
# /etc/wireguard/ifscript.sh down %i | |
action=$1 | |
interface=$2 | |
local_ips=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 | |
vpn_ip="10.6.6.0/24" |
~# cat /etc/udev/rules.d/90-rtl.rules | |
ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", TAG+="systemd", RUN+="/bin/systemctl --no-block restart rtl_tcp.service" | |
~# cat /etc/systemd/system/rtl_tcp.service | |
[Unit] | |
Description=RTL TCP service | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] |
Clean up:
sudo apt-get purge nvidia-*
sudo apt-get update
sudo apt-get autoremove
Drivers install:
sudo apt-get install nvidia-smi nvidia-driver nvidia-cuda-toolkit
import hudson.model.User | |
import org.jenkinsci.main.modules.cli.auth.ssh.UserPropertyImpl | |
User admin = User.getById("admin", false); | |
UserPropertyImpl adminUserSSHKey = new UserPropertyImpl("some_key_here") | |
admin.addProperty(adminUserSSHKey); | |
admin.save() |
#include <SPI.h> | |
#include <epd2in7b.h> | |
#include "imagedata.h" | |
#include <epdpaint.h> | |
#include <Wire.h> | |
#include <ESP8266WiFi.h> // Include the Wi-Fi library | |
#define SERIAL Serial | |
#define COLORED 1 |
python3 -c 'import sys, yaml, json; y=yaml.load(sys.stdin.read(), Loader=yaml.BaseLoader); print(json.dumps(y))' |
certbot renew --webroot -w /srv/dev-disk-by-label-Filles/Web/main |
certbot certonly -d dom1.example.com,dom2.example.com,new.example.com --expand --webroot -w /srv/dev-disk-by-label-Filles/Web/main |
ffmpeg -f v4l2 -framerate 60 -input_format yuyv422 -video_size 1440x900 -i /dev/video0 -vcodec huffyuv output.avi | |
ffmpeg -f v4l2 -framerate 60 -input_format yuyv422 -video_size 1440x900 -thread_queue_size 1024 -i /dev/video0 -threads 4 -vcodec huffyuv output.avi | |
ffmpeg -i output.avi output.mkv | |
ffmpeg -thread_queue_size 1024 -f alsa -i hw:1,0 -f v4l2 -framerate 60 -video_size 1440x900 -i /dev/video0 output.mkv | |
ffmpeg -f alsa -thread_queue_size 1024 -i hw:1,0 -f v4l2 -framerate 60 -video_size 1440x900 -thread_queue_size 1024 -i /dev/video0 -threads 8 output.mkv |