git push <remote name> :<remote branch name>
git push origin :hoge
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 Data::Dumper; | |
use Mojo::UserAgent; | |
use Mojo::JSON('decode_json'); | |
my $conf = { | |
host=>'localhost', | |
user=>'admin', |
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 5.010; | |
use Data::Dumper; | |
use Mojo::UserAgent; | |
use Mojo::JSON('decode_json'); | |
use utf8; | |
use Encode qw(encode); |
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 feature 'say'; | |
use Mojo::DOM; | |
use Mojo::UserAgent; | |
use Data::Dumper; | |
use Encode; | |
my $ua = Mojo::UserAgent->new; |
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
// 休日のjsonを返す | |
// this gas return json that all holidays in this month | |
// or reutrn specific range of holidays if keys esisted. eg http://<script_url>?start_date=2016-04-10&end_date=2016-05-11 | |
function doGet(e) { | |
var today = new Date(); | |
// キーの取得 | |
var param_start_date = e.parameter.start_date; | |
var param_end_date = e.parameter.end_date; | |
var output = {}; |
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; | |
my @array = (10,8,2,2); | |
while( my ($i, $e) = each @array){ | |
say "i: $i, e: $e"; | |
} |
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
alert('hoge') |
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
reset max of y axis | |
``` | |
chart.internal.config.axis_y_max=undefined; | |
``` |
OlderNewer