Skip to content

Instantly share code, notes, and snippets.

View hhhonzik's full-sized avatar
🏄‍♀️

Honza Stepanovsky hhhonzik

🏄‍♀️
View GitHub Profile
@Geczy
Geczy / migrate.sh
Last active November 14, 2024 14:25
Migrate Coolify to a new server
#!/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"
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:
@danguita
danguita / osx-development-setup.md
Last active June 2, 2016 13:37
Set up your shiny OSX for development
@Munter
Munter / falconeers.less
Created July 19, 2013 08:45
This gist shows the development less file of Falcon Social. Profile images are individual images, which are anotated to be sprited in the production build post process. [See the resulting image here](http://global.falconsocial.com/static/69ab1fb324.png). This gives you the power to use images in different modules across the application without h…
.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); }