- Use 64 bit OS. At the moment, Rasberry Pi OS is only available in 32bit. 64 bit version is still beta. Find the latest 64 bit builds here.
- Your choice is to use a beta OS or switch to another OS like Ubuntu.
This file contains 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
cd /tmp | |
java -Xmx5g -jar /opt/sonatype/nexus/lib/support/nexus-orient-console.jar | |
CONNECT PLOCAL:/nexus-data/db/component admin admin | |
REBUILD INDEX * | |
REPAIR DATABASE --fix-graph | |
REPAIR DATABASE --fix-links | |
REPAIR DATABASE --fix-ridbags | |
REPAIR DATABASE --fix-bonsai | |
DISCONNECT |
This file contains 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
trivy image argoproj/argocd | |
2023-03-03T15:09:56.331+0700 INFO Vulnerability scanning is enabled | |
2023-03-03T15:09:56.331+0700 INFO Secret scanning is enabled | |
2023-03-03T15:09:56.331+0700 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning | |
2023-03-03T15:09:56.331+0700 INFO Please see also https://aquasecurity.github.io/trivy/v0.38/docs/secret/scanning/#recommendation for faster secret detection | |
^C | |
[ssm-user@ip-10-9-28-94 ~]$ trivy image argoproj/argocd:v2.6.3 | |
2023-03-03T15:10:14.270+0700 INFO Vulnerability scanning is enabled | |
2023-03-03T15:10:14.270+0700 INFO Secret scanning is enabled | |
2023-03-03T15:10:14.270+0700 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning |
This file contains 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
package: | |
name: cilium-cli | |
version: 0.13.0 | |
epoch: 0 | |
description: CLI to install, manage & troubleshoot Kubernetes clusters running Cilium | |
target-architecture: | |
- all | |
copyright: | |
- license: Apache-2.0 | |
paths: |
This file contains 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
--- | |
layout: default | |
title: Archive | |
--- | |
<div class="post"> | |
<h2>Archive</h2> | |
<ul> | |
{% for post in site.posts %} | |
{% unless post.next %} |
This file contains 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
export LIST1=a b c d | |
export LIST2=b c d e f | |
INTERSECTION=($(comm -12 <(for X in "${LIST1[@]}"; do echo "${X}"; done|sort) <(for X in "${LIST2[@]}"; do echo "${X}"; done|sort))) | |
echo ${INTERSECTION[@]} | |
# b c d |
This file contains 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
const fileType = require('file-type') | |
const base64String = 'iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAhOAAAITgBRZYxYAAAABxpRE9UAAAAAgAAAAAAAAAXAAAAKAAAABcAAAAWAAABW85tpoQAAAEnSURBVGgF7JbLDYMwDIYZoSN0pI7QUdikI+QESAXJozACR6SCRO2IHIBgnIRHKhUpQsSO/fFjnCRJwDWAun3exbOvsldX5oBjYAaQH/nTuoC0fkv7Kn8gnGIAOXhjUxTHj8BhFSXBUQfCGmh9p3iHwLdFcUdQ2BPWEgsoj4OG665Ug5igsSSZKLaTvaF86zQCS1dm6U4wji+YpQK8pcvYERyTsd3DKRblX1IxM9cpPH9poeJjDTupcmQJbdb42CXO+umkwjRsV0HF4EjVAmKDtZqpwQcElarm7WfdgGhnihy6nqgdu8pGzInaOBl6+PH+7AZIeFdabTomChecBcbm0cfa2PryloC6b1+9XW9Bzu16e8dJmBsif4YkckBrff+hz/pqP6n0FwAA//85LScuAAAA+0lEQVTV1u0NgyAQBuAboSN0pI7QUdykI/ALSaoJozgCP5tUE8tL0FiQSNNWORM/IEQfLucB9U09cjuJGxhetmjNLNqahlbeOKHhpeddXTmh4aVRixMnNLyEw6IFE7hwYFyGtr5wQMM5oz28Kxluwd0b2KOLjnYU5WkGNtKl1mw9GaP7Q6mzhZvC0sTAFWGXHaXVbVeXl8DUc9/IqoxoyyplXO0/enl3y/WqbKPzuIh/GOFwHj7H9/o5TXYOh9Cw7avKv8uh3qwSISynjQKPlemXPynel1w4clC5Y/ARC/92kyV2wYaTwjYROegrzVb6aIzD+Hl7Gb4ws/0Cqd8IYgt7isgAAAAASUVORK5CYII=' | |
const mimeInfo = fileType(Buffer.from(ba |
This file contains 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
package: | |
name: kubevela | |
version: 1.7.0 | |
epoch: 0 | |
description: KubeVela is a modern application delivery platform that makes deploying and operating applications across today's hybrid, multi-cloud environments easier, faster and more reliable | |
target-architecture: | |
- all | |
copyright: | |
- license: Apache-2.0 | |
paths: |
This file contains 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
package glob_test | |
import ( | |
"fmt" | |
"regexp" | |
"strings" | |
"testing" | |
"github.com/google/go-containerregistry/pkg/name" | |
) |
This file contains 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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
if ! crane version >/dev/null; then echo "Must install crane."; exit 1; fi | |
if ! cosign version >/dev/null; then echo "Must install cosign."; exit 1; fi | |
GHCR_ROOT_NAMESPACE="${GHCR_ROOT_NAMESPACE:-}" |