Skip to content

Instantly share code, notes, and snippets.

View wchristian's full-sized avatar

Christian Walde (Mithaldu) wchristian

View GitHub Profile
// Please reply above this line
==================================================
From: Petros Amiridis (Support staff)
Subject: [Contact] org name not visible on org page?
I have added your request to the feature suggestions list.
To unsubscribe and stop receiving emails from https://github.tenderapp.com, visit
https://github.tenderapp.com/unsubscribe/09a95db61b7568d9e768ad0b214470d5dfdbe025
package Trap;
sub moo { print 1 }
use It's::A::Trap;
1;
.graph { width:0px;height:2px;background-color:#F00;float:right; }
.hid { display: none }
.nothumb { float: left; background: #eee; border: 2px dashed #aaa; text-align: center; margin: 2px 20px; padding: 1em 0.5em 1em 0.5em; }
.postarea table { margin: 0px auto; text-align: left }
.postarea { text-align: center }
.reflink a { color: inherit; text-decoration: none }
.replyhide .filesize, .reply .filesize { margin-left: 20px }
.replypage .replylink { display: none }
.thumb { border: none; float: left; margin: 2px 20px }
.zoom{ position:absolute;display:none; }

äöü
package MySite::Site::View::TT;
use Catalyst::View::TT 0.37 ();
use base 'Catalyst::View::TT';
use Template::AutoFilter;
__PACKAGE__->config(
CLASS => "Template::AutoFilter",
);
<dylukes> I know people who have yelled at me for making them lose their work,
<dylukes> because I opened a new window in front of it.
<dylukes> And then when I moved the window partially away...
<dylukes> they asked if they could get ALL of the file back
<dylukes> and not just the part that was showing
<dylukes> .__.
get '/add/*/*' => sub { forward '/add' };
get '/add/*' => sub { forward '/add' };
get '/add' => sub {
my ( $data_type, $sort ) = splat;
my %job = ( data_type => $data_type, sort => $sort, active => 1, min => 0, hour => 0, day => '*', month => '*', weekday => '2' );
debug to_dumper \%job;
template 'edit', { job => \%job, mode => 'add' };
};
package TFX::Crontabs;
use Dancer qw( get post template params redirect forward );
use Dancer::Plugin::Database 'database';
our $VERSION = '0.1';
my $table = 'cronjobs';
get '/' => sub {
var colors = Array();
var max_column = 7;
var min_size_limit = 9999;
function do_graphs() {
fill_colors();
var graphs = Array();
graphs.push( render_canvas('graph_sha1') );
function render_canvas(id) {
var target = $('#' + id);
var x = target.offset().left;
var y = target.offset().top;
var width = target.innerWidth();
var height = target.innerHeight();
var r = Raphael( x, y, width, height );
r.path("M0 0L"+width+" "+height);
}