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: | |
| privoxy: | |
| image: vimagick/privoxy | |
| restart: always | |
| volumes: ["./privoxy:/etc/privoxy"] | |
| ports: ["8118:8118"] |
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: | |
| ollama: | |
| image: ollama/ollama:latest | |
| container_name: ollama | |
| restart: unless-stopped | |
| ports: | |
| - "11434:11434" | |
| deploy: | |
| resources: | |
| reservations: |
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-ce-stable] | |
| name=Docker CE Stable - $basearch | |
| baseurl=https://download.docker.com/linux/rhel/$releasever/$basearch/stable | |
| enabled=1 | |
| gpgcheck=1 | |
| gpgkey=https://download.docker.com/linux/rhel/gpg | |
| [docker-ce-stable-source] | |
| name=Docker CE Stable - Sources | |
| baseurl=https://download.docker.com/linux/rhel/$releasever/source/stable |
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
| flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo |
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
| --- | |
| - name: Install and configure GNOME desktop on FreeBSD 14.3 | |
| hosts: freebsd | |
| become: yes | |
| vars: | |
| desktop_user: {{ ansible_user }} | |
| video_driver: i915kms # Options: i915kms, amdgpu, radeonkms, nvidia-modeset | |
| wayland_enabled: false | |
| tasks: |
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
| alias zource='source ~/.zshrc' | |
| alias vourse='source .venv/bin/activate' | |
| # Wrong command as alias | |
| alias sl='ls' | |
| alias greo='grep' | |
| # SSH key aliases | |
| #alias myKey='cat ~/.ssh/id_ed25519.pub | xclip -selection c && echo "key copied to clipboard"' | |
| alias myKey='cat ~/.ssh/id_ed25519.pub | /usr/bin/pbcopy && echo "key copied to clipboard"' |
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
| #!/bin/bash -exu | |
| my_user=$(whoami) | |
| my_group=$(groups | awk '{print $1}') | |
| mkdir -p ~/.ssh | |
| chown $my_user:$my_group ~/.ssh | |
| chmod 700 ~/.ssh | |
| curl -SsL github.com/mparvin.keys > ~/.ssh/authorized_keys | |
| chown $my_user:$my_group ~/.ssh/authorized_keys | |
| chmod 600 ~/.ssh/authorized_keys |
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
| #!/bin/bash | |
| if [ -z "$1" ] | |
| then | |
| echo "Usage: $0 <repo>" | |
| exit 1 | |
| fi | |
| repo=$1 |
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
| #!/usr/bin/env python | |
| import sys | |
| import requests | |
| import os | |
| def read_config(): | |
| with open(".env", "r") as f: | |
| config = {} |
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
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo "Error: No domain name provided." | |
| echo "Usage: $0 <domain>" | |
| exit 1 | |
| fi | |
| ######## Variables ######## | |
| DOMAIN="$1" |
NewerOlder