Skip to content

Instantly share code, notes, and snippets.

View frightenedmonkey's full-sized avatar

Michael Lewis frightenedmonkey

View GitHub Profile

Keybase proof

I hereby claim:

  • I am frightenedmonkey on github.
  • I am mlewis (https://keybase.io/mlewis) on keybase.
  • I have a public key ASCdHSDW-Sgfzs4m8GAJYGQOgpgFTaBH-B9Pa5QVtb9Ndwo

To claim this, I am signing this object:

collectd plugins on Debian
==========================
Some plugins require additional libraries. To prevent you from having to
install dozens of further packages that you don't actually need, there is no
strict dependency on those libraries. Rather, they are listed as recommenda-
tions ("collectd" package) or suggestions ("collectd-core" package").
apt-get(8) and aptitude(8) will install recommended packages automatically by
default. If you did not disable this feature you will have everything in place
@frightenedmonkey
frightenedmonkey / Advanced style 2
Created January 15, 2013 23:28
A second advanced style
<style type="text/css">
#wetpaint-fan-converter {
box-shadow: 0px 0px 10px #888;
background: #fff;
border-radius: 8px;
width: 234px;
}
.wrapper {
@frightenedmonkey
frightenedmonkey / Basic Styling
Last active December 11, 2015 02:59
Basic Styling
<style type="text/css">
#wetpaint-fan-converter {
box-shadow: 0px 0px 10px #888;
background: #a90329;
}
.wrapper {
padding: 20px;
overflow: hidden;
@frightenedmonkey
frightenedmonkey / Simple Fan Converter Implementation
Last active December 11, 2015 02:59
Simple Fan Converter Implementation
<script
type="text/html" id="myTemplate">
<div id="wetpaint-fan-converter">
<div class="wrapper">
<div class="cta">{{{fb}}}</div>
<div class="content">
<div class="primary-message">Welcome to my world.</div>
<ul>
<li><a id="fc-no-thanks">No Thanks</a></li>
<li><a id="fc-already-like">Already Like</a></li>
@frightenedmonkey
frightenedmonkey / Fan Converter Sample CSS
Created January 7, 2013 18:51
Fan Converter Sample CSS
<style type="text/css">
#wetpaint-fan-converter {
height: 230px;
box-shadow: 0px 0px 10px #888;
background: #a90329; /* Old browsers */
background: -moz-linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
window.WetpaintLoaded = function () {
var fanConverterEl = document.getElementById('post-1')
var fanConverter = new window.Wetpaint.FanConverter.App({
accountId: 'some_GA_accountID',
el: fanConverterEl, // element in which to render the fan converter
socialUrls: [
'https://www.facebook.com/somePage',
'https://www.twitter.com/somePage'
],
<script>
...
(function() {
function async_load(){
var script, scriptTag;
script = document.createElement('script');
script.src = 'http://fanconverter.wetpaint.me/1.0.1/application-fanconverter.js';
scriptTag = document.getElementsByTagName('script')[0];
scriptTag.parentNode.insertBefore(script, scriptTag);
@frightenedmonkey
frightenedmonkey / fan_converter_markup.html
Created December 20, 2012 05:37
A sample of a mustache-based template for the markup used to display the fan_converter.
<script type="text/html" id="mustacheTemplate">
<div id="wetpaint-fan-converter">
<div class="wrapper">
<div class="cta">{{{fb}}}</div>
<div class="content">
<div class="primary-message">{{message}}</div>
<ul>
<li><a id="fc-no-thanks">No Thanks</a></li>
<li><a id="fc-already-like">Already Like</a></li>
<li><a id="fc-close">Close</a></li>