Skip to content

Instantly share code, notes, and snippets.

View MarkL4YG's full-sized avatar
👔
At work

Magnus Leßmann (@MarkL4YG) MarkL4YG

👔
At work
  • Fullstack developer
  • Germany (Schleswig-Holstein | Near Hamburg)
  • 19:31 (UTC +02:00)
View GitHub Profile
@MarkL4YG
MarkL4YG / setup-win10.md
Created April 28, 2022 21:44
YubiKey Development setup (Git signing & SSH-auth)

! WIP !

Application setup

1 Configure GPG4Win with pageant support.

  1. From GPG4Win
  2. Command line: gpg-connect-agent /bye to start the gpg-connect agent.
Log output
@MarkL4YG
MarkL4YG / ts3server.log
Created August 2, 2019 15:26
TS3 - Server listening issue
:/home/container$ ./ts3server_minimal_runscript.sh default_voice_port=60001 query_port=60001
2019-08-02 15:25:42.109540|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.8.0 (2019-05-27 06:32:09)
2019-08-02 15:25:42.109603|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 Binary: 64bit
2019-08-02 15:25:42.109619|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
2019-08-02 15:25:42.109629|INFO |ServerLibPriv | |Using hardware aes
2019-08-02 15:25:42.109925|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2019-08-02 15:25:42.109945|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2019-08-02 15:25:42.110060|INFO |DatabaseQuery | |checking database integrity (may take a while)
2019-08-02 15:25:42.119401|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
2019-08-02 15:25:42.119509|INFO |Accounti
  1. Why is the IPv6 subnet registered although it is disabled?
  2. Why does the nslookup return IPv6 addresses when that shouldn't be available inside the container 2.1 Why does the lookup return two different sets of addresses before failing?
  3. Why does the lookup succeed when the request type is explicitly specified?
  4. Since applications mostly use the equivalent of the non-explicit lookup, how can we debug or even fix the issue?
@MarkL4YG
MarkL4YG / debug.log
Created June 11, 2019 18:41
ClosedChannelException - Jeak framework REST integration
20:38:52.865 [qtp1698893461-23-acceptor-0@67d60a43-ServerConnector@26289f22{HTTP/1.1,[http/1.1]}{0.0.0.0:8723}] DEBUG org.eclipse.jetty.io.ManagedSelector - Queued change org.eclipse.jetty.io.ManagedSelector$Accept@534b7689 on ManagedSelector@1666b152{STARTED} id=0 keys=0 selected=0 updates=0
20:38:52.865 [qtp1698893461-23-acceptor-0@67d60a43-ServerConnector@26289f22{HTTP/1.1,[http/1.1]}{0.0.0.0:8723}] DEBUG org.eclipse.jetty.io.ManagedSelector - Wakeup on submit ManagedSelector@1666b152{STARTED} id=0 keys=0 selected=0 updates=1
20:38:52.865 [qtp1698893461-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@8eec980 woken with none selected
20:38:52.865 [qtp1698893461-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@8eec980 woken up from select, 0/0/0 selected
20:38:52.865 [qtp1698893461-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@8eec980 processing 0 keys, 1 updates
20:38:52.866 [qtp1698893461-2
@MarkL4YG
MarkL4YG / Install-Output.log
Created January 8, 2019 10:52
tree-sitter-cli installation errors
$ npm i -g tree-sitter-cli vue-cli
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
C:\Users\life4\AppData\Roaming\npm\tree-sitter -> C:\Users\life4\AppData\Roaming\npm\node_modules\tree-sitter-cli\cli.
C:\Users\life4\AppData\Roaming\npm\vue -> C:\Users\life4\AppData\Roaming\npm\node_modules\vue-cli\bin\vue
C:\Users\life4\AppData\Roaming\npm\vue-list -> C:\Users\life4\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-list
C:\Users\life4\AppData\Roaming\npm\vue-init -> C:\Users\life4\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-init
> tree-sitter@0.13.23 install C:\Users\life4\AppData\Roaming\npm\node_modules\tree-sitter-cli\node_modules\tree-sitter
> prebuild-install || node-gyp rebuild
@MarkL4YG
MarkL4YG / debug.log
Created August 8, 2018 20:49
Rolling_Stock_Missing
This file has been truncated, but you can view the full file.
[21:56:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:56:46] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:56:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:56:46] [main/DEBUG] [FML]: Injecting tracing printstreams for STDOUT/STDERR.
[21:56:46] [main/INFO] [FML]: Forge Mod Loader version 14.23.4.2739 for Minecraft 1.12.2 loading
[21:56:46] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_161, running on Linux:amd64:4.12.14-041214-generic, installed at /usr/lib/jvm/java-8-oracle/jre
[21:56:46] [main/DEBUG] [FML]: Java classpath at launch is:
[21:56:46] [main/DEBUG] [FML]: forge-1.12.2-14.23.4.2739-universal.jar
[21:56:46] [main/DEBUG] [FML]: Java library path at launch is:
[21:56:46] [main/DEBUG] [FML]: /usr/java/packages/lib/amd64
@MarkL4YG
MarkL4YG / WorlListCommand.java
Last active April 10, 2017 20:25
An example for why I think something is wrong.
//This is the working solution. Comments show where things get weird.
@Override
public CommandResult execute(CommandSource src, CommandContext args) throws CommandException {
// A lot of sh*t that doesn't actually matter
List<World> l = new ArrayList<World>();
l.addAll(Sponge.getServer().getWorlds());
List<Text> t = new ArrayList<Text>();
final String CHATDIV = new String(new char[40]).replace("\0", "+");
t.add(Text.of(TextColors.WHITE, CHATDIV));