-
in_debug_agent
-
in_dummy
-
in_exec
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
-include_lib("public_key/include/public_key.hrl"). | |
extract_public_key(CertPath) | |
{ok, CertBinary} = file:read_file(CertPath), | |
CertPemEntries = public_key:pem_decode(CertBinary), | |
{'Certificate', Cert, _} = lists:keyfind('Certificate', 1, CertPemEntries), | |
#'OTPCertificate'{ | |
tbsCertificate = #'OTPTBSCertificate'{ | |
subjectPublicKeyInfo = #'OTPSubjectPublicKeyInfo'{ | |
subjectPublicKey = PublicKey |
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
diff --git ebin/rebar.app ebin/rebar.app | |
index 710f8b2..b683ffb 100644 | |
--- ebin/rebar.app | |
+++ ebin/rebar.app | |
@@ -46,7 +46,8 @@ | |
rebar_metacmds, | |
rebar_getopt, | |
rebar_mustache, | |
- rmemo ]}, | |
+ rmemo, |
no-EVP
1> c(bench3).
{ok,bench3}
2> bench3:run().
encrypt: 65230 times/sec
decrypt: 67715 times/sec
ok
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
-module(fifocache). | |
-export([new/1, push/3, lookup/2]). | |
%%----------------------------------------- | |
%% FIFO cache | |
%% | |
%% - Representation | |
%% | |
%% {Map, Array, Size, Bottom, Top, NewFlag} |
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
-module(ca_cowboy_middleware). | |
-behaviour(cowboy_middleware). | |
-export([execute/2]). | |
execute(Req, Env) -> | |
{ok, ReqWithCorsHeaders} = set_cors_headers(Req), | |
Method = cowboy_req:method(ReqWithCorsHeaders), |
ちょっと前の話ですが、トレジャーデータという会社を辞めました。えぐいほどいい会社だし、全世界のIoTデータをさばくやつを作るのは技術者として死ぬほど楽しいんだろうなと思ったけど、僕はあるスタートアップに行くことにしました。
カンムという会社です。よろしくお願いします。
OlderNewer