Skip to content

Instantly share code, notes, and snippets.

View ArgonQQ's full-sized avatar
🚀
Mars is there, waiting to be reached.

Marcel Sinn ArgonQQ

🚀
Mars is there, waiting to be reached.
View GitHub Profile
@ArgonQQ
ArgonQQ / update_git_repos.sh
Last active June 10, 2021 03:19 — forked from douglas/update_git_repos.sh
Update all git repositories under a base directory
#!/bin/bash
# store the current dir
CUR_DIR=$(pwd)
# exclude list - pipe sepearted e.g. ".terraform|test|foldername"
EXCLUDE=".terraform"
# Let the person running the script know what's going on.
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n"
@ArgonQQ
ArgonQQ / ansible.yml
Created January 10, 2018 09:39 — forked from jgornick/ansible.yml
Ansible: Remove All Files Except
---
- name: Capture files in path and register
shell: >
ls -1 /path/to/files
register: files
- name: Remove files except specified
file:
path: "/path/to/files/{{ item }}"
state: absent
@ArgonQQ
ArgonQQ / owncloud-docker-compose.yml
Created April 14, 2016 15:22 — forked from MickaelBergem/ owncloud-docker-compose.yml
Docker Compose file for setting up an ownCloud server using a PostgreSQL database
# Composition of the containers
owncloud:
image: owncloud
ports:
- 80:80
volumes_from:
- owncloud-data
links:
- postgres:owncloud-db