Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am thatfunkymunki on github.
  • I am munki (https://keybase.io/munki) on keybase.
  • I have a public key ASBncPAKH-Ym1ir2Ob2i5tZZJRIijlpBSB671TIlzstOago

To claim this, I am signing this object:

@thatfunkymunki
thatfunkymunki / hterm_solarized.js
Created Nov 27, 2017 — forked from russelldavies/hterm_solarized.js
Chrome/Chromium OS hterm and Secure Shell solarized color scheme.
View hterm_solarized.js
// Run in the JavaScript console of the hterm browser window
// Clear all existing settings - you probably don't want to do this.
// Preferences are now stored in "chrome.storage.sync" instead of
// "window.localStorage" so if you clear your preferences the changes
// will be propagated to other devices.
//term_.prefs_.storage.clear();
var htermProfiles = [
View troll_svc.pl
use strict;
use Irssi;
use LWP::UserAgent;
our $VERSION = '1.0';
our %IRSSI = (
authors => 'munki',
contact => 'thatfunkymunki@gmail.com',
name=> 'troll-as-a-service',
description=> 'spits out a string from my webapp',
license=>'MIT',
@thatfunkymunki
thatfunkymunki / cspam.pl
Last active May 18, 2017
irc color spammer
View cspam.pl
#!/bin/perl
use strict;
use Irssi;
use Irssi::Irc;
use vars qw($VERSION %IRSSI);
$VERSION= '1.0';
%IRSSI = (
authors => 'munki props to vap0r and acidvegas',
@thatfunkymunki
thatfunkymunki / prefs.js
Last active May 7, 2017 — forked from johnbender/prefs.js
Set up Chrome Secure Shell to handle solarized terminal colors
View prefs.js
term_.prefs_.set('enable-bold', true);
term_.prefs_.set('enable-blink',false);
term_.prefs_.set('background-color', "#002b36");
term_.prefs_.set('foreground-color', "#839496");
term_.prefs_.set('color-palette-overrides', [
'#073642',
'#dc322f',
'#859900',
View massif.txt
--------------------------------------------------------------------------------
Command: ettercap -Tq -i eth0 -M arp:remote -P umsg_test /192.168.1.100/
Massif arguments: (none)
ms_print arguments: massif.out.5312
--------------------------------------------------------------------------------
MB
47.40^ #
| @@#
View umsg_test.c
#include <ec.h> /* required for global variables */
#include <ec_plugins.h> /* required for plugin ops */
#include <ec_hook.h>
#include <stdlib.h>
#include <string.h>
int plugin_load(void *);
View test.py
#!/usr/bin/env python
import json
from websocket import create_connection
import websocket
MYSQL_SPECIAL_CHARS= [
("\\","\\\\"),
("\0","\\0"),
("\n","\\n"),
("\r","\\r"),
("'","\\'"),
@thatfunkymunki
thatfunkymunki / trolldb.pl
Last active May 23, 2017
trolldb irssi script
View trolldb.pl
#!/bin/perl
use strict;
use Irssi;
use LWP::UserAgent;
use vars qw($VERSION %IRSSI);
$VERSION= '1.0';
%IRSSI = (
@thatfunkymunki
thatfunkymunki / application_helper.rb
Created Nov 9, 2011 — forked from purcell/application_helper.rb
Make will_paginate generate HTML that bootstrap.less will render nicely, fixed for will_paginate 3.0.2
View application_helper.rb
# Based on https://gist.github.com/1205828, in turn based on https://gist.github.com/1182136
class BootstrapLinkRenderer < ::WillPaginate::ActionView::LinkRenderer
protected
def html_container(html)
tag :div, tag(:ul, html), container_attributes
end
def page_number(page)
tag :li, link(page, page, :rel => rel_value(page)), :class => ('active' if page == current_page)