Skip to content

Instantly share code, notes, and snippets.

@pitinga
pitinga / ML-Cupons.txt
Created December 26, 2025 13:40
Mercado Livre - Ativar Cupons
// Como Usar:
// Abra https://www.mercadolivre.com.br/cupons/filter?status=inactive
// Pressione F12 → Console
// Cole o script e pressione Enter
// O script vai:
// * Criar um iframe
// * Clicar em todos os botões "Aplicar"
// * Fazer refresh
// * Repetir até não haver mais botões
@ruvnet
ruvnet / q.py
Last active December 27, 2025 20:59
Q* (Q-Star)
# - Q* (Q-Star)
# /\__/\ - q.py
# ( o.o ) - v0.0.1
# >^< - by @rUv
# 01110010 01110101 01110110
# This is a proof of concept implementation of the Q* (AGI) leak from OpenAi
# This Python code defines a sophisticated Q-learning agent for reinforcement learning.
# It includes dynamic exploration, learning from experiences, and checks for convergence.
# The agent's capabilities are refined iteratively to optimize its decision-making strategy in a given environment.
@Parabellum1945
Parabellum1945 / asterisk.sh
Created December 27, 2025 20:48 — forked from kolosek/asterisk.sh
Install Asterisk 16 LTS on Ubuntu 18.04 / 16.04 & Debian 10/9
#Update system & reboot
sudo apt update && sudo apt -y upgrade
sudo reboot
#Install Asterisk 16 LTS dependencies
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev
#Add universe repository and install subversio
sudo add-apt-repository universe
sudo apt update && sudo apt -y install subversion
@RisenID
RisenID / build_sm7125.sh
Last active December 27, 2025 20:54
sm7125 build script
#!/bin/bash
#
# Ascendia Build Script - sm7125
# Coded by BlackMesa123 @2023
# Modified and adapted by RisenID @2024
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@ludder
ludder / slideDown.js
Created December 6, 2012 17:25
Vanilla JavaScript slideUp and slideDown functions
/*
Element to slide gets the following CSS:
max-height: 0;
opacity: 0;
overflow: hidden;
transition: max-height 0.4s ease 0s;
*/
/**
* Like jQuery's slideDown function - uses CSS3 transitions
@remarkablemark
remarkablemark / gb-to-mb-conversion-table.md
Last active December 27, 2025 20:31
GB to MB Conversion Table
Gigabytes (GB) Megabytes (MB) decimal Megabytes (MB) binary
1 GB 1,000 MB 1,024 MB
2 GB 2,000 MB 2,048 MB
3 GB 3,000 MB 3,072 MB
4 GB 4,000 MB 4,096 MB
5 GB 5,000 MB 5,120 MB
6 GB 6,000 MB 6,144 MB
7 GB 7,000 MB 7,168 MB
8 GB 8,000 MB 8,192 MB
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@bahrom04
bahrom04 / README.md
Last active December 27, 2025 20:29

Git hosting repo language stats helper

To use install Tampermonkey extension for Chrome-based or Firefox-based browsers.

Codeberg

Skrinshot: 2025-12-25 12-57-21

Gitlab

Skrinshot: 2025-12-25 12-57-36
@queler
queler / openvpn-dco.sh
Last active December 27, 2025 20:26
Openvpn DCO kernel module with NetworkManager
# To enable use of the DCO kernel module in openvpn connections from networkmanager
# run from sudo su
# only tested with Mint 21.3 so far.
# https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos
mkdir -p /etc/apt/keyrings # directory does not exist on older releases
# fail fast, silent, show errors, location (follow redirect?)
curl -fsSL https://swupdate.openvpn.net/repos/repo-public.gpg | gpg --dearmor > /etc/apt/keyrings/openvpn-repo-public.gpg
arch=$(dpkg --print-architecture)
uver=` ( . /etc/os-release ; echo $UBUNTU_CODENAME)`
@syncip
syncip / ntfy.yaml
Created January 5, 2024 15:52
ntfy crowdsec notification example
# /etc/crowdsec/notifications/ntfy.yaml
type: http # Don't change
name: ntfy # Must match the registered plugin in the profile
# One of "trace", "debug", "info", "warn", "error", "off"
log_level: trace
# group_wait: # Time to wait collecting alerts before relaying a message to this plugin, eg "30s"
# group_threshold: # Amount of alerts that triggers a message before <group_wait> has expired, eg "10"