Skip to content

Instantly share code, notes, and snippets.

@nakanod
nakanod / pulumi-note.md
Last active December 19, 2023 14:48
Pulumi Note
pulumi login
pulumi new gcp-go
@nakanod
nakanod / google-cloud-sdk-note.md
Last active December 12, 2023 16:00
Google Cloud SDK Note

create a bucket

gcloud storage buckets create --pap --location us-east1 gs://example-bucket-name

Delete storage objects.

gcloud storage rm --recursive gs://example-bucket/some/object
--- 8-packages.txt 2020-12-11 09:28:47.025846107 +0000
+++ stream-packages.txt 2020-12-11 09:28:47.026846041 +0000
@@ -2,12 +2,12 @@
acl-2.2.53-1.el8.x86_64
audit-3.0-0.17.20191104git1c2f876.el8.x86_64
audit-libs-3.0-0.17.20191104git1c2f876.el8.x86_64
-authselect-1.2.1-2.el8.x86_64
-authselect-compat-1.2.1-2.el8.x86_64
-authselect-libs-1.2.1-2.el8.x86_64
+authselect-1.2.2-1.el8.x86_64
#!/bin/bash
#
# curl https://gist.githubusercontent.com/nakanod/deaf3b381af3a422e0510a305d43751b/raw/wsl_setup.sh | bash
sudo apt -y update
sudo apt -y install debconf-utils
echo 'libssl1.1 libraries/restart-without-asking boolean true' | sudo debconf-set-selections
sudo apt -y upgrade
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.13-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@nakanod
nakanod / .docker.env
Last active April 11, 2020 15:00
Pleroma docker files
HOST=pleroma.example.com
SECRET_KEY_BASE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx