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
$ make go | |
Skip building js due to lack of nodejs | |
Skip building tex due to lack of tex | |
Skip building cl due to lack of sbcl | |
sed: illegal option -- - | |
usage: sed script [-Ealn] [-i extension] [file ...] | |
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] | |
Skip building cpp due to lack of g++-6 | |
Skip building i due to lack of ick | |
cp test/00exit.eir out/00exit.eir.tmp && mv out/00exit.eir.tmp out/00exit.eir |
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 5.018; | |
use utf8; | |
use warnings; | |
use strict; | |
my $size = 5; | |
sub bch5 { | |
my ($c) = @_; | |
my $pattern = ((1<<10) | (1<<8) | (1<<5) | (1<<4) | (1<<2) | (1<<1) | (1<<0))<<4; |
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
(defun wrap-region-by-string () | |
(interactive | |
(let ((start-point (region-beginning)) | |
(end-point (region-end))) | |
(save-excursion | |
(goto-char start-point) | |
(insert "{% trans %}") | |
(goto-char (+ end-point (length "{% trans %}"))) | |
(insert "{% endtrans %}"))))) |
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
$ ab -r -n 1000000 -c 10 http://localhost:8080/ | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 100000 requests | |
Completed 200000 requests | |
Completed 300000 requests | |
Completed 400000 requests |
$ perl -MStarlet\ 999
Starlet version 999 required--this is only version 0.27_01.
BEGIN failed--compilation aborted.
# それぞれのコマンドを別ウインドウで実行
$ start_server --port 5000 --pid app.pid -- plackup -s Starlet --max-workers 20 app.psgi > /dev/null 2>&1
$ while true; do kill -HUP `cat app.pid`; sleep 1; done
$ ab -c 20 -n 100000 -r http://localhost:5000/
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
# start_server --port 5000 --pid app.pid -- plackup -s Starlet --max-workers 20 app.psgi > /dev/null 2>&1 | |
# while true; do kill -HUP `cat app.pid`; sleep 1; done | |
my $app = sub { | |
my $env = shift; | |
return [ | |
200, | |
[ 'Content-Type' => 'text/plain' ], | |
[ "Hello World" ], | |
]; |
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 main | |
import ( | |
"encoding/csv" | |
"io" | |
"os" | |
"sort" | |
"gopkg.in/yaml.v2" | |
) |
Sync!
Flag!