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
from rembg import remove | |
from PIL import Image | |
input_path='YourImageName.jpg' | |
output_path='YourImageName.png' | |
Bg_of_image=Image.open(input_path) | |
output=remove(Bg_of_image) | |
output.save(output_path) |
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
import os #you'll need os module for running commands into your command prompt or jus open command prompt and type the below command | |
#that is what this code does lol command is "netsh wlan show profile {name of network} key=clear" -- hafun!! | |
net_id=input("type the network name connected to your device\n") | |
os.system(f"netsh wlan show profile {net_id} key=clear") #the command i said | |
print("now from the output, look for key content, that is your lost or forgotten password") |
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
import cv2 | |
image=cv2.imread("TheImage.jpg") | |
gray_image=cv2.cvtColor( image, cv2.COLOR_BGR2GRAY) | |
inverted = 255-gray_image | |
blur = cv2.GaussianBlur(inverted, (21, 21), 0) | |
invertedblur = 255-blur | |
sketch = cv2.divide(gray_image, invertedblur, scale=256.0) | |
cv2.imwrite("WhatYouWantSketched.png", sketch) | |
cv2.imshow("Image", sketch) |
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
try: | |
users = {'createLogin' : [],'createPassw' : []} | |
status = "" | |
def displayMenu(): | |
global status | |
global users | |
status = input("are u known y/n? press q to get out---") | |
if status == "y": |
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
try: | |
users = {} | |
status = "" | |
def displayMenu(): | |
global status | |
global users | |
status = input("are u known y/n? press q to get out---") | |
if status == "y": |
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
#include<stdio.h> | |
void sayhello(){ | |
printf("Hello World"); | |
} | |
int main(){ | |
int num; | |
char* number; | |
do{ | |
printf("\njust say some number: "); |