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
| $ ls /opt/sonatype/sonatype-work/nexus3/db/ | |
| OSystem accesslog analytics audit component config model.properties security | |
| $ docker-compose exec nexus java -jar ./lib/support/nexus-orient-console.jar | |
| CONNECT PLOCAL:/opt/sonatype/sonatype-work/nexus3/db/component admin admin | |
| REBUILD INDEX * | |
| REPAIR DATABASE --fix-graph | |
| REPAIR DATABASE --fix-links | |
| REPAIR DATABASE --fix-ridbags |
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
| services: | |
| pocketbase: | |
| image: ghcr.io/muchobien/pocketbase:0.23.6 | |
| restart: unless-stopped | |
| environment: | |
| ENCRYPTION: $(openssl rand -hex 32)\ | |
| prts: | |
| - "8090:8090" | |
| volumes: | |
| - pocketbase:/pb_data |
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
| mvn org.antlr:antlr4-maven-plugin:help -Ddetail=tru |
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
| owl-shop: | |
| image: quay.io/cloudhut/owl-shop:sha-042112b | |
| entrypoint: /bin/sh | |
| command: -c "echo \"$$OWLSHOP_CONFIG_FILE\" > /tmp/config.yml; /app/owlshop" | |
| environment: | |
| CONFIG_FILEPATH: /tmp/config.yml | |
| OWLSHOP_CONFIG_FILE: | | |
| shop: | |
| requestRate: 1 | |
| interval: 0.1s |
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
| https://medium.com/@ingridwickstevens/chat-with-your-local-documents-privategpt-lm-studio-c6ff94d0dfe3 | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\n | |
| brew install make tcl-tk sqlite pyenv-virtualenv | |
| curl https://pyenv.run | bash | |
| export PATH="$HOME/.pyenv/bin:$PATH" |
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: '2' | |
| services: | |
| zookeeper: | |
| image: confluentinc/cp-zookeeper:5.3.1 | |
| hostname: zookeeper | |
| container_name: zookeeper | |
| ports: | |
| - "2181:2181" | |
| environment: |
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 sqlalchemy import create_engine | |
| engine = create_engine('postgresql://postgres:postgres@postgres:5432/postgres', echo=False) | |
| --- | |
| import pandas as pd | |
| with engine.connect() as connection: | |
| df = pd.read_sql('ais', connection) | |
| df |
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 java.security.MessageDigest | |
| import java.io.* | |
| /** | |
| * Determine the MD5 or SHA1Sum of a file: | |
| * | |
| * println Checksum.getMD5Sum(new File("file.bin")) | |
| * println Checksum.getSHA1Sum(new File("file.bin")) | |
| * | |
| * @author: Marcel Maatkamp (m.maatkamp avec gmail dot com) |
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 java.io.Serializable; | |
| /** | |
| * Created by marcelmaatkamp (m.maatkamp@gmail.com) | |
| */ | |
| public class Data implements Serializable { | |
| public String msg; | |
| public Data(String s) { | |
| this.msg = s; |
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
| $ \ | |
| sudo apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| &&\ | |
| curl -fsSL https://apt.releases.hashicorp.com/gpg | \ | |
| sudo apt-key add - &&\ | |
| sudo apt-add-repository \ | |
| "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main" &&\ |
NewerOlder