Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

rumblefrog rumblefrog

💭
I may be slow to respond.
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am RumbleFrog on github.
  • I am rumblefrog (https://keybase.io/rumblefrog) on keybase.
  • I have a public key whose fingerprint is FFEE 23D8 21A8 36C5 6361 D5F6 DE33 7F45 080C B46B

To claim this, I am signing this object:

View gist:7c6fdc56b56b45970cc11d991990f61c
RegisterCommands()
{
RegServerCmd("tf_dodgeball_explosion", CmdExplosion, "", 0);
RegServerCmd("tf_dodgeball_shockwave", CmdShockwave, "", 0);
RegAdminCmd("db_setrocket", CmdRocketCount, ADMFLAG_SLAY);
RegAdminCmd("db_setspeed", CmdRocketSpeed, ADMFLAG_SLAY);
}
View gist:f7aa44e3ae6659d023cbdf4f76bc63b1
public Action CmdGetCommands(int client, int args)
{
char buffer[64];
for (int i = 0; i < GetArraySize(cb); i++)
{
GetArrayString(cb, i, buffer, sizeof(buffer));
ReplyToCommand(client, "%s s", buffer);
}
View maxdb_feb9_2017.txt
{"query":{"since":"2017-01-10T00:00:00Z","until":"2017-02-09T00:00:00Z","time_delta":1440},"result":{"timeseries":[{"since":"2017-01-10T00:00:00Z","until":"2017-01-11T00:00:00Z","requests":{"all":0,"cached":0,"uncached":0,"ssl":{"encrypted":0,"unencrypted":0},"http_status":{},"content_type":{},"country":{},"ip_class":{}},"bandwidth":{"all":0,"cached":0,"uncached":0,"ssl":{"encrypted":0,"unencrypted":0},"content_type":{},"country":{}},"threats":{"all":0,"type":{},"country":{}},"pageviews":{"all":0,"search_engine":{}},"uniques":{"all":0}},{"since":"2017-01-11T00:00:00Z","until":"2017-01-12T00:00:00Z","requests":{"all":0,"cached":0,"uncached":0,"ssl":{"encrypted":0,"unencrypted":0},"http_status":{},"content_type":{},"country":{},"ip_class":{}},"bandwidth":{"all":0,"cached":0,"uncached":0,"ssl":{"encrypted":0,"unencrypted":0},"content_type":{},"country":{}},"threats":{"all":0,"type":{},"country":{}},"pageviews":{"all":0,"search_engine":{}},"uniques":{"all":0}},{"since":"2017-01-12T00:00:00Z","until":"2017-01-13T0
View fetchpdata.sp
#pragma semicolon 1
#define DEBUG
#define PLUGIN_AUTHOR "Fishy"
#define PLUGIN_VERSION "1.00"
#include <sourcemod>
#include <sdktools>
#include <smjansson>
View items.json
{
"5021": "auto",
"5002": 0.05,
"5001": 0.10,
"5000": "auto"
}
View sbpp_sleuth.sp
// *************************************************************************
// This file is part of SourceBans++.
//
// Copyright (C) 2014-2016 SourceBans++ Dev Team <https://github.com/sbpp>
//
// SourceBans++ is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, per version 3 of the License.
//
// SourceBans++ is distributed in the hope that it will be useful,
@rumblefrog
rumblefrog / README.md
Last active January 27, 2018 04:47
Sourcebans++ Blacklist Coloring Visual Only
View README.md

Usage

To use this patch, simply insert & replace accordingly, when patched you may include the word blacklist anywhere in the reason for it to activate.

@rumblefrog
rumblefrog / README.md
Last active May 27, 2018 20:04
Steam Spring Cleaning AppID Simulator
View README.md

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)
View dynamic json.go
func dynamicUnmarshal(text string) ([][]interface{}, error) {
var data [][]json.RawMessage
if err := json.Unmarshal(text, &data); err != nil {
return nil, err
}
result := make([][]interface{}, len(data))
for i, _ := range result {
result[i] = make([]interface{}, len(data[i]))