Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "your_email@example.com"
| from tkinter import * | |
| from tkinter import messagebox | |
| import mysql.connector | |
| import os | |
| import time | |
| #connecting to the database | |
| db = mysql.connector.connect(host="localhost",user="root",passwd="root",database="techienaman") | |
| mycur = db.cursor() |
| from passlib.hash import pbkdf2_sha256 | |
| import getpass | |
| import mysql.connector | |
| def enc_pass(pwd): | |
| hash=pbkdf2_sha256.encrypt(pwd,rounds=200,salt_size=16) | |
| return hash | |
| def con_database(pwd): | |
| cnx=mysql.connector.connect(user='*****',password='*****',host='*******',database='******') | |
| cursor=cnx.cursor() | |
| try: |
Quickly check for supported NVENC and NPP hardware acceleration capabilities in FFmpeg on your platform:
Depending on how you built ffmpeg, you may want to check the supported NVENC-based hardware acceleration capabilities in ffmpeg by running:
$ for i in encoders decoders filters; do
echo $i:; ffmpeg -hide_banner -${i} | egrep -i "npp|cuvid|nvenc|cuda|nvdec"
done
Sample output (as on my testbed):
| # Block Facebook IPv4 | |
| 127.0.0.1 www.facebook.com | |
| 127.0.0.1 facebook.com | |
| 127.0.0.1 login.facebook.com | |
| 127.0.0.1 www.login.facebook.com | |
| 127.0.0.1 fbcdn.net | |
| 127.0.0.1 www.fbcdn.net | |
| 127.0.0.1 fbcdn.com | |
| 127.0.0.1 www.fbcdn.com | |
| 127.0.0.1 static.ak.fbcdn.net |
| --- | |
| version: "2" | |
| services: | |
| emby: | |
| image: ghcr.io/linuxserver/emby | |
| container_name: emby | |
| environment: | |
| - PUID=1026 | |
| - PGID=100 | |
| - TZ=America/Denver |
| #!/bin/bash | |
| # NOTICE, EASY WAY FIRST: sudo apt install gnome-session-wayland | |
| # If easy way not work try this below: | |
| ################# 0 - Preparation ################## | |
| # Update and PPA | |
| sudo add-apt-repository -y ppa:wayland.admin/daily-builds; \ | |
| apt update; \ | |
| # | |
| # Depends | |
| sudo apt install -y doxygen xmlto; \ |
| ############################################################################## | |
| # History Configuration | |
| ############################################################################## | |
| HISTSIZE=5000 #How many lines of history to keep in memory | |
| HISTFILE=~/.zsh_history #Where to save history to disk | |
| SAVEHIST=5000 #Number of history entries to save to disk | |
| #HISTDUP=erase #Erase duplicates in the history file | |
| setopt appendhistory #Append history to the history file (no overwriting) | |
| setopt sharehistory #Share history across terminals | |
| setopt incappendhistory #Immediately append to the history file, not just when a term is killed |
| #!/usr/bin/python3 | |
| import dns.resolver | |
| import random, time | |
| dns.resolver.nameservers = ['localhost'] | |
| letters= [chr(ord('a')+i) for i in range(26)] | |
| types = ['NS', 'A', 'AAAA', 'MX'] | |
| qps = 1 | |
| while True: |
| ip | status | country | as_name | |
|---|---|---|---|---|
| 195.54.160.149 | validated | RU | OOO Network of data-centers Selectel | |
| 167.71.13.196 | validated | NL | DIGITALOCEAN-ASN | |
| 157.90.35.190 | validated | DE | Hetzner Online GmbH | |
| 34.65.121.142 | validated | CH | GOOGLE-CLOUD-PLATFORM | |
| 175.6.210.66 | validated | CN | Hengyang | |
| 197.246.175.231 | validated | EG | Noor Data Networks | |
| 45.155.205.233 | validated | RU | OOO Network of data-centers Selectel | |
| 164.52.53.163 | validated | SG | CDSC-AS1 | |
| 45.146.164.160 | validated | RU | OOO Network of data-centers Selectel |