Engine | Contact |
---|---|
360 | [email protected] |
Abusix | [email protected], https://lookup.abusix.com/ |
Acronis | [email protected] |
ADMINUSLabs | [email protected], [email protected], [email protected] |
AegisLab | [email protected] |
Ahnlab | [email protected], [email protected] |
AILabs (Monitorapp) | [email protected] |
Alibaba | [email protected] |
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
# kubectl < 1.21 | |
ky() { | |
local -r resource="${1:-$(kubectl api-resources --no-headers | choose 0 | fzf)}" | |
local -r name="${2:-$(kubectl get ${resource} --no-headers | choose 0 | fzf)}" | |
kubectl get "${resource}" "${name}" -oyaml \ | |
| yq 'del(.metadata.managedFields)' -y \ | |
| bat -l=yaml --plain --theme=DarkNeon | |
} | |
# kubectl >= 1.21 |
The motivation is: reverse ssh to remote computer, the only thing needed is that the remote is connected to the Internet.
- On 18.04 or older remote, get tmate, put it in /usr/local/bin (20.04 is 2.4.0 but has issues /w -F [tmate-io/tmate#204]):
curl -L https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz|tar xJv
sudo mv tmate-2.4.0-static-linux-amd/tmate /usr/local/bin
- Put public keys in ~/.ssh/authorized_keys
This is a writeup about how to install Ubuntu 16.04.1 Xenial Xerus for the 32-bit hard-float ARMv7 (armhf) architecture on a Qemu VM via Ubuntu netboot.
The setup will create a Ubuntu VM with LPAE extensions (generic-lpae) enabled. However, this writeup should also work for non-LPAE (generic) kernels.
The performance of the resulting VM is quite good, and it allows VMs with >1G ram (compared to 256M on versatilepb
and 1G on versatile-a9
/versatile-a15
). It also supports virtio
disks whereas versatile-a9
/versatile-a15
only support SD cards via the -sd
argument.
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
#!/usr/bin/env python | |
# bouroo<[email protected]> | |
# 07.04.2019 | |
# sudo apt-get -y install pcscd python-pyscard python-pil | |
import binascii | |
import io | |
import os | |
import sys | |
from PIL import Image |
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
#!/bin/bash | |
## FORSTWOOF UBUNTU PRESEED :: BUILD SCRIPT | |
# Quit on first error | |
set -e | |
# Temporary directory for the build | |
TMP="/var/tmp/ubuntu-build" |
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
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
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
1) Create a branch with the tag | |
git branch {tagname}-branch {tagname} | |
git checkout {tagname}-branch | |
2) Include the fix manually if it's just a change .... | |
git add . | |
git ci -m "Fix included" | |
or cherry-pick the commit, whatever is easier | |
git cherry-pick {num_commit} | |
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
[server] | |
SERVER | |
[server:vars] | |
server_name=SERVER | |
docker_nginx_ssl=true |
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
#!/bin/bash | |
set -e | |
SECRETFILE=~/.digitalocean | |
if [[ -z $DIGOCEAN_ID ]] || [[ -z $DIGOCEAN_KEY ]]; then | |
if [ -e $SECRETFILE ]; then | |
. $SECRETFILE | |
fi | |
fi |
NewerOlder