Skip to content

Instantly share code, notes, and snippets.

Working from home

Mindaugas Milius grambas

Working from home
View GitHub Profile
sreez / gist:c624b3e440b66f9d16a9dc39a2297ed1
Created Mar 6, 2020
taiwindcss default list of padding , font size and line height against equivalent pixels for font base 16px
View gist:c624b3e440b66f9d16a9dc39a2297ed1
0px 0rem .p-0
4px 0.25rem .p-1
8px 0.5rem .p-2
12px 0.75rem .p-3, .leading-3, .text-xs
14px 0.875rem .text-sm
16px 1rem .p-4, .leading-4, .text-base
18px 1.125rem .text-lg
20px 1.25rem .p-5, .leading-5, .text-xl
24px 1.5rem .p-6, .leading-6, .text-2xl
28px 1.75rem .leading-7
Adirael /
Created Aug 17, 2012
Fix wordpress file permissions
# This script configures WordPress file permissions based on recommendations
# from
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory