cargo buildSource: https://gist.github.com/findepi/04c96f0f60dcc95329f569bb0c44a0cd .
This should build the project. In case of problems, retry without the -T flag.
This is not the fastest way to build the project though. See below.
./mvnw -T1C clean install -DskipTests This is collected information related to
- https://internals.rust-lang.org/t/why-rustc-1-71-no-longer-eliminates-box-allocations/22376/9
- rust-lang/rust#128854
See 20_bench_code.rs for the code under study.
See 21_bench_results.md for benchmark results (detailed results on a laptop and a baseline results from EC2 Graviton).
The benchmarks were run with a release version of rustc.
See 30_rustc_patch.diff for the compiler patch addressing the rust-lang/rust#128854 issue.
- Intellij Preferences > Live Templates > group
Java - Add a new one with
- abbreviation
rnn - Description
requireNonNull - Template text
java.util.Objects.requireNonNull($var$, "$var$ is null") - Applicable contexts:
Java > Expression - check
use static imports if possible
- abbreviation
- Edit variables button and there add
varvariable withvariableOfType("Object")expression
This file contains hidden or 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
| #bash | |
| set -euo pipefail | |
| sleep_before_reruns_seconds=$[10 * 60] | |
| while true; do | |
| slept=false | |
| for pr_link in $(gh pr list --search 'author:@me' --limit 999 --json 'url' --jq '.[].url'); do | |
| echo "checking PR ${pr_link}" |
- Intellij Preferences > Live Templates > group
Java - Add a new one with
- abbreviation
log - Description
Add airlift Logger - Template text
private static final io.airlift.log.Logger log = io.airlift.log.Logger.get($CLASS_NAME$.class); - Applicable contexts:
Java > Declaration - check
Shorten FQ names
- abbreviation
- Edit variables button and there add
CLASS_NAMEvariable withclassName()expression
This file contains hidden or 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
| # store as docky/Dockerfile to match references in the other script | |
| FROM ubuntu:latest | |
| RUN true && \ | |
| export DEBIAN_FRONTEND=noninteractive && \ | |
| apt-get update && \ | |
| apt-get install -y openssl && \ | |
| apt-get clean && \ | |
| echo OK |
This file contains hidden or 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
| /* | |
| * Class timetable as rendered in the Librus Synergia system https://synergia.librus.pl/ | |
| */ | |
| (function($) { | |
| // przerwy | |
| $('.plan-lekcji tr.line0').remove() | |
| // sobota, niedziela oraz nr lekcji z prawej strony |
mvn clean release:clean && mvn release:prepare
# `env GPG_TTY=$(tty)` may help with some sort of GPG problems
mvn release:perform
NewerOlder