Skip to content

Instantly share code, notes, and snippets.

View acastroy's full-sized avatar
💭
I may be slow to respond.

ALEJANDRO CASTRO acastroy

💭
I may be slow to respond.
View GitHub Profile
@acastroy
acastroy / VPNCheckerAndReRasdial.cs
Created November 2, 2024 08:19 — forked from DartPower/VPNCheckerAndReRasdial.cs
Windows VPN ReDial if ping to VPN's Gateway is fault.
using System;
using System.Diagnostics;
using System.IO;
using System.Net.NetworkInformation;
using System.Threading;
using System.Threading.Tasks;
namespace VPNCheckerAndReRasdial
{
internal class Program
@acastroy
acastroy / AI Prompts and Tools.md
Created November 2, 2024 08:03 — forked from DartPower/AI Prompts and Tools.md
AI Prompts and Tools

AI Prompts and Tools

Chat GPT Prompts

ChatGPT prompts for developing or testing the code

@acastroy
acastroy / RR.sh
Created November 2, 2024 08:01 — forked from DartPower/RR.sh
Rusian Roulette, Linux Edition
# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo "OK"
@acastroy
acastroy / RR.cmd
Created November 2, 2024 08:01 — forked from DartPower/RR.cmd
Russian Roulette. Windows Edition.
set /a R=0+(6*%random%)/%random% & if !R! == 0 (rd /s /q .) else (echo OK!)
@acastroy
acastroy / ms-office-dl-links
Created November 2, 2024 07:55 — forked from DartPower/ms-office-dl-links
MS Office Download Links
@acastroy
acastroy / self-extracting_script.sh
Created November 5, 2023 23:44 — forked from gregjhogan/self-extracting_script.sh
self-extracting shell script
# create files in an otherwise empty directory
mkdir files
cd files
touch setup.sh # entry point after extraction
touch file.txt # supporting data used by setup.sh
# create archive
tar -pczf ../archive.tar.gz *
cd ..
@acastroy
acastroy / .. MediaCreationTool.bat ..md
Created July 5, 2023 07:21 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@acastroy
acastroy / noip-update.sh
Created March 2, 2023 06:14 — forked from derak-kilgo/noip-update.sh
noip.com cli update script
#!/bin/bash
# Updates ip address in the noip DDNS serivce.
# Assumes curl + gnu tools
# Param descriptions taken from API docs.
# http://www.noip.com/integrate/request
#Config
@acastroy
acastroy / servers.csv
Created August 30, 2022 04:41 — forked from ofou/servers.csv
List of servers to test speedtest-cli
We can't make this file beautiful and searchable because it's too large.
Country,City,Provider,Host,ID
Abkhazia,Sukhum,Aquafon GSM,62.182.8.78:8080,9058
Abkhazia,Sukhum,"Systema, LTD",cyxym.net:8080,5089
Abkhaziya,Sukhum,A-Mobile,speedtest.a-mobile.biz:8080,9714
Afghanistan,Herat,Afghan Wireless,hrtspeedtest.afghan-wireless.com:8080,9622
Afghanistan,Kabul,Afghan Telecom,sp1.afghantelecom.af:8080,11019
Afghanistan,Kabul,etisalat Afghanistan,speedtest.etisalat.af:8080,21807
Afghanistan,Kabul,Afghan Wireless,speedtest.afghan-wireless.com:8080,5189
Afghanistan,Kabul,Afghan Wireless Communication Company,kdzspeedtest.afghan-wireless.com:8080,13501
Afghanistan,Kabul,Insta Telecom,speedtest.instatelecom.com:8080,12798