Skip to content

Instantly share code, notes, and snippets.

require 'formula'
class Dpkg <Formula
url 'http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_1.16.1.1.tar.bz2'
md5 '73fb4d67dbc9f9f14a776187429ce3f1'
homepage 'http://en.wikipedia.org/wiki/Dpkg'
def patches
#Fixes the PERL_LIBDIR
@bsdf
bsdf / gist:1350436
Created November 9, 2011 04:51
FUCK
F
FFFFUF FF
FKF CKKCCU
UUFUUUUFKKKCUCFU
FU CU FF F UF FFFKCFKKCKKKKFFU
F FFUUFFU F UFUFUUFC UFCUKFCC UFCKKKCF
KFK FUFCFCU FF F FUFF FC F F KFUCFCF F FU FFFUFKK
FCUUK KKKKKKFKC F F CCUU KCUCFUFFF F F FU F KKKKF
FFF KUUKCUK FKU CCFKU CF FKFKKKUFU FFF FUFKFK
FUUKCUKCF UU FCCKKKK C FFF FUKF FKKKKCCCF FFF U FUUFKKFFF
#!/usr/bin/env perl
use utf8;
binmode STDOUT, ":utf8";
while (<>) {
tr/A-Za-z/𝕬𝕭𝕮𝕯𝕰𝕱𝕲𝕳𝕴𝕵𝕶𝕷𝕸𝕹𝕺𝕻𝕼𝕽𝕾𝕿𝖀𝖁𝖂𝖃𝖄𝖅𝖆𝖇𝖈𝖉𝖊𝖋𝖌𝖍𝖎𝖏𝖐𝖑𝖒𝖓𝖔𝖕𝖖𝖗𝖘𝖙𝖚𝖛𝖜𝖝𝖞𝖟/;
print;
}
#!/usr/bin/perl
# Usage: upgrade-cpan.pl 5.14.0 | sort -u | cpanm
use strict;
use File::Find::Rule;
use JSON;
my $old = shift;
my @files = File::Find::Rule->file->name('install.json')->in("$ENV{HOME}/perl5/perlbrew/perls/perl-$old/lib/site_perl/$old");
for my $file (@files) {
@bsdf
bsdf / gist:2945730
Created June 17, 2012 20:59
i am siri in a room
Do you want
's's's not going to get into the seas leaving Florence so so so much
What you should raise sequences aren't cheap price I'm gone this moon not so much construction move and select's
Onions do you want
's's's not going to give unto you see me
Student section is this what you should raise this is a cheap price I'm going to move not so much residence
bsdf@europa> cat asdf.txt ~
\ o | --
package main
import (
"bytes"
"crypto/hmac"
"crypto/sha1"
"encoding/base64"
"fmt"
"net/url"
"sort"
// ==UserScript==
// @name kilxor_20090809
// @namespace
// @description
// @include http://ilx.wh3rd.net/*
// @include http://ilx.p3r.net/*
// @include http://www.ilxor.com/*
// ==/UserScript==
// YOU NEED TO MODIFY THE fules LINE BELOW
@bsdf
bsdf / gist:3686369
Created September 9, 2012 18:44
tblq
#!/usr/bin/env perl
use strict;
use warnings;
use WWW::Tumblr;
die 'u need to specify some filesz' if not @ARGV;
my $t = WWW::Tumblr->new(
@bsdf
bsdf / brewcd.zsh
Last active December 12, 2015 12:19
adds 'cd' command to brew which lets you cd into a formula's directory
unfunction brew &> /dev/null
orig=$(which brew)
function brew() {
if [[ $1 = 'cd' ]]; then
dir=$($orig --prefix $2)
if [[ $? -eq 0 ]]; then
# cd to the formula's prefix
cd $dir
else