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
#!/bin/sh | |
#while true | |
for x in 1 2 | |
do | |
for x in 7325 4652 6398; do knock -v vpn.maxmind.com $x; done | |
echo "-----------------------------------"; | |
echo `date`; | |
echo "-----------------------------------"; | |
sleep 1; |
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
if ($args ~ "query=([^&]+)" ) { | |
set $query $1; | |
rewrite ^/search$ https://metacpan.org/search?q=$query?; | |
} | |
rewrite ^/perldoc$ https://metacpan.org/module/$args?; | |
rewrite ^/\~([^/]+)/([^/]+)/?$ https://metacpan.org/release/$1/$2; | |
rewrite ^/\~([^/]+)/([^/]+)/(.+)$ https://metacpan.org/module/$1/$2/$3; | |
rewrite ^/src\/([^/]+)/([^/]+)/(.+)$ https://metacpan.org/source/$1/$2/$3; | |
rewrite ^/dist/([^/]+)/?$ https://metacpan.org/release/$1; |
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
Olafs-MacBook-Pro:File-LibMagic olaf$ ls /usr/local/Cellar/libmagic/5.22/lib /usr/local/Cellar/libmagic/5.22/include | |
/usr/local/Cellar//libmagic/5.22/include: | |
magic.h | |
/usr/local/Cellar//libmagic/5.22/lib: | |
libmagic.1.dylib libmagic.dylib | |
Olafs-MacBook-Pro:File-LibMagic olaf$ perl Makefile.PL --lib /usr/local/Cellar/libmagic/5.22/lib --include /usr/local/Cellar/libmagic/5.22/include | |
Checking for magic.h... no |
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
ok 1 - stdout for c++ /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open.cpp -I/Users/olaf/Documents/github/libmaxminddb/include -L/Users/olaf/Documents/github/libmaxminddb/src/.libs -lmaxminddb -o/var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open | |
ok 2 - stderr for c++ /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open.cpp -I/Users/olaf/Documents/github/libmaxminddb/include -L/Users/olaf/Documents/github/libmaxminddb/src/.libs -lmaxminddb -o/var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open | |
ok 3 - exit status was 0 for c++ /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open.cpp -I/Users/olaf/Documents/github/libmaxminddb/include -L/Users/olaf/Documents/github/libmaxminddb/src/.libs -lmaxminddb -o/var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open | |
ok 4 - stdout for /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open | |
not ok 5 - stderr for /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/bPV3pGkzQf/open | |
# Failed test |
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
ok 1 - stdout for c++ /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open.cpp -I/Users/olaf/Documents/github/libmaxminddb/include -L/Users/olaf/Documents/github/libmaxminddb/src/.libs -lmaxminddb -o/var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open | |
ok 2 - stderr for c++ /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open.cpp -I/Users/olaf/Documents/github/libmaxminddb/include -L/Users/olaf/Documents/github/libmaxminddb/src/.libs -lmaxminddb -o/var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open | |
ok 3 - exit status was 0 for c++ /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open.cpp -I/Users/olaf/Documents/github/libmaxminddb/include -L/Users/olaf/Documents/github/libmaxminddb/src/.libs -lmaxminddb -o/var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open | |
ok 4 - stdout for /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open | |
not ok 5 - stderr for /var/folders/fp/9h53zss57419btwxl9wq683w0000gn/T/3QCz8rd3SE/open | |
# Failed test |
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
olaf@bm-mc-01:~$ sudo awk -F"\"" '{print $6}' /var/log/nginx/metacpan-web/access.log | sort | uniq -dc | sort -nr | head -20 | |
11915 CCBot/2.0 (http://commoncrawl.org/faq/) | |
11452 Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp) | |
7767 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) | |
5423 Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/2.0; +http://go.mail.ru/help/robots) | |
4194 Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) | |
2537 Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) | |
2498 Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) | |
2366 Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 | |
2259 Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
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
File: 06perms.txt | |
Description: Description: CSV file of upload permission to the CPAN per namespace | |
best-permission is one of "m" for "modulelist", "f" for | |
"first-come", "c" for "co-maint" | |
Columns: package, userid, best-permission | |
Intended-For: Automated fetch routines, namespace documentation. | |
Written-By: MetaCPAN | |
Line-Count: 3 | |
Date: Sun, 19 Apr 15 13:00:03 UTC |
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
de 1.234,5 | |
en 1,234.5 | |
fr 1 234,5 | |
es 1 234,5 | |
ja 1,234.5 | |
ru 1 234,5 | |
pt 1.234,5 | |
zh 1,234.5 |
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
de 1.234,50 $ | |
en $1,234.50 | |
fr 1 234,50 $US | |
es 1 234,50 $ | |
ja $1,234.50 | |
ru 1 234,50 $ | |
pt US$1.234,50 | |
zh US$ 1,234.50 | |
de 1.234,50 CA$ |
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 Plack::Middleware::Debug::Session::Pretty; | |
use strict; | |
use warnings; | |
use parent qw(Plack::Middleware::Debug::Base); | |
use Data::Printer 0.36; | |
use Text::MicroTemplate; |