mkdir -p fluentdCA/{private,newcerts,certs,crl}
touch fluentdCA/index.txt
echo 00 > fluentdCA/serial
This file contains hidden or 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
module github.com/okkez/csv-aggregation-example/generator | |
go 1.14 | |
require github.com/bxcodec/faker/v3 v3.5.0 |
This file contains hidden or 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
#0 0x000055726fb42580 in YaSkkServ::SkkUtility::Hash<(YaSkkServ::SkkUtility::HashType)0>::compare ( | |
key_0=key_0@entry=0x557271644479 "\251\333;a^/\251\332;a:/\251\331;a~/\251\330;a^/\251\327;a'/\251\326;a`/\252\311;av/\252\254;a,/\254\301;(a)/\251\247;\300\276\270\354\275\367\300\255\275\370\277\364/\253\263;[IPA]/\253\267;[IPA]/\253\271;[IPA]/\253\272;[IPA]/\na' /\251\327/\253\307;ȯ\262\273\265\255\271\346/\253\313;ȯ\262\273\265\255\271\346/\253\315;ȯ\262\273\265\255\271\346/\na, /\252\254/\na- /\251\372/\na: /\251\332/\na^ /\251\333/\251\330/\na` /\251\326/\253\306;ȯ\262"..., | |
key_1=key_1@entry=0x2031303930373337 <error: Cannot access memory at address 0x2031303930373337>, size=size@entry=5, | |
this=0x7ffcb88beb10) at /home/kenji/wc/yaskkserv/source/skk/skk_utility.hpp:1210 | |
#1 0x000055726fb42b71 in YaSkkServ::SkkUtility::Hash<(YaSkkServ::SkkUtility::HashType)0>::contain (size=<optimized out>, | |
key=<optimized out>, this=<optimized out>) at /home/kenji/wc/yaskkserv/source/skk/skk_utility.hpp:1 |
This file contains hidden or 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
require "benchmark" | |
str1 = "a b" | |
str2 = "a b" | |
N = 100000 | |
Benchmark.bmbm do |x| | |
x.report("gsub") do | |
N.times do |
This file contains hidden or 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
Rehearsal ---------------------------------------------------------- | |
Asia/Tokyo 0.546691 0.111622 0.658313 ( 0.659132) | |
US/Pacific summer time 0.624673 0.144011 0.768684 ( 0.768710) | |
US/Pacific 0.628339 0.144027 0.772366 ( 0.772654) | |
------------------------------------------------- total: 2.199363sec | |
user system total real | |
Asia/Tokyo 0.526534 0.107934 0.634468 ( 0.634722) | |
US/Pacific summer time 0.561836 0.183536 0.745372 ( 0.745895) | |
US/Pacific 0.624210 0.124091 0.748301 ( 0.748303) |
This file contains hidden or 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
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; proxy; proxy_accept_socket: accepted milter connection from 127.0.0.1 port 60572 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_handle_session: read 17 bytes, 0 remain, 65541 allocated | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_consume_input: offset: 0, state: 0 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_consume_input: offset: 1, state: 1 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_consume_input: offset: 2, state: 2 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_consume_input: offset: 3, state: 3 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_consume_input: offset: 4, state: 4 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_consume_input: offset: 5, state: 5 | |
2018-07-03 10:14:46 #9231(rspamd_proxy) <4fa76d>; milter; rspamd_milter_process_command: optneg: version: 6, actions: 511, |
This file contains hidden or 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
require_relative "./lib/fluent/test/helpers" | |
require_relative "./lib/fluent/command/plugin_config_formatter" | |
Dir.glob("./lib/fluent/plugin/*.rb").each do |entry| | |
require_relative entry | |
end | |
require_relative "./lib/fluent/load" | |
include Fluent::Test::Helpers |
This file contains hidden or 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
require_relative "../lib/fluent/load" | |
require_relative "../lib/fluent/plugin/filter_grep" | |
require_relative "../lib/fluent/plugin/filter_grep_new1" | |
require_relative "../lib/fluent/plugin/filter_grep_new2" | |
require_relative "../lib/fluent/test" | |
require_relative "../lib/fluent/test/driver/filter" | |
require "benchmark" | |
require "benchmark/ips" |
This file contains hidden or 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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <cairo/cairo.h> | |
#include <cairo/cairo-pdf.h> | |
void main() | |
{ | |
// Creating a cairo PDF Surface | |
cairo_surface_t *csurface = cairo_pdf_surface_create("/home/kenji/a.pdf", 500, 400); |
This file contains hidden or 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
echo "==============================" | |
echo " td-agent Installation Script " | |
echo "==============================" | |
echo "This script requires superuser access to install apt packages." | |
echo "You will be prompted for your password by sudo." | |
# clear any previous sudo permission | |
sudo -k | |
# run inside sudo |
NewerOlder