A custom JRE with Support for JCMD and Remote Debugging
# Java 11
JAVA_TARGET=custom-java-runtime
echo "Create trimmed down JDK" && \
$JAVA_HOME/bin/jlink \
--no-header-files \
https://code.google.com/p/android/issues/detail?id=32696#c5 | |
If you have a certificate that is not | |
trusted by Android, when you add it, it goes in the personal cert store. | |
When you add a cert in this personal cert store, the system requires a | |
higher security level to unlock the device. But if you manage to add your | |
cert to the system store then you don't have this requirement. Obviously, | |
root is required to add a certificate to the system store, but it is quiet | |
easy. |
A custom JRE with Support for JCMD and Remote Debugging
# Java 11
JAVA_TARGET=custom-java-runtime
echo "Create trimmed down JDK" && \
$JAVA_HOME/bin/jlink \
--no-header-files \
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
This gist provides a simple example of the various steps involved in making a java runtime image using the new jlink tool. | |
This example also has simple jni and shared library parts to show how jmod and jlink deal with those elements. | |
To build, just download the gist zip file, unzip that and cd into the gist directory, then: | |
# sh ungist | |
# ln -s ${JAVA_HOME} jdk | |
# make build | |
# make image | |
# make demo | |
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
<!-- livebook:{"persist_outputs":true} --> | |
# Distribute | |
## Section | |
A small toy to show how you might, given a stream, do a "fan out", processing different elements in separate streams. Powered by simple primitives like `Stream.resource` and `spawn_link`. | |
```elixir | |
defmodule Distribute do |
<div id="section"> | |
<div class="article"> | |
<p>Bacon ipsum dolor amet sirloin jowl turducken pork loin pig pork belly, chuck cupim tongue beef doner tri-tip pancetta spare ribs porchetta. | |
</p> | |
<p class="moretext"> | |
Brisket ball tip cow sirloin. Chuck porchetta kielbasa pork chop doner sirloin, bacon beef brisket ball tip short ribs. | |
</p> | |
</div> | |
<a class="moreless-button more" href="#">Read more</a> | |
</div> |
/***************************************************************************** | |
* QuantCup 1: Price-Time Matching Engine | |
* | |
* Submitted by: voyager | |
* | |
* Design Overview: | |
* In this implementation, the limit order book is represented using | |
* a flat linear array (pricePoints), indexed by the numeric price value. | |
* Each entry in this array corresponds to a specific price point and holds | |
* an instance of struct pricePoint. This data structure maintains a list |
Here are the mods I recommend. These are all compatible with the latest versions of SMAPI and Stardew Valley on Linux/macOS/Windows. See the player's guide to using mods if you're interested.
I think the best mods are those which improve the game while maintaining its balance, lore, and style.
AutoGate
Gates open automatically when you approach and close behind you.
Better Sprinklers Plus
Customise the sprinkler radius, with a proportional change to their cost. If you're willing to mine all the ores you'll need, that makes the basic sprinklers useful early in the game and lets you do more than just watering crops every day.