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
require "./mess/*" | |
require "kemal" | |
require "json" | |
require "mysql" | |
require "pool/connection" | |
db = ConnectionPool.new(capacity: 25, timeout: 0.01) do | |
DB.open(ENV["DATABASE_URL"]) | |
end |
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 a/src/exception.cr b/src/exception.cr | |
index cd4450c..570e2fd 100644 | |
--- a/src/exception.cr | |
+++ b/src/exception.cr | |
@@ -21,7 +21,11 @@ struct CallStack | |
makecontext_start = makecontext_end = LibDL.dlsym(LibDL::RTLD_DEFAULT, "makecontext") | |
while true | |
- ret = LibDL.dladdr(makecontext_end, out info) | |
+ ifdef cygwin |
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
require "http" | |
require "uuid" | |
require "uuid/json" | |
class App | |
include HTTP::Handler | |
def call(context) | |
Fiber.yield # Simulate getting data from the DB | |
response_payload.to_json context.response |
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
From 1f00753130f44c0e29c34d95957f6eac2b2dcf45 Mon Sep 17 00:00:00 2001 | |
From: Leon Klingele <git@leonklingele.de> | |
Date: Tue, 29 Sep 2020 18:21:13 +0200 | |
Subject: [PATCH 1/2] apple-keychain-integration-other-changes | |
--- | |
Makefile.in | 16 +- | |
audit-bsm.c | 7 +- | |
auth.c | 2 +- | |
authfd.c | 25 ++ |
OlderNewer