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
(function(){ | |
//========================================================================= | |
// To avoid the conflict with Mojolicious's template | |
//========================================================================= | |
// _.templateSettings = { | |
// evaluate: /\{\{([\s\S]+?)\}\}/g, | |
// interpolate: /\{\{=([\s\S]+?)\}\}/g | |
// }; |
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
jQuery(function($) { | |
$(document).ready(function() { | |
$('#search').click(function(){ | |
mainSearch(); | |
}); | |
$('#submit').click(function(){ | |
var knowledge = {}; | |
knowledge.know = $('#know').val(); |
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
package Homenotes; | |
use Mojo::Base 'Mojolicious'; | |
use Mojolicious::Plugin::Web::Auth; | |
use Plack::Session; | |
use Data::Dumper; | |
use FindBin qw($Bin); | |
sub startup { | |
my $self = shift; |
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/env perl | |
use strict; | |
use warnings; | |
use AnyEvent::Twitter::Stream; | |
use EV; | |
use utf8; | |
use YAML; | |
use FindBin qw($Bin); | |
use Data::Dumper; |
NewerOlder