Skip to content

Instantly share code, notes, and snippets.

proxy | 2024/01/22 18:04:13 proxy starting, commit: ebf3724b85167f0333b1131189a46fbdbda0c682
proxy | 2024/01/22 18:04:13 Listening (:1080)
updater | 2024-01-22T18:04:13.601814795 [777276196:main:WARN:src/devices/src/legacy/serial.rs:222] Detached the serial input due to peer close/error.
updater | time="2024-01-22T18:04:15Z" level=info msg="guest starting" commit=90af8a6c05b9bffe4b43b13215eded5f1f9b1c00
updater | time="2024-01-22T18:04:15Z" level=info msg="starting job..." fetcher_timeout=10m0s job_id=777276196 updater_timeout=45m0s updater_version=88dc96f79556f778c135e8b08f6f4e06a4acfc49-npm
updater | 2024/01/22 18:04:17 INFO Raven 3.1.2 ready to catch errors
updater | 2024/01/22 18:04:19 INFO <job_777276196> Starting job processing
proxy | 2024/01/22 18:04:19 [002] GET https://github.com:443/neanes/neanes/info/refs?service=git-upload-pack
proxy | 2024/01/22 18:04:19 [002] * authenticating git server request (host: github.com)
proxy | 2024/01/22 18:04:19 [002] 200 https://github.com:443/neanes/nean
@basil
basil / Main.java
Last active June 29, 2022 22:38
Convert `.properties` files to UTF-8
package com.basilcrow.jenkins;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.charset.CharacterCodingException;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CodingErrorAction;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
#!/usr/bin/env python3
# The MIT License
#
# Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number
# of other of contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
public class OuterClass {
public static class NestedClass1 {
}
public class NestedClass2 {
}
}
@basil
basil / make-jpkg-adoptopenjdk
Created December 7, 2018 02:10
Usage of make-jpkg(1) with AdoptOpenJDK
$ git clone https://salsa.debian.org/java-team/java-package.git
Cloning into 'java-package'...
[...]
$ cd java-package/
$ git fetch https://salsa.debian.org/JanMa-guest/java-package.git feature/add-support-for-adopt-openjdk
From https://salsa.debian.org/JanMa-guest/java-package
* branch feature/add-support-for-adopt-openjdk -> FETCH_HEAD
$ git checkout -b JanMa-guest/java-package-feature/add-support-for-adopt-openjdk FETCH_HEAD
Switched to a new branch 'JanMa-guest/java-package-feature/add-support-for-adopt-openjdk'