Skip to content

Instantly share code, notes, and snippets.

View luxuryluke's full-sized avatar
🏊‍♂️
the flow

Luke Dorny luxuryluke

🏊‍♂️
the flow
View GitHub Profile
@luxuryluke
luxuryluke / style.css
Created May 21, 2020 07:19 — forked from una/style.css
succinctly described CSS properties of: min() max() clamp() …from @una
.sidebar {
/* Select smaller of the 2 calculated values
Narrower screens: 20vw, Wider screens: 300px */
width: min(20vw, 300px);
}
.make-the-logo-bigger {
/* Select larger of the 2 calculated values
Basically clamps the font size to 60px or larger (10vw) */
font-size: max(60px, 10vw);
@luxuryluke
luxuryluke / config.localhost.php
Last active May 21, 2020 07:18 — forked from scottboms/cache.php
Core Kirby config file for local dev and remote production, rss
<?php
return [
// set environment variable
'environment' => 'development',
// activate debug mode
'debug' => true,
// disable the fingerprint plugin
//'bvdputte.fingerprint.disabled' => true,
@luxuryluke
luxuryluke / update-site.sh
Last active May 21, 2020 07:30 — forked from scottboms/update-site.sh
Simple rsync script to deploy a Kirby site over SSH with a non-standard port. Pair this with the `rsync-excludes.txt` https://gist.github.com/luxuryluke/b39d0d606e46e5fb015d81b1d7e0de26
#!/bin/bash
ERRORST="Whoops! Maybe check the command and try that again."
if [ $# -eq 0 ]
then
echo "$ERRORST";
elif [[ "$1" == "help" ]]
then
echo "To run: update-site.sh deploy OR update-site.sh deploy go"
@luxuryluke
luxuryluke / rsync-excludes.txt
Last active May 21, 2020 07:31 — forked from scottboms/rsync-excludes.txt
rsync Excludes file for Kirby 3. pair this with the `update-site.sh` https://gist.github.com/luxuryluke/5977d25417e109737c3c6feb95bce569
.editorconfig
.git
.gitignore
.gitmodules
.DS_Store
README.md
rsync-excludes.txt
update-site.sh
site/accounts/
site/cache/
### Keybase proof
I hereby claim:
* I am luxuryluke on github.
* I am luxuryluke (https://keybase.io/luxuryluke) on keybase.
* I have a public key whose fingerprint is 8345 01BF BF63 4A0E 483A E051 4160 0718 F468 B228
To claim this, I am signing this object: