Person/Place/Thing | Shit-storm level (tm) |
---|---|
Obama / Healthcare | ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo] |
ERB and HAML templates | ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo] |
Matt Newton Metaprogramming | ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo] |
T-Mobile | ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo] |
Ruby Hash Rockets | ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo] |
PHP Developers | ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Insert an automatic text MIME part into HTML e-mail. | |
# (c) Daniel Doubrovkine, Art.sy 2012 | |
# MIT License | |
# | |
class ActionMailerWithTextPart < ActionMailer::Base | |
def collect_responses_and_parts_order(headers) | |
responses, parts_order = super(headers) | |
html_part = responses.detect { |response| response[:content_type] == "text/html" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# (1) copy to: ~/bin/ssh-host-color | |
# (2) set: alias ssh=~/bin/ssh-host-color | |
# | |
# Inspired from http://talkfast.org/2011/01/10/ssh-host-color | |
# Fork from https://gist.github.com/773849 | |
# | |
set_term_bgcolor(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*<?php | |
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
//\u000A\u002F\u002A | |
class PhpJava { | |
static function main() { | |
echo(//\u000A\u002A\u002F | |
"Hello World!"); | |
}} | |
//\u000A\u002F\u002A | |
PhpJava::main(); |