Skip to content

Instantly share code, notes, and snippets.

View alexgurrola's full-sized avatar
🔮
Building the Future of Technology

Alex Gurrola alexgurrola

🔮
Building the Future of Technology
View GitHub Profile
@arpanghosh8453
arpanghosh8453 / gpio_morse_code.js
Last active May 17, 2025 18:22
A script for sending arbitrary message as morse code signals using a LED light with flipper zero GPIO
let keyboard = require("keyboard");
let submenu = require("submenu");
let storage = require("storage");
let notify = require("notification");
let gpio = require("gpio"); // remove this if you are not using any GPIO (only using internal LED)
function blink_morse_code(morse_letter, morse_led_pin, time_delay) {
for (let i = 0; i < morse_letter.length; i++) {
if (chr(morse_letter.at(i)) === '.'){
if (morse_led_pin === 'INTERNAL'){
@alexgurrola
alexgurrola / install-nginx-1.25.2.sh
Last active February 7, 2025 15:47
ubuntu: compile and install nginx 1.25.2
#!/bin/bash
# NOTE: This requires openssl to be installed via https://gist.github.com/alexgurrola/db0736378d565bab3b2e35a66e7d9e50 to provide the necessary sources to install nginx with the latest openssl
# usage: wget https://gist.githubusercontent.com/alexgurrola/4f7fc9a317a68a3895858e24c83ea437/raw/install-nginx-1.25.2.sh && chmod +x install-nginx-1.25.2.sh && ./install-nginx-1.25.2.sh
# display current version
nginx -V
# install prerequisites
sudo apt update
@alexgurrola
alexgurrola / install-openssl-3.1.3.sh
Last active October 6, 2023 00:29
ubuntu: compile and install openssl 3.1.3
#!/bin/bash
# usage: wget https://gist.githubusercontent.com/alexgurrola/db0736378d565bab3b2e35a66e7d9e50/raw/install-openssl-3.1.3.sh && chmod +x install-openssl-3.1.3.sh && ./install-openssl-3.1.3.sh
# display current version
openssl version
# install prerequisites
sudo apt update
sudo apt install build-essential checkinstall zlib1g-dev -y
// ==UserScript==
// @name @chaoticvibing Twitter Blue Nerd - twitter.com
// @namespace Violentmonkey Scripts
// @match *://*.twitter.com/*
// @match *://*.x.com/*
// @grant none
// @version 1.9.2
// @author @chaoticvibing - GH @busybox11
// @description 11/9/2022, 11:45:28 PM
// @updateURL https://gist.githubusercontent.com/busybox11/53c76f57a577a47a19fab649a76f18e3/raw
@antlionguard
antlionguard / twitter-remove-retweets.js
Last active May 16, 2025 07:05
With this script, you can remove all retweets you are retweeted on Twitter.
const timer = ms => new Promise(res => setTimeout(res, ms));
// Unretweet normally
const unretweetTweet = async (tweet) => {
await tweet.querySelector('[data-testid="unretweet"]').click();
await timer(250);
await document.querySelector('[data-testid="unretweetConfirm"]').click();
console.log('****// Unretweeted Successfully //****')
}
@TheSherlockHomie
TheSherlockHomie / RenewExpiredGPGkey.md
Created January 3, 2021 16:36
Updating expired GPG keys and backing them up 🔑🔐💻

Updating expired GPG keys and their backup 🔑🔐💻

I use a GPG key to sign my git commits.

An error like this one might be a sign of an expired GPG key.

error: gpg failed to sign the data fatal: failed to write commit object
@fazt
fazt / index.py
Created April 19, 2019 15:06
Python Simple Discord Bot
import discord
from discord.ext import commands
import datetime
from urllib import parse, request
import re
bot = commands.Bot(command_prefix='>', description="This is a Helper Bot")
@bot.command()
@victornpb
victornpb / deleteDiscordMessages.js
Last active June 13, 2025 17:07
Delete all your messages from DM or Channel in Discord
/*
This file is now hosted here:
https://github.com/victornpb/undiscord
*/
@Shadows-of-Fire
Shadows-of-Fire / Enchantments.md
Last active April 24, 2025 13:42
Enchantment Descriptions for Apotheosis

Enchantments (This document is outdated - see curseforge)

Berserker's Fury

Equipment Slots: Chest, Legs
Minimum Enchantment Power: 60 + level * 15
Maxiumum Enchantment Power: 100 + level * 15
Maxiumum Level: 4
Enchantment Types: Corrupted
Effect: When damaged, the player will take an additional level * level corrupted damage and gain 200 * level ticks of Resistance, Strength, and Speed. Potion levels are equivalent to enchantment level. Multiple enchantments can stack, the sum of all levels will be treated as the level. The effect will not trigger if the user has resistance active.

@tedeh
tedeh / check_domains.sh
Created January 6, 2019 11:29
Gets a list of domains with curl, sending an email if the curl exit code is non-zero
#!/bin/bash
ERROR_EMAIL="[email protected]"
DOMAINS=(
"https://github.com"
)
ERRORED_DOMAINS=()