[master]
username=
password=
hostname=
remotepath=
gitftpignore=.gitftpignore
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
use JSON; | |
use Furl::HTTP; | |
my $ua = Furl::HTTP->new; | |
my (undef, $code, undef, undef, $body) = $ua->get('http://localhost:10041/d/status'); | |
my $status = decode_json($body); | |
print $status->{uptime}; |
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" /> | |
<title>Perl Search</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta name="format-detection" content="telephone=no" /> | |
<link rel="apple-touch-icon" href="apple-touch-icon.png" /> | |
<style> | |
html, body { margin:0; background-color:#DAE0E5; word-break:break-all; } |
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
use strict; | |
use warnings; | |
use LWP::Simple; | |
use XML::Simple; | |
my $url = shift or die "Usage: $0 url"; | |
my $content = get $url or die "Cannot get $url"; | |
foreach my $entry (@{ XMLin($content)->{body}{outline}{outline} }) { | |
print $entry->{htmlUrl} . "\n"; |
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
use strict; | |
use warnings; | |
use 5.010; | |
use utf8; | |
use Time::Piece; | |
use Furl; | |
use JSON; | |
use Term::ReadKey qw/GetTerminalSize/; | |
my $id = '101763292'; # zeebratv |
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
javascript:(function(){u=encodeURIComponent(location.href);window.open("https://twitter.com/#!/search/"+u);})(); |
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
javascript:(function(){u=encodeURIComponent(location.href);window.open("line://msg/text/"+document.title+' '+u);})(); |
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
{ | |
"run_list": [ | |
"yum::epel", | |
"iptables", | |
"nginx" | |
], | |
"nginx": { | |
"install_method": "source", | |
"source": { | |
"modules": [ |
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
application: {{package.name}} | |
version: {{dashify package.version}} | |
runtime: python27 | |
api_version: 1 | |
threadsafe: true | |
handlers: | |
- url: /robots.txt | |
static_files: robots.txt |
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
{ | |
"title" : "", | |
"url" : "", | |
"keywords" : "", | |
"description" : "", | |
"copyright" : "", | |
"blog_url" : "", | |
"blog_rss" : "", | |
"support_url" : "", | |
"facebook_url" : "", |
OlderNewer