- Download & Install Sublime Text 3.2.2 Build 3211
- Visit https://hexed.it/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/modprobe.d/nvidia.conf | |
options nvidia-drm fbdev=1 | |
options nvidia NVreg_PreserveVideoMemoryAllocations=1 | |
sudo update-initramfs -u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@paper: GAN Prior Embedded Network for Blind Face Restoration in the Wild (CVPR2021) | |
@author: yangxy ([email protected]) | |
''' | |
import os | |
import cv2 | |
import glob | |
import time | |
import math | |
import argparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sys | |
# single thread doubles cuda performance - needs to be set before torch import | |
if any(arg.startswith('--execution-provider') for arg in sys.argv): | |
os.environ['OMP_NUM_THREADS'] = '1' | |
# reduce tensorflow log level | |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' | |
import warnings |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /etc/systemd/system && wget https://gist.github.com/maulvi/462db65c55f072aa2ca5e890645bc573/raw/bb4a38fde0f223fcb6b31d8ee81575a2f78033b8/nvidia-tdp.service && wget https://gist.github.com/maulvi/462db65c55f072aa2ca5e890645bc573/raw/e13df4deb6f8e5e9945b079f0d3fd9736fa9055f/nvidia-tdp.timer && sudo systemctl daemon-reload && sudo systemctl enable --now nvidia-tdp.timer && sudo systemctl start nvidia-tdp.timer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# @Organization : insightface.ai | |
# @Author : Jia Guo | |
# @Time : 2021-05-04 | |
# @Function : | |
#wget /usr/local/lib/python3.10/dist-packages/insightface/model_zoo/model_zoo.py | |
import os | |
import os.path as osp | |
import glob | |
import onnxruntime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install xz-utils && wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz && mkdir -p ffmpeg-static && tar xvf ffmpeg-release-amd64-static.tar.xz -C ffmpeg-static --strip-components 1 && sudo mv ffmpeg-static/ff* /usr/bin/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTINF:0 tvg-country="UN" tvg-logo="" group-title="Sport",NBC Sports Washington | |
https://tv4.live/api/stream/[email protected]/629662/livetv.epg/nbc.sports.washington.us.m3u8 | |
#EXTINF:0 tvg-country="UN" tvg-logo="https://i.imgur.com/7NeBmWX.jpg" group-title="Sport",Red Bull TV | |
https://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master.m3u8 | |
#EXTINF:0 tvg-country="" tvg-logo="" group-title="Sport",Arena Sport 9 HR | |
https://tv4.live/api/stream/[email protected]/629662/livetv.epg/arena.sport.9.hr.m3u8 | |
#EXTINF:0 tvg-country="UN" tvg-logo="https://i.imgur.com/8ZFQ93Z.png" group-title="Sport",SPORT : ATG TV,SPORT | ATG TV | |
https://httpcache0-00688-cacheliveedge0.dna.qbrick.com/00688-cacheliveedge0/out/u/atg_sdi_1_free.m3u8 | |
#EXTINF:0 tvg-country="ES" tvg-logo="" group-title="Sport",M. DEPORTES 8 | |
http://listplay4k.live:8080/play/sEqGlXBK924GUbV9yuY_SA_Ye6MOfNX5qA4RME0A1dU/ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-get dist-upgrade -y | |
apt-get install xrdp build-essential git autoconf libtool pkg-config libpulse-dev -y | |
adduser xrdp ssl-cert | |
systemctl restart xrdp | |
cd /root | |
git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git |
NewerOlder