This gist was moved to its own repo to allow contributions: https://github.com/danguita/osx-for-developers. Feel free to pull request!
This file contains 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 | |
# This script will backup your Coolify instance and move everything to a new server. Docker volumes, Coolify database, and ssh keys | |
# 1. Script must run on the source server | |
# 2. Have all the containers running that you want to migrate | |
# Configuration - Modify as needed | |
sshKeyPath="$HOME/.ssh/your_private_key" # Key to destination server | |
destinationHost="server.example.com" |
This file contains 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
deleting data: | |
select master_modify_multiple_shards(‘delete from github_events where created_at >= ''2015-01-01 00:00:00’’’) | |
join: | |
citus.large_table_shard_count default value 4 treat as large table , evaluates several possible join order require minimum data to be transferred across network | |
broadcast join: | |
replicate the small table | |
co-located joins: |
This file contains 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
.falconeer-profile { | |
.profile { | |
margin-top: 8px; | |
width: 92px; | |
height: 92px; | |
background-repeat: none; | |
} | |
&#ulrik { | |
.profile { background-image: url(/images/falconeers/Ulrik-side.png?sprite=falconeers); } |