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 / System Design.md
Created April 26, 2016 21:26 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@lwiechec
lwiechec / pom.clj
Created February 3, 2017 11:19
sample pom.clj
(defmaven 'sample/csd-publisher "1.0-SNAPSHOT"
:model-version "4.0.0"
:parent [ 'sample/pom :version "LATEST" ]
:packaging "jar"
:name "Simple CSD Publisher webapp"
:url "http://goo.com/csd-publisher-web"
:properties {
:project.build.sourceEncoding "UTF-8"
https://www.holandaevoce.nl/o-seu-pais-e-os-paises-baixos/portugal/viajar-e-viver/lista-de-tradutores-e-interpretes
@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
@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 / 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 / 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
<!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 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)
@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)