Skip to content

Instantly share code, notes, and snippets.

View 0xPranavDoshi's full-sized avatar

Pranav Doshi 0xPranavDoshi

View GitHub Profile
@0xPranavDoshi
0xPranavDoshi / adobe-reader.json
Last active September 1, 2021 17:43
Adobe Reader Scoop Manifest
{
"version": "21.005.20060",
"description": "Adobe Acrobat Reader DC software is the free global standard for reliably viewing.",
"homepage": "https://get.adobe.com/reader/",
"license": {
"identifier": "Freeware",
"url": "https://www.adobe.com/content/dam/cc/en/legal/licenses-terms/pdf/Reader-EULA-en_US2020210215.pdf"
},
"url": "https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/2100520060/AcroRdrDC2100520060_en_US.exe",
"hash": "A7B48539976BBEC9132C1722563BAC69E6D154F88E675644A25DCF3D231F665B"
@0xPranavDoshi
0xPranavDoshi / pdf-xchange-editor.json
Created September 1, 2021 17:20
PDF-XChangeEditor Scoop Manifest
{
"version": "9.1.356.0",
"description": "A small, fast, and feature-rich PDF viewer/editor.",
"homepage": "https://www.tracker-software.com/product/pdf-xchange-editor",
"license": {
"identifier": "Freeware",
"url": "https://www.tracker-software.com/PDF_VE.pdf"
},
"url": "https://downloads.pdf-xchange.com/EditorV9.x64.msi",
"hash": "4D9936656FFA9826B4B1B2279DF7D722D10DD77DE10D8C89D8BDA329C4529EC0"
@0xPranavDoshi
0xPranavDoshi / multithreaded_download.rs
Created July 10, 2021 10:31
Custom MulitThreaded Download in Rust
async fn threaded_download(threads: u64, url: &String, output: &str) {
let mut handles = vec![];
// Create response from url
let res = reqwest::get(url.to_string()).await.unwrap();
// Get the total bytes of the response
let total_length = res.content_length().unwrap();
// Create buffer for bytes
@0xPranavDoshi
0xPranavDoshi / Microsoft.Powershell_profile.ps1
Last active June 9, 2021 05:30
Powershell Profile For Devs
# ⭐ If you find this useful!
# USAGE:
# Go to your powershell profile located here -> %USERPROFILE%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
# Create the file if it doesn't exist
# Paste the following contents into your powershell profile
Set-PSReadlineOption -Color @{
"Command" = [ConsoleColor]::Green
"Parameter" = [ConsoleColor]::Gray