This file contains 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
import fnmatch | |
import os | |
# pip install --user psutil | |
import psutil | |
from shutil import copy | |
def get_all_hard_disk_partitions(): | |
partitions_list = psutil.disk_partitions() | |
partitions = [dp.device for dp in partitions_list if dp.fstype == 'NTFS'] |
This file contains 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
#include <iostream> | |
#include <string> | |
#include <fstream> | |
using namespace std; | |
int main(int argc, char const *argv[]) | |
{ | |
//Enter your local codes here | |
//If you want just a local number then remove [] and {} and just enter your local code in "" | |
string local_code[] = {"0912", "0935", "0936", "0937", "0938", "0939"}; |
This file contains 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
""" | |
Usage: first u need to create a database in phpmyadmin and enter | |
ur username and password in Login Information section! | |
After u just need to run the following commands: | |
$ pip install mysql-connector | |
$ pip install names | |
All Done! | |
""" | |
import mysql.connector | |
import names |
This file contains 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 -*- | |
"""key module is an encryption/decryption platform for your daily usage. | |
This module helps people protect they personal files from hackers, unauthorized people and etc. We protect your files | |
by using AES 256 encryption methods which no one would break. This program won't cache your passwords or backup your files | |
after encryption so all the responsibility of losing any data or anythong like that is yours... | |
Example: | |
key = Key("passowrd") | |
key.run(['filepath', 'another filepath']) |
This file contains 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
from os import listdir, getcwd, chdir | |
from os.path import isfile, join | |
from shutil import move | |
def check_name(file_name, search_name): | |
if search_name in file_name: | |
return True | |
else: | |
return False | |
def check_season(file_name, season): |
This file contains 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
import random | |
import math | |
import time | |
from itertools import permutations | |
import numpy as np | |
def auto_arr_gen(length): | |
arr = [] | |
for i in range(1, length): |
This file contains 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
""" | |
Works only on 1920x1080 screen and the telegram channle should pinned to top! | |
""" | |
import sys | |
import subprocess | |
import keyboard | |
import pyautogui | |
def telegram_openner(location): |
This file contains 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
set ns [new Simulator] | |
set f [open out.tr w] | |
$ns trace-all $f | |
set nf [open out.nam w] | |
$ns namtrace-all $nf | |
$ns color 1 Red | |
$ns color 2 Blue |
This file contains 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
name: CI | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: |
This file contains 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
{"lastUpload":"2022-03-01T18:01:59.668Z","extensionVersion":"v3.4.3"} |
OlderNewer