Skip to content

Instantly share code, notes, and snippets.

Avatar

Santiago Bernhardt sbe-arg

View GitHub Profile
@sbe-arg
sbe-arg / docker-sonarqube.sh
Last active May 3, 2022
Docker SonarQube community scanner for local repositories.
View docker-sonarqube.sh
#!/bin/bash
# to change password probably advised to nuke container and start fresh?
# the password must be basic as who cares?
SONAR_PASS="newAdminPassword"
SONAR_VERSION="9.3.0"
SONAR_VERSION_TYPE="community"
# fyi sonar community does not support swift so you should use mobsf
# sudo docker run --detach --restart no --name mobsf -p 7000:8000 --add-host host.docker.internal:127.0.0.1 opensecurity/mobile-security-framework-mobsf:latest \ # no auth
@sbe-arg
sbe-arg / podman-wordpress-mariadb.sh
Created Mar 28, 2022
Wordpress + MariadDB with podman local development
View podman-wordpress-mariadb.sh
podman pod create --publish 8080:80 --name demo.wp.1
podman run -d --name wp.db --pod demo.wp.1 \
-e MARIADB_USER=mariadb \
-e MARIADB_PASSWORD=mariadb \
-e MARIADB_ROOT_PASSWORD=mariadb \
docker.io/library/mariadb
podman exec -it wp.db \
mysql -e "CREATE DATABASE wordpress;" --user=root --password=mariadb
@sbe-arg
sbe-arg / keybase.md
Created Oct 17, 2018
keybase-santiagob
View keybase.md

Keybase proof

I hereby claim:

  • I am sbe-arg on github.
  • I am santiagob (https://keybase.io/santiagob) on keybase.
  • I have a public key ASBKKpq9_8zGqpOjL4BxyO1DmL3hQyyE3SgO-U3xg-JIIAo

To claim this, I am signing this object: