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
| Add attribute called 'user_avatar' = https://cdn.icon-icons.com/icons2/1285/PNG/512/female5_85208.png |
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
| import requests | |
| import urllib3 | |
| urllib3.disable_warnings() | |
| r = requests.get('https://localhost:8080/hi', verify=False) | |
| print(r.text) |
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
| ### port 9092 is for H2 database | |
| docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube |
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
| You can install QtdSync for Windows [http://qtdtools.doering-thomas.de/page.php?tool=QtdSync&page=QtdSync&lang=en] | |
| This will contain the sshpass.exe |
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
| aws ses send-email --from [email protected] --to [email protected] --text "This is for those who cannot read HTML." --html "<h1>Hello World</h1><p>This is a pretty mail with HTML formatting</p>" --subject "Hello Kaman marrah" | |
| aws ses verify-email-identity --email-address [email protected] --profile digi | |
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
| FROM adoptopenjdk/openjdk11:jdk-11.0.11_9-debian AS build-env | |
| ENV KEYCLOAK_VERSION 17.0.1 | |
| ARG KEYCLOAK_DIST=https://github.com/keycloak/keycloak/releases/download/$KEYCLOAK_VERSION/keycloak-$KEYCLOAK_VERSION.tar.gz | |
| RUN apt-get install -y tar gzip | |
| ADD $KEYCLOAK_DIST /tmp/keycloak/ | |
| RUN (cd /tmp/keycloak && \ |
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
| version: '3' | |
| services: | |
| keycloak: | |
| image: quay.io/keycloak/keycloak:20.0.3 | |
| ports: | |
| - 8080:8080 | |
| command: | |
| - start-dev | |
| environment: | |
| KEYCLOAK_ADMIN: admin |
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
| docker run --rm --name redis-commander -d -p 8081:8081 --env REDIS_HOSTS=172.17.0.1 ghcr.io/joeferner/redis-commander:latest | |
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
| fetch('https://reddit.com/v3.1/consents', { | |
| method: 'GET', | |
| headers: { | |
| 'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJQUzFzWmYyM3BHaVlaZ2dQSnZFQjlhRjJTS3NOWmdXNFNmSVRkVDRyRXg4In0.eyJleHAiOjE2NjcxMzIwMTQsImlhdCI6MTY2NzEzMTk1NCwianRpIjoiODgxOTZlMTQtMGJkZS00ZjJiLTlhOTEtYWFkOTJlNmU5NzE0IiwiaXNzIjoiaHR0cHM6Ly9rYy5kaWdpdGluYXJ5LmNvbS9hdXRoL3JlYWxtcy9tYXN0ZXIiLCJhdWQiOlsib2ItY2xpZW50MSIsImFjY291bnQiXSwic3ViIjoiZjNhMGJmOTQtMmY4MS00NTVlLThhY2UtN2M5NmU2OTJmYjZlIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoib2ItY2xpZW50MSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiIiwiaHR0cDovL2VicC1zcGEtd2ViLWRldi5zMy13ZWJzaXRlLmV1LWNlbnRyYWwtMS5hbWF6b25hd3MuY29tIiwiaHR0cHM6Ly90ZXN0LXBsYXRmb3JtLmNsaWNrIl0sInJlYWxtX2FjY2VzcyIasdasdayI6WyJkZWZhdWx0LXJvbGVzLW1hc3RlciIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJvYi1jbGllbnQxIjp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6ImVtYW |
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
| egrep 'from ([0-9]{,3}.[0-9]{,3}.[0-9]{,3}.[0-9]{,3})' /var/log/secure -o |sed 's/from //g' | sort | uniq | |