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
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError | |
at java.util.IdentityHashMap.get(IdentityHashMap.java:331) | |
at javax.swing.RepaintManager.extendDirtyRegion(RepaintManager.java:576) | |
at javax.swing.RepaintManager.addDirtyRegion0(RepaintManager.java:404) | |
at javax.swing.RepaintManager.addDirtyRegion(RepaintManager.java:468) | |
at javax.swing.JComponent.repaint(JComponent.java:4736) | |
at java.awt.Component.repaint(Component.java:3117) | |
at javax.swing.text.DefaultCaret.repaint(DefaultCaret.java:245) | |
at javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1261) | |
at javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:1170) |
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
#!/usr/bin/env python3 | |
""" | |
License: MIT License | |
Copyright (c) 2023 Miel Donkers | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer |