Skip to content

Instantly share code, notes, and snippets.

View lwiechec's full-sized avatar

Lukasz Wiechec lwiechec

  • Den Haag, Nederland
View GitHub Profile
@lwiechec
lwiechec / oidc_client.clj
Created January 31, 2024 09:43 — forked from holyjak/oidc_client.clj
A stateful CLI tool for getting access token from an OIDC provider
#!/usr/bin/env bb
(ns oidc-client
"Get end-user access token from an OIDC provider, caching the access/refresh token in an encrypted file. Code in https://babashka.org
Usage:
/path/to/oidc_client.clj
When there are no cached, valid tokens, it will open a browser with the OIDC provider login URL and start a HTTPS-enabled
callback server on localhost. Make sure that the resulting redirect_uri is registered with your provider.
@lwiechec
lwiechec / acme_srv.cfg
Created September 16, 2021 08:20
acme2certfier - config files and log
[DEFAULT]
#debug: False
debug: True
[Nonce]
# disable nonce check. THIS IS A SEVERE SECURTIY ISSUE! Please do only for testing/debugging purposes
nonce_check_disable: False
[CAhandler]
# CA specific options
@lwiechec
lwiechec / acme-companion.log
Created September 13, 2021 15:03
acme2certifier log - almost there.
Directory._config_load()
load_config(/var/www/acme2certifier/./acme_srv/acme_srv.cfg:Directory)
CAhandler._config_load() ended
10.7.31.40 /
Directory.directory_get()
[pid: 20|app: 0|req: 16/37] 10.7.31.40 () {32 vars in 391 bytes} [Mon Sep 13 15:00:58 2021] GET / => generated 610 bytes in 0 msecs (HTTP/1.1 200) 1 headers in 51 bytes (1 switches on core 0)
Nonce.nonce_generate_and_add()
Nonce.nonce__new()
got nonce: 05097d02fb9749a0bbc9e7eb89da564d
DBStore.nonce_add(05097d02fb9749a0bbc9e7eb89da564d)
@lwiechec
lwiechec / log.txt
Created September 11, 2021 00:00
acme2certifier log
Directory._config_load()
load_config(/var/www/acme2certifier/./acme_srv/acme_srv.cfg:Directory)
CAhandler._config_load() ended
192.168.252.148 /
Directory.directory_get()
[pid: 18|app: 0|req: 6/13] 192.168.252.148 () {32 vars in 396 bytes} [Fri Sep 10 23:54:47 2021] GET / => generated 610 bytes in 0 msecs (HTTP/1.1 200) 1 headers in 51 bytes (1 switches on core 0)
Nonce.nonce_generate_and_add()
Nonce.nonce__new()
got nonce: 99cd7247dd2d4488abd3ef7198bb19f3
DBStore.nonce_add(99cd7247dd2d4488abd3ef7198bb19f3)
<!DOCTYPE html>
<html>
<head>
<title>Cucumber Feature Report</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" >
<style type="text/css">
.panel-heading {
padding: 0;
}
@lwiechec
lwiechec / log.txt
Created November 20, 2020 12:01
Emacs LSP startup problem
This file has been truncated, but you can view the full file.
!SESSION 2020-11-20 11:05:57.657 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_202
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -data /home/luke/.emacs.d/workspace/
This is a continuation of log file /home/luke/dotfiles/etc/emacs.d/workspace/.metadata/.bak_0.log
Created Time: 2020-11-20 11:06:00.906
@lwiechec
lwiechec / exception.txt
Created June 10, 2020 08:25
lsp-java problem with loading subsequent files
Debugger entered--Lisp error: (error "The connected server(s) does not support method textDocument/documentHighlight\nTo find out what capabilities support your server use ‘M-x lsp-describe-session’ and expand the capabilities section.")
signal(error ("The connected server(s) does not support method textDocument/documentHighlight\nTo find out what capabilities support your server use ‘M-x lsp-describe-session’ and expand the capabilities section."))
error("The connected server(s) does not support method %s\nTo find out what capabilities support your server use `M-x lsp-describe-session' and expand the capabilities section." "textDocument/documentHighlight")
lsp--send-request-async((:jsonrpc "2.0" :method "textDocument/documentHighlight" :params (:textDocument (:uri "file:///home/luke/work/projects/bruc-testcases/src/test/java/int_/nato/ncia/majiic/testing/testng/cucumber/UTPasswordCallbackHandler.java") :position (:line 0 :character 0))) lsp--document-highlight-callback tick nil nil :highlights)
lsp-r
@lwiechec
lwiechec / buildreport.txt
Created November 4, 2018 12:58
Compiling wget on BB10 - failing
luke@luke-new-laptop:~/fun/blackberry/wget-1.19$ sh bb10_compile
make all-recursive
make[1]: Entering directory '/home/luke/fun/blackberry/wget-1.19'
Making all in lib
make[2]: Entering directory '/home/luke/fun/blackberry/wget-1.19/lib'
make all-recursive
make[3]: Entering directory '/home/luke/fun/blackberry/wget-1.19/lib'
make[4]: Entering directory '/home/luke/fun/blackberry/wget-1.19/lib'
CC base32.o
CC binary-io.o
@lwiechec
lwiechec / console_output
Created January 15, 2018 10:14
NUnit Console run on Windows
1) Error : NCIA.CCIF.CSDQuery.ClientServiceLibrary.CSDQueryHelperTest.GetCapabilitiesTest
System.ServiceModel.EndpointNotFoundException : There was no endpoint listening at http://csd-query-service.docker-cdte.
nu.majiic2/CSDQueryService that could accept the message. This is often caused by an incorrect address or SOAP action. S
ee InnerException, if present, for more details.
----> System.Net.WebException : The remote name could not be resolved: 'csd-query-service.docker-cdte.nu.majiic2'
Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message messag
https://www.holandaevoce.nl/o-seu-pais-e-os-paises-baixos/portugal/viajar-e-viver/lista-de-tradutores-e-interpretes