Skip to content

Instantly share code, notes, and snippets.

@whollacsek
whollacsek / setup_dokku.sh
Created May 3, 2023 17:20
How to setup Actual Budget docker image with Dokku
# Actual Budget
# Site: https://actualbudget.com/
# Docker image: actualbudget/actual-server
# Create dokku app
dokku apps:create actual-server
dokku git:from-image actual-server actualbudget/actual-server:23.4.2
# Setup port
dokku proxy:ports-set actual-server http:80:5006
@whollacsek
whollacsek / README.md
Last active October 2, 2018 07:11 — forked from mbleigh/README.md
Automate the deletion of old Firebase Hosting versions.

Firebase Hosting Version Cleanup

This is a simple utility script for cleaning up Firebase Hosting versions, leaving a specified number of versions remaining. This is primarily done to conserve storage usage, but may have other uses.

USE AT YOUR OWN RISK. NO WARRANTY IS PROVIDED. THIS SCRIPT DOES DELETE STUFF PERMANENTLY

Usage

node cleanupVersions.js [commit]

#!/bin/bash -e
# by @stretchkennedy: https://github.com/zeit/next.js/issues/70#issuecomment-271150845
ADDR=${ADDR:-'http://localhost:3000'}
DEST=${DEST:-'dist'}
PAGES_DIR=${PAGES_DIR:-'pages'}
echo "starting server..."
next build

Keybase proof

I hereby claim:

  • I am whollacsek on github.
  • I am whollacsek (https://keybase.io/whollacsek) on keybase.
  • I have a public key ASCu6awaNSnqr-IcIdY61TGL9lgKzXCXkK0TGugD_TBitQo

To claim this, I am signing this object: