Skip to content

Instantly share code, notes, and snippets.

View ThePengwin's full-sized avatar

Articus Pengwin ThePengwin

View GitHub Profile

Keybase proof

I hereby claim:

  • I am thepengwin on github.
  • I am thepengwin (https://keybase.io/thepengwin) on keybase.
  • I have a public key ASBhXGKsbI7glRkkU--5D2RX7B3EL_hb2qHsaIXMMo8WLQo

To claim this, I am signing this object:

/**
* FreshBot
*
* Needs Discord.js
* npm install discord.js
*
* uses a config file called config.json in the same folder for auth
* Example config.json
{
"auth": {
@ThePengwin
ThePengwin / autoSpurdo.js
Created November 16, 2015 09:34
Replace autospurdo code to use cloudtobutt's textnode walker
// ==UserScript==
// @name autoSpurdo
// @description Convert text on every page into spurdo
// @namespace installgen2
// @include *
// @version 4
// @grant none
// ==/UserScript==
walk(document.body);
function walk(node)
@ThePengwin
ThePengwin / snapchat-bot.php
Created November 27, 2013 13:12
A quick as hell snapchat bot i hacked tigether with a nice little library from dstelljes
<?php
//snapchat lib from here
//https://github.com/dstelljes/php-snapchat/blob/master/src/snapchat.php
include ('lib/snapchat.php');
include ('config.php');
$snapchat = new Snapchat();
$snapchat->login(SNAPCHAT_USER,SNAPCHAT_PASSWORD);
$replypayload = null;
@ThePengwin
ThePengwin / mantisPlugin.php
Created March 13, 2013 07:34
Updated Mantis Plugin for MediaWiki
<?php
/*
* Installation:
* require_once("extensions/MantisIntegration/MantisIntegration.php"); in LocalSettings.php
* update $mantisDBSERVER, $mantisDBUSER, $mantisDBUSERPW, $mantisDBNAME, $mantis_home
* Usage:
* <mantis>#bugid</mantis>
*
* @version 0.2 schke 2008-10-31
* -change data input from php implode of bugsite to direct database access