Skip to content

Instantly share code, notes, and snippets.

@vedmaka
vedmaka / docker-compose.yml
Created August 17, 2023 18:41 — forked from G4brym/docker-compose.yml
Docker compose for running GlitchTip with persistent PostgreSQL
version: "3.4"
x-environment: &default-environment
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
SECRET_KEY: your-secret-here
PORT: 8000
GLITCHTIP_DOMAIN: https://glitchtip.yourcompany.com
EMAIL_URL: smtp+tls://smtp-user:[email protected]:587
DEFAULT_FROM_EMAIL: [email protected]
ENABLE_OPEN_USER_REGISTRATION: "True"
x-depends_on: &default-depends_on
@vedmaka
vedmaka / README.md
Last active February 11, 2022 23:44 — forked from figaw/README.md
Setup for labs.play-with-k8s

From 0 to 100 w/ one command and 4ish minutes, in labs.k8s

tl;dr

  1. Click the raw button to get the raw-url of the fig-play-with-k8s.sh-file and, in a VM from labs.play-with-k8s.com,
  2. Run bash -x <( curl -L url-to-raw-gist )
  3. Copy the "blue-port-url" and change http to https
  4. Goto url in Firefox

What happens?

@vedmaka
vedmaka / mwbackup.sh
Last active August 29, 2018 19:31
Mediawiki backup script
#!/bin/sh
help_display() {
echo ""
echo "===================================================================================="
echo " MWBACKUP is a bash script that helps you to create and rotate backups of Mediawiki site."
echo " It will create backup of files and database and place it into specified directory"
echo " under a folder named after as a timestamp in yyyy-mm-dd format."
echo " Example usage:"
echo " ./mwbackup.sh WIKI_ROOT BACKUP_DORECTORY [PATH_TO_LOCALSETTINGS]"
@vedmaka
vedmaka / .travis.yml
Created February 2, 2017 17:33 — forked from roderik/.travis.yml
Installing Apache with PHP in Travis-CI
language: php
php:
- 5.3
- 5.4
before_script:
- sudo apt-get install apache2
- sudo a2enmod actions
- sudo a2enmod rewrite