To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
Personal Settings > Developer settings > Personal access tokens
export TOKEN=$(curl --silent https://ghcr.io/token\?scope\=repository:wolfv/artifact:pull | jq -r .token) | |
curl \ | |
--silent \ | |
--request 'GET' \ | |
--header "Authorization: Bearer $TOKEN" \ | |
--header "Accept: application/vnd.oci.image.manifest.v1+json" \ | |
'https://ghcr.io/v2/wolfv/artifact/manifests/1.0' | |
echo "\n\nFetching image content now:\n\n" |
This list was auto-generated on macOS 10.15 (Catalina) using a script that did the following:
.plist
files located in the 5 folders used by launchctl
:~/Library/LaunchAgents
Per-user agents provided by the user./Library/LaunchAgents
Per-user agents provided by the administrator./Library/LaunchDaemons
System wide daemons provided by the administrator./System/Library/LaunchAgents
OS X Per-user agents./System/Library/LaunchDaemons
OS X System wide daemons.That's legitimately a good default position to hold, however, in this case, the free money is a function of time, and not only charity.
In February 2020, in order to promote Handshake (HNS) to developers, an airdrop was offered to any Github user with more than 15 followers. The Airdrop would give you 4246HNS, at the time worth around at $0.08USD per coin, for a total of $339.68USD, pretty generous!
Today, 4246HNS is worth around $4000 dollarydoos, and there are plenty of github users who haven't claimed theirs.
Node Version Manager (https://github.com/nvm-sh/nvm) works perfectly across native node installations as well as emulated Rosetta installations. The trick I am using here is to install one LTS version of node under Rosetta and another stable version as native binary.
arch -x86_64
, for example arch -x86_64 go
arch -x86_64 zsh
then go
or whateverNot all toolchains and libraries properly support M1 arm64 chips just yet. Although
There are two metrics that are important to consider when discussing the size of Docker images.
The example commands shown below will work on Windows, MacOS, and Linux.
Static resources can be configured using two approaches in Spring Boot
addResourceHandlers()
methodFirst configure your SpringSecurity class to accept requests to this resources
@Override
public void configure(WebSecurity web)
# ********** EC2 *********** | |
# describe ec2 instances | |
aws ec2 describe-instances \ | |
--query 'Reservations[*].Instances[*].[InstanceId,Tags[?Key==`Name`].Value|[0],State.Name, | |
PrivateIpAddress,PublicIpAddress]' \ | |
--output table | |
# stopped instances |