Skip to content

Instantly share code, notes, and snippets.

View hasanparasteh's full-sized avatar
:octocat:

Hasan Parasteh hasanparasteh

:octocat:
View GitHub Profile
@avangardistic
avangardistic / pyDupRem.py
Created August 6, 2020 12:37
Remove duplicate urls of a text file
# Require python 3.8
import sys
import pandas as pd
def remove_dup(path):
f = open(path, "r")
arr = pd.Series([line for line in f])
f.close()
return arr.drop_duplicates()
@Tehnix
Tehnix / CI.yml
Created March 30, 2020 21:21 — forked from FedericoPonzi/CI.yml
Ready to use Github workflow for cross-compiling a rust binary to many Linux architectures.
# Instruction + template repo: https://github.com/FedericoPonzi/rust-ci
name: CI
on:
pull_request:
push:
branches:
- master
tags:
- 'v*.*.*'
@hasanparasteh
hasanparasteh / encryptor&decryptor.py
Created June 4, 2019 13:28
key module is an encryption/decryption platform for your daily usage.
# -*- 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'])
@alirobe
alirobe / reclaimWindows10.ps1
Last active July 3, 2024 09:36
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###