Skip to content

Instantly share code, notes, and snippets.

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

rumblefrog rumblefrog

💭
I may be slow to respond.
  • United States
  • 04:19 (UTC -04:00)
View GitHub Profile

Rev: Sprint

Writeup by Tian Cilliers of The Order of Bit (#1 South African CTF team!)

Task Description

Sprint faster than this binary!

First Look

@nosoop
nosoop / read_sm_plugin.py
Created October 22, 2019 04:35
Dumps information from SMX files
#!/usr/bin/python3
# tfw no working sources to ensure values are correct
# https://web.archive.org/web/20100705221006/http://code.devicenull.org:80/index.php?title=Python:PluginReader
# https://wcfan.de/diverse/spfile.php
import struct, zlib, io, hashlib
@rumblefrog
rumblefrog / tasks.json
Last active April 7, 2021 20:06
SourcePawn VSCode Task
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Compile plugin",
"type": "shell",
"presentation": {
@rumblefrog
rumblefrog / channelsorter.go
Created February 18, 2019 08:04
Sort Discord channels (category, text, voice) in an one dimension array
package channelsorter
import (
"sort"
"github.com/rumblefrog/discordgo"
)
type ChannelGeneric struct {
Underlying *discordgo.Channel
@rumblefrog
rumblefrog / README.md
Last active May 27, 2018 20:04
Steam Spring Cleaning AppID Simulator

Installation

  1. Put these two files in the same directory
  2. Run yarn or npm install
  3. Update the accountName and password on line 11 and 12

Usage

  1. Run node index in that directory
  2. Enter Steam Guard Code (If prompted)
@Danktuary
Danktuary / index.js
Last active May 18, 2018 05:23
Reaction add count bug
const { Client } = require('discord.js');
const { token } = require('./config');
const client = new Client;
client.on('ready', () => console.log('Ready.'));
const events = {
MESSAGE_REACTION_ADD: 'messageReactionAdd',
MESSAGE_REACTION_REMOVE: 'messageReactionRemove',
@Danktuary
Danktuary / index.js
Last active May 13, 2022 09:43
Raw event reaction add example
const { Client } = require('discord.js');
const client = new Client();
client.on('ready', () => {
console.log('Ready!');
});
const events = {
MESSAGE_REACTION_ADD: 'messageReactionAdd',
MESSAGE_REACTION_REMOVE: 'messageReactionRemove',
@Bara
Bara / User settings
Last active April 26, 2018 18:05
My settings for sourcepawn highlighting and autocompletion in combination with 2 extensions and 1 theme
{
"files.autoSave": "onFocusChange",
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
// https://marketplace.visualstudio.com/items?itemName=robertohuertasm.vscode-icons
"workbench.iconTheme": "vscode-icons",
"vsicons.associations.files": [
@rsKliPPy
rsKliPPy / am-night.user.js
Last active March 2, 2018 02:23
ViolentMonkey script to add a night theme to AlliedModders Forums.
// ==UserScript==
// @name AlliedModders Night Theme
// @namespace github.com/rsKliPPy/
// @match https://forums.alliedmods.net/*
// @version 1.3.0
// @downloadURL https://gist.githubusercontent.com/rsKliPPy/4d4281e6ac447b601958d2e6c4971c30/raw
// @homepageURL https://github.com/rsKliPPy
// @grant none
// @run-at document-start
// ==/UserScript==
@cleverca22
cleverca22 / 32bit-simple-test.nix
Last active September 8, 2019 12:43
patchelf util
with import <nixpkgs> { system = "i686-linux"; };
runCommandCC "filename" { buildInputs = [ gcc ]; } ''
cat <<EOF > $out
#!${stdenv.shell}
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath ${lib.makeLibraryPath [ zlib ]} \$1
EOF
chmod +x $out
''