Skip to content

Instantly share code, notes, and snippets.


Joseph Chiocchi yyolk

Block or report user

Report or block yyolk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yyolk / summarize.rb
Created Sep 7, 2011 — forked from mat813/summarize.rb
Jekyll filter for summary text between two <!-- CUT --> tags
View summarize.rb
module Jekyll
module Filters
def summarize(str, splitstr = /\s*<div id="extended">/)
awk 'function wl() {
return (rate/160)*(0.87055^(int(rand()*10)))};
while(1) {
yyolk / bot.rb
Created Mar 3, 2012
RSS Twitter Bot
View bot.rb
## This file is originally from: by user `jnewland`
## Instructions by jnewland:
## Run this once with the lines uncommented to create the DB, then slap it in your crontab.
## That's it!
require 'rubygems'
View quinqunin.html
<!DOCTYPE html>
<html xml:lang="en" lang="en">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Font Test" />
<meta name="author" content="Quinn Keaveney" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
yyolk /
Created Jun 8, 2012 — forked from vanto/
OEmbed Liquid Tag for Jekyll

OEmbed Liquid Tag for Jekyll

This is a simple liquid tag that helps to easily embed images, videos or slides from OEmbed enabled providers. It uses Magnus Holm's great oembed gem which connects to the OEmbed endpoint of the link's provider and retrieves the HTML code to embed the content properly (i.e. an in-place YouTube player, Image tag for Flickr, in-place slideshare viewer etc.). By default it supports the following OEmbed providers (but can fallback to or OoEmbed for other providers):

  • Youtube
  • Flickr
  • Viddler
  • Qik
  • Revision3
  • Hulu
  • Vimeo
yyolk / rubycocoa.rb
Created Aug 4, 2012
RubyCocoa homebrew formula
View rubycocoa.rb
require 'formula'
class Rubycocoa <Formula
url ''
homepage ''
md5 'eb6127054b808c2700c6253c8a4793c3'
def keg_only?
yyolk / kloutinfinite.js
Created Aug 23, 2012
User script to change the value of your klout score to another useless score.
View kloutinfinite.js
$(function() {$(".value").text(""); } );
yyolk / emojiics.js
Created Aug 23, 2012
Use emojii from and set it to your klout score. For #SCREENSHOTS
View emojiics.js
$(function() { var emojii = prompt(">"); $(".value").html("<img src='"+emojii.substring(1, emojii.length-1)+".png'>"); });
yyolk / eomjiifbb.js
Created Aug 24, 2012
Emojii on FB bookmarklet
View eomjiifbb.js
javascript:(function(){var emojii = prompt(">"); prompt('',""+emojii.substring(1, emojii.length-1)+".png");})();
yyolk /
Created Aug 25, 2012
Emojii + Facebook + TextExpander
export EMOJII="$(echo %clipboard | sed -n -e 's/:\(.*\):/\1/p')"
echo "$EMOJII.png"
You can’t perform that action at this time.