This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>jQueryMobileTest</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.js"></script> | |
<link type="text/css" rel="stylesheet" href="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.css" /> | |
<style type="text/css"></style> |
This file contains 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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Mojolicious::Lite; | |
use DateTime; | |
use Mojo::JSON; | |
use utf8; | |
get '/' => 'index'; |
This file contains 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 Kadai::Library; | |
use strict; | |
use warnings; | |
use base qw(Class::Accessor::Fast); | |
use Carp qw(croak); | |
use WWW::Mechanize; | |
use Web::Scraper; | |
use DateTime; | |
use URI; |
This file contains 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 Map::RemapGoogleMap; | |
use strict; | |
use warnings; | |
use base qw(Class::Accessor::Fast); | |
use Carp qw(croak); | |
use LWP::UserAgent; | |
use URI; | |
__PACKAGE__->mk_accessors(qw(url)); |
This file contains 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 Map::RemapGoogleMap; | |
use strict; | |
use warnings; | |
use CGI::Carp qw(croak); | |
use LWP::UserAgent; | |
use URI; | |
sub new { | |
my ($class, %args) = @_; | |
my $self = bless { |
This file contains 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 WWW::Kadai::Auth::Simple; | |
use strict; | |
use warnings; | |
use CGI::Carp qw(croak); | |
use base qw(Class::Accessor::Fast Class::ErrorHandler); | |
use WWW::Mechanize; | |
use URI; | |
our $VERSION = 0.01; |
This file contains 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
var express = require('express'); | |
var request = require('request'); | |
var querystring = require('querystring'); | |
var app = express.createServer(); | |
var baseurl = "http://api.flickr.com/services/rest"; | |
var searchPhotoQuery = { | |
method: "flickr.photos.search", | |
api_key: "", | |
min_taken_date: "2011-01-13 00:00:00", |
This file contains 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
<script> | |
var searchSong, skipSong; | |
var entries = null; | |
var content = {}; | |
chrome.extension.onConnect.addListener(function(port) { | |
var api = new XMLHttpRequest(); | |
port.onMessage.addListener(function(msg) { | |
if (msg.status == "start") { | |
content.title = msg.title; |
This file contains 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 getTopUrl(query) { | |
var url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=' + encodeURI(query); | |
var response = UrlFetchApp.fetch(url); | |
var json = response.getContentText(); | |
var object = Utilities.jsonParse(json); | |
return object["responseData"]["results"][0]["unescapedUrl"]; | |
} |
This file contains 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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use Mojolicious::Lite; | |
use OAuth::Lite::Consumer; | |
use Config::Pit; | |
use Data::Dumper; |
OlderNewer