阿里云镜像修改了欢迎信息:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-105-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
#!/bin/bash | |
# | |
## -----------------------------=[ WARNING ]=-------------------------------- ## | |
# | |
# This script is now woefully out of date due to which accounts ESXi allows to | |
# ssh into the box as well as sticky folders/file flags. | |
# I've since ported the whole thing to python with a lot of bells and whistles | |
# and if i get around to making it public, i'll put a link here. | |
# | |
## -------------------------------=[ Info ]=--------------------------------- ## |
{ | |
"+1": "👍", | |
"-1": "👎", | |
"100": "💯", | |
"1234": "🔢", | |
"8ball": "🎱", | |
"ab": "🆎", | |
"abc": "🔤", | |
"abcd": "🔡", | |
"accept": "🉑", |
Policy Definition: https://github.com/openstack/keystone/blob/stable/rocky/etc/policy.v3cloudsample.json
Policy Mapping: https://github.com/openstack/keystone/blob/stable/rocky/doc/source/getting-started/policy_mapping.rst
Policy Definition: https://github.com/openstack/glance/blob/stable/rocky/etc/policy.json
Policy Mapping: https://github.com/openstack/glance/blob/stable/rocky/doc/source/admin/policies.rst
<# | |
.SYNOPSIS | |
Retries a powershell command n-times. | |
.DESCRIPTION | |
The cmdlet is capable of retrying a PowerShell command passed as a [ScriptBlock] according to the user defined number of retries and timeout (In Seconds) | |
.PARAMETER TimeoutInSecs | |
Timeout in secods for each retry. |
#!/bin/zsh | |
printf "%dGi/32Gi" $(cat /proc/meminfo | awk '{print $2}' | head -n 2 | tail -n 1)/1024/1024 |
Warning
OSSRH Sunset: "As of June 30, 2025 OSSRH has reached end of life and has been shut down. All OSSRH namespaces have been migrated to Central Publisher Portal."
GitHub allows automated builds using GitHub Actions. A commonly asked question is how to release artifacts (packaged Java jars) built by Maven and Gradle to The Central Repository. The GitHub Actions documentation provides only part of the answer.
So, first, configure your Maven project for staging artifacts to The Central Repository, by reading through Configuring Your Project for Deployment and following those steps. Please make sure that the maven-gpg-plugin is configured to prevent gpg
from using PIN entry programs, as follows:
<
"""This program is exactly the same as that of | |
https://gist.github.com/zzzeek/33943060f7a08cf9e82bf8df1f0f75de , | |
with the exception that the add_and_select_data function is written in | |
synchronous style. | |
UPDATED!! now includes refinements by @snaury and @Caselit . SIMPLER | |
AND FASTER!! |