Skip to content

Instantly share code, notes, and snippets.

View amarruedo's full-sized avatar
🤖

Asier Marruedo amarruedo

🤖
View GitHub Profile
@amarruedo
amarruedo / podman_wsl.md
Last active September 23, 2022 07:20
Podman on WSL

Problem

wsl WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers

Solution containers/podman#12136 (comment)

the first thing I'd check is why / is not mounted as shared.

Could you try mount --make-rshared / as root first?

@amarruedo
amarruedo / sap_btp_service_id_list.md
Last active September 15, 2022 09:13
SAP BTP service ID list
Service name Id Plan Amount
Alert notification alert-notification standard -
Audit Log Viewer auditlog-viewer free -
SAP HANA Cloud hana-cloud hana -
SAP HANA Schemas & HDI Containers hana hdi-shared,schema -
Object store objectstore s3-standard -
Document Information Extraction sap-document-information-extraction blocks_of_100 -
Document Information Extraction UI document-information-extraction-application default -
HTML5 Application Repository Service html5-apps-repo app-host,app-runtime -
16K /var/lib/docker/overlay2/b4d472adaeb760884411df13e3c508b4bbc3c3deab29a23b009e282759bd5d88/merged/usr/src/app/plugins/techdocs-backend/static/docs/default/Component/tech-docs-test-gitlab/assets/images
16K /var/lib/docker/overlay2/b4d472adaeb760884411df13e3c508b4bbc3c3deab29a23b009e282759bd5d88/merged/usr/src/app/plugins/techdocs-backend/static/docs/default/Component/tech-docs-test-gitlab/techdocs-tmp-99YpeM/assets/images
16K /var/lib/docker/overlay2/b4d472adaeb760884411df13e3c508b4bbc3c3deab29a23b009e282759bd5d88/merged/usr/src/app/plugins/techdocs-backend/static/docs/default/Component/tech-docs-test-gitlab/techdocs-tmp-99YpeM/techdocs-tmp-ADKPRC/assets/images
16K /var/lib/docker/overlay2/b4d472adaeb760884411df13e3c508b4bbc3c3deab29a23b009e282759bd5d88/merged/usr/src/app/plugins/techdocs-backend/static/docs/default/Component/tech-docs-test-gitlab/techdocs-tmp-99YpeM/techdocs-tmp-ADKPRC/techdocs-tmp-fZesZo/assets/images
16K /var/lib/docker/overlay2/b4d472adaeb760884411df13e3c508b4bbc3c3deab29a23b009e282759b

Keybase proof

I hereby claim:

  • I am amarruedo on github.
  • I am amarruedo (https://keybase.io/amarruedo) on keybase.
  • I have a public key ASCfn5kORMpQFTTKswexlR6YbqqRbLr4ADK9TJvTA3dMQgo

To claim this, I am signing this object:

2019/06/27 16:16:57 [INFO] Terraform version: 0.12.3
2019/06/27 16:16:57 [INFO] Go runtime version: go1.12.6
2019/06/27 16:16:57 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/06/27 16:16:57 [DEBUG] Attempting to open CLI config file: **********/.terraformrc
2019/06/27 16:16:57 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/06/27 16:16:57 [INFO] CLI command args: []string{"plan"}
2019/06/27 16:16:57 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/06/27 16:16:57 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/06/27 16:16:57 [DEBUG] New state was assigned lineage "dd0ecffa-ec16-38e9-c93b-df45fbf71e96"
2019/06/27 16:16:57 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/06/27 15:58:49 [INFO] Terraform version: 0.12.3
2019/06/27 15:58:49 [INFO] Go runtime version: go1.12.6
2019/06/27 15:58:49 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/06/27 15:58:49 [DEBUG] Attempting to open CLI config file: ******/.terraformrc
2019/06/27 15:58:49 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/06/27 15:58:49 [INFO] CLI command args: []string{"plan"}
2019/06/27 15:58:49 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/06/27 15:58:49 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/06/27 15:58:49 [DEBUG] New state was assigned lineage "dcb65319-c3ef-1952-3d28-1916cf94f2da"
2019/06/27 15:58:49 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
@amarruedo
amarruedo / NuGetToArtifactory.ps1
Last active September 13, 2022 07:07
Mirror NuGet server packages to Artifactory NuGet repository
# --- settings ---
$feedUrlBase = "<nuget_server_url>"
# the rest will be params when converting to funclet
$latest = $false
$overwrite = $false
$top = $null #use $top = $null to grab all
$destinationDirectory = join-path ([Environment]::GetFolderPath("MyDocuments")) "NuGetLocal"
# --- locals ---
$webClient = New-Object System.Net.WebClient
import requests
from requests.auth import HTTPBasicAuth
import re
from StringIO import StringIO
import urllib
JIRA_URL = 'https://your-jira-url.tld/'
JIRA_ACCOUNT = ('jira-username', 'jira-password')
# the JIRA project ID (short)
JIRA_PROJECT = 'PRO'