Skip to content

Instantly share code, notes, and snippets.

View Glowman554's full-sized avatar
👿
Tackles you to the floor

Glowman554

👿
Tackles you to the floor
View GitHub Profile
@Glowman554
Glowman554 / RAW-20000216-003522.sub
Last active October 28, 2025 20:34
CaiXianlin shocker packet decoder for Flipper Zero subghz captures
Filetype: Flipper SubGhz RAW File
Version: 1
Frequency: 433920000
Preset: FuriHalSubGhzPresetOok650Async
Protocol: RAW
RAW_Data: 265 -100 197 -66 329 -428 197 -164 2301 -15174 265 -68 131 -364 165 -98 559 -100 297 -132 461 -266 2106 -6984 99 -1876 99 -300 231 -300 99 -132 165 -1160 331 -134 265 -100 861 -134 763 -164 793 -66 363 -17222 67 -998 499 -232 231 -132 359 -100 63 -66 493 -16758 65 -164 65 -2248 65 -2042 293 -264 199 -68 263 -68 927 -298 231 -134 929 -66 463 -100 1121 -100 2311 -8210 99 -564 131 -2200 99 -364 361 -100 493 -98 229 -66 1053 -16604 131 -198 229 -164 953 -100 391 -166 493 -18068 97 -1420 97 -526 131 -330 131 -230 65 -98 195 -856 563 -100 363 -66 261 -66 953 -66 197 -98 495 -66 753 -66 661 -16034 97 -494 163 -1578 99 -490 429 -166 465 -66 765 -100 365 -100 469 -100 495 -166 4961 -8400 197 -858 231 -164 97 -3042 269 -1062 65 -134 197 -132 393 -66 393 -66 559 -66 331 -66 661 -462 1093 -13256 195 -330 131 -4630 131 -132 197 -98 229 -98 295 -66 229 -166 63 -98 295 -66 163 -100 459 -100 561 -2
identification division.
program-id. hello.
environment division.
data division.
working-storage section.
01 game.
05 occurs 3 times.
10 occurs 3 times.
@Glowman554
Glowman554 / coc-settings.json
Last active June 11, 2024 19:03
New vim config
{
"coc.preferences.formatOnSave": true,
"diagnostic.virtualText": true,
"diagnostic.virtualTextCurrentLineOnly": false
}
@Glowman554
Glowman554 / MorseCode.ino
Created January 1, 2024 16:18
Morse Code Arduino
#ifdef ARDUINO_ARCH_ESP32
#define LED_BUILTIN 2
#endif
char* morse[] = {
(char*) ".-" ,
(char*) "-..." ,
(char*) "-.-." ,
(char*) "-.." ,
(char*) "." ,
@Glowman554
Glowman554 / index.ts
Created November 15, 2023 16:54
Simple Discord Voice Message Bot
import { Client, GatewayIntentBits, VoiceBasedChannel, VoiceState } from "npm:discord.js@14.13.0";
import { AudioPlayerStatus, VoiceConnection, createAudioPlayer, createAudioResource, generateDependencyReport, joinVoiceChannel } from "npm:@discordjs/voice@0.16.0";
import _Tweetnacl from "npm:tweetnacl@1.0.3";
interface Config {
token: string;
channelId: string;
mp3: string;
}
@Glowman554
Glowman554 / accelerometer.cfg
Last active September 6, 2023 17:17
Klipper configuration file for Anycubic i3 MEGA S
[mcu pico]
serial: /dev/serial/by-id/usb-Klipper_rp2040_E661640843630F25-if00
[mpu9250]
i2c_mcu: pico
i2c_bus: i2c0a
[resonance_tester]
accel_chip: mpu9250
probe_points:
@Glowman554
Glowman554 / end.gcode
Created June 17, 2023 21:11
Start and end gcode for my anycubic i3 mega s modded with a bltouch probe
M104 S0 ; Extruder off
M140 S0 ; Heatbed off
M107 ; Fan off
G91 ; relative positioning
G1 E-5 F300 ; retract a little
G1 Z+10 E-5 ; X-20 Y-20 F{travel_xy_speed} ; lift print head
G28 X0 Y0 ; homing
G1 Y180 F2000 ; reset feedrate
M84 ; disable stepper motors
G90 ; absolute positioning
@Glowman554
Glowman554 / init.vim
Last active October 27, 2022 06:37
nvim
set nocompatible
filetype off
set t_Co=256
call plug#begin('~/.config/nvim/plugged')
" Python autocomplete
if has('nvim')
" Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
" Plug 'Shougo/deoplete.nvim'
@Glowman554
Glowman554 / exploit.c
Last active February 2, 2022 17:39
pkexec exploit
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
void fatal(char *f) {
perror(f);
@Glowman554
Glowman554 / auto_bump.py
Created November 22, 2021 18:52
Auto bump discord servers
from requests import post as requestpost
import json
from time import sleep
import argparse
from tqdm import tqdm
def send_self_bot_message(token, channel, body):
while True:
response = requestpost(f"https://discord.com/api/v9/channels/{channel}/messages", json={"content": body}, headers={"Authorization": token})
if response.status_code != 200: