Skip to content

Instantly share code, notes, and snippets.

View maulvi's full-sized avatar
🏠
Working from home

maulvi

🏠
Working from home
View GitHub Profile
@maulvi
maulvi / install.sh
Last active July 30, 2023 01:15 — forked from DavidAce/nvidia-tdp.service
Nvidia power limit at boot
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
@maulvi
maulvi / SimSwap_videos.ipynb
Created July 30, 2023 11:36
SimSwap_videos
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maulvi
maulvi / core.py
Created August 6, 2023 12:50
roop
#!/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
@maulvi
maulvi / demo.py
Created August 7, 2023 14:55
/content/GPEN/demo.py
'''
@paper: GAN Prior Embedded Network for Blind Face Restoration in the Wild (CVPR2021)
@author: yangxy (yangtao9009@gmail.com)
'''
import os
import cv2
import glob
import time
import math
import argparse
@maulvi
maulvi / Crack Sublime Text Windows and Linux.md
Created September 24, 2023 14:19 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

YouTube Channel https://www.youtube.com/c/jerrylokjianming


How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/