I hereby claim:
- I am jeewangue on github.
- I am jeewangue (https://keybase.io/jeewangue) on keybase.
- I have a public key ASA-5uuhhnCrcFoneRaPBMxsL5N5IMgrfQT9hJHB484DzQo
To claim this, I am signing this object:
| {"lastUpload":"2018-07-24T07:54:33.665Z","extensionVersion":"v3.0.0"} |
| {"version":1,"resource":"file:///c%3A/Users/vagrant/workspace/ultrasound_test/CMakeLists.txt","entries":[{"id":"Ja7W.txt","timestamp":1684180479086}]} |
| # Backup files | |
| #https://explainshell.com/explain?cmd=rsync+-azuv+--delete+--progress+--exclude+%27node_modules%27 | |
| rsync -auvhp --delete --exclude=node_modules [source] [destination] | |
| # Remove all node_modules folders | |
| # https://explainshell.com/explain?cmd=find+.+-name+%22node_modules%22+-type+d+-prune+-exec+rm+-rf+%27%7B%7D%27+%2B | |
| find . -name "node_modules" -type d -prune -exec rm -rf '{}' + |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
I hereby claim:
To claim this, I am signing this object:
| package logging | |
| import ( | |
| "github.com/rs/zerolog" | |
| "github.com/rs/zerolog/log" | |
| "gopkg.in/natefinch/lumberjack.v2" | |
| "os" | |
| "path" | |
| "io" | |
| ) |
| #!/usr/bin/env bash | |
| # | |
| # Usage: | |
| # s3-get.sh <bucket> <region> <source-file> <dest-path> | |
| # | |
| # Description: | |
| # Retrieve a secured file from S3 using AWS signature 4. | |
| # To run, this shell script depends on command-line curl and openssl | |
| # | |
| # References: |
| #!/bin/bash | |
| IMAGE="gcr.io/google-containers/ubuntu-slim:0.14" | |
| COMMAND="/bin/bash" | |
| SUFFIX=$(date +%s | shasum | base64 | fold -w 10 | head -1 | tr '[:upper:]' '[:lower:]') | |
| usage_exit() { | |
| echo "Usage: $0 [-c command] [-i image] PVC ..." 1>&2 | |
| exit 1 | |
| } |
| # INSTALL INSTRUCTIONS: save as ~/.gdbinit | |
| # | |
| # DESCRIPTION: A user-friendly gdb configuration file, for x86/x86_64 and ARM platforms. | |
| # | |
| # REVISION : 8.0.5 (18/08/2013) | |
| # | |
| # CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit, | |
| # truthix the cyberpunk, fG!, gln | |
| # | |
| # FEEDBACK: http://reverse.put.as - reverser@put.as |
| # All commands will be executed on a Proxmox host | |
| sudo apt update -y && sudo apt install libguestfs-tools -y | |
| wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img | |
| # Install qemu-guest-agent on the image. Additional packages can be specified by separating with a comma. | |
| sudo virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent | |
| # Read and set root user password from file. | |
| sudo virt-customize -a jammy-server-cloudimg-amd64.img --root-password file:password_root.txt | |
| # Create an additional user. | |
| sudo virt-customize -a jammy-server-cloudimg-amd64.img --run-command "useradd -m -s /bin/bash myuser" | |
| # Set password for that user. |