curl throughnothing.com/dotfiles.sh | bash
bash <(curl throughnothing.com/dotfiles.sh)
To use with a specific branch:
curl throughnothing.com/dotfiles.sh | bash -s BRANCH
bash <(curl throughnothing.com/dotfiles.sh) BRANCH
# Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html | |
Hi everyone, I'm Chris Wanstrath. | |
When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But | |
then I took a few moments and thought, Wait, why? Why me? What am I supposed | |
to say that's interesting? Something about Ruby, perhaps. Maybe the | |
future of it. The future of something, at least. That sounds | |
keynote-y. | |
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
package Resque; | |
use Any::Moose; | |
use Redis; | |
use JSON; | |
has server => (is => 'rw', isa => 'Str', default => 'localhost:6379'); | |
has redis => (is => 'rw', isa => 'Redis', lazy_build => 1); | |
sub _build_redis { | |
my $self = shift; |
(defmacro def-curry-fn [name args & body] | |
{:pre [(not-any? #{'&} args)]} | |
(if (empty? args) | |
`(defn ~name ~args ~@body) | |
(let [rec-funcs (reduce (fn [l v] | |
`(letfn [(helper# | |
([] helper#) | |
([x#] (let [~v x#] ~l)) | |
([x# & rest#] (let [~v x#] | |
(apply (helper# x#) rest#))))] |
#!/usr/bin/env python | |
""" | |
getimg.py | |
Gets the current image of the day from NASA and sets it as the | |
background in Gnome. The summary / description text is written | |
to the image. | |
Requires: | |
PIL (apt-get install python-imaging or pip install PIL) |
conn_info: | |
server: irc.freenode.net | |
port: 6667 | |
channels: | |
- '#foo' | |
- '#bar' | |
nick: foobot | |
username: foobot | |
name: defender of the universe | |
ignore_list: |
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Mathieu 'p01' Henri - http://www.p01.org/releases/ | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
#!/usr/bin/env perl | |
# Based on Randy Stauner's http://blogs.perl.org/users/randy_stauner/2011/06/exploratory-one-liners-with-less-typing.html | |
# and Marco Fontani's https://gist.github.com/1042504. | |
# To install all dependencies: | |
# sudo cpanm File::Slurp JSON::XS Data::Dump YAML::XS utf8::all Class::Autouse | |
# Installation: | |
# copy this file to ~/bin/p | |
# Example usage: | |
# p 'dd [File::Spec->path]' # dynamically load arbitrary modules | |
# p -pe 's/foo/bar/' foo.txt # use your favorite options like -lane |