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
<div class="content wrap"> | |
<div class="about"> | |
<table> | |
<tr> | |
<td> | |
<div class="portrait" style="padding:20px;margin-top:17px"> | |
<img src="{PortraitURL-96}"> | |
</div> | |
</td> | |
<td> |
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
--- | |
- hosts: servers | |
user: root | |
tasks: | |
- name: get jenkins repo | |
command: wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
- name: install jenkins | |
command: rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key | |
- name: install Jenkins by yum | |
yum: name=jenkins state=latest |
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 Data::Dumper; | |
use Getopt::Long; | |
use Pod::Usage; | |
use DigitalOcean; | |
my $client_id = $ENV{DIGITALOCEAN_CLIENT_ID}; |
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
--- | |
- name: install perl with perlenv | |
script: perlenv.sh | |
- name: copy cpanfile to /tmp/ | |
copy: src=cpanfile dest=/tmp/cpanfile | |
- name: install modules | |
script: install_with_cpanm.sh | |
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
requires 'DigitalOcean', 0.08; |
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/bash | |
export PLENV_ROOT=/opt/perl5 | |
export PATH="$PLENV_ROOT/bin:$PATH" | |
eval "$(plenv init -)" | |
cd /tmp | |
if [[ -e 'cpanfile' ]] | |
then | |
cpanm --installdeps . |
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/bash | |
export PLENV_ROOT=/opt/perl5 | |
if [[ ! -e $PLENV_ROOT ]];then | |
mkdir -p /opt/perl5 | |
git clone git://github.com/tokuhirom/plenv.git $PLENV_ROOT | |
git clone git://github.com/tokuhirom/Perl-Build.git $PLENV_ROOT/plugins/perl-build/ | |
$PLENV_ROOT/bin/plenv install 5.18.2 | |
$PLENV_ROOT/bin/plenv rehash |
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
Show hidden characters
{ | |
"retainLines": true, | |
"compact": true, | |
"comments": false, | |
"whitelist": [ | |
"es6.arrowFunctions", | |
"es6.blockScoping", | |
"es6.classes", | |
"es6.constants", | |
"es6.destructuring", |
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/env perl | |
use strict; | |
use warnings; | |
use AnyEvent::Twitter::Stream; | |
use EV; | |
use utf8; | |
use YAML; | |
use FindBin qw($Bin); | |
use Data::Dumper; |
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 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; |
OlderNewer