create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/usr/bin/env perl | |
use Modern::Perl; | |
use DBI; | |
use DBD::Pg qw(:async); | |
use Coro; | |
use AnyEvent; | |
use Time::HiRes qw(time); |
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
plugin 'OAuth2', | |
google => { | |
key => $ENV{GOOGLE_OAUTH2_CLIENT_ID}, | |
secret => $ENV{GOOGLE_OAUTH2_CLIENT_SECRET}, | |
}; | |
my $service = 'https://www.googleapis.com'; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
package main; | |
use Mojo::Base -strict; | |
use Test::More; | |
use Mojo::UserAgent; | |
use Mojo::Transaction; | |
# preparing... monkey patch is a good style | |
no warnings 'redefine'; | |
local *Mojo::UserAgent::get = sub { | |
my $tx = Mojo::Transaction->new; |
# Start a vagrant without virtualbox guest additions | |
$ vagrant init debian/jessie64 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
#!/usr/bin/env perl | |
package Mojo::URLQueue; | |
use Mojo::Base 'Mojo::EventEmitter'; | |
use Mojo::UserAgent; | |
has queue => sub { [] }; | |
has ua => sub { Mojo::UserAgent->new(max_redirects => 5) }; | |
has concurrency => 4; |