I hereby claim:
- I am mgaebler on github.
- I am mgaebler (https://keybase.io/mgaebler) on keybase.
- I have a public key ASA9vNeFcCPsEEpPltQNkt6cSNqJH15O87-z6lUoCeGg9Ao
To claim this, I am signing this object:
# Make sure the ngx_http_stub_status_module is installed correctly. | |
location /status { | |
add_header Content-Type application/json; | |
return 200 '{\r | |
"connections_active": $connections_active,\r | |
"connections_reading": $connections_reading,\r | |
"connections_writing": $connections_writing,\r | |
"connections_waiting": $connections_waiting | |
}'; | |
} |
window.parent.document.body.style.backgroundColor = "#80FF00"; |
I hereby claim:
To claim this, I am signing this object:
# nice light cyan color instead of dark blue | |
set -gx LSCOLORS gxfxcxdxbxegedabagacad | |
function ls --description 'List contents of directory' | |
command ls -lFG $argv | |
end | |
function code --description 'Launches visual code studio in a new window' | |
command code -n $argv | |
end |
function __use_node_version | |
# test if .nvmrc exists | |
if test -e .nvmrc | |
# test if variable exist and compare version with .nvmrc | |
if test \( -n "$NVMRC_CURRENT" \) -a \( $NVMRC_CURRENT = (cat .nvmrc) \) > /dev/null 2>&1 | |
# node version allready set | |
else | |
# create a nvm current variable | |
set -g NVMRC_CURRENT (cat .nvmrc) | |
nvm use $NVMRC_CURRENT > /dev/null |
input[type="date"]:before { | |
content: attr(placeholder) !important; | |
display: block; | |
width: 100%; | |
} | |
input[type="date"]:focus:before, | |
input[type="date"]:valid:before { | |
display: none; | |
} |
Git supports conditional includes since version 2.13. With these you're able to allow overrides under specific conditions. Sometimes it's useful to separate configurations, because your company uses different git settings like email or ssh key.
I've organised my projects in different directories, private and work.
~/
├── private
└── work
Compound components is a pattern in which components are used together such that they share an implicit state that let’s them communicate with each other in the background.
Think of compound components like the and elements in HTML. Apart they don’t do too much, but together they allow you to create the complete experience. — Kent C. Dodds When you click on an option, select knows which option you clicked. Like select and option, the components share the state on their own, you don’t have to explicitly configure them.
The theme specifies the color of the components, darkness of the surfaces, level of shadow, appropriate opacity of ink elements, etc.
Themes let you apply a consistent tone to your app. It allows you to customize all design aspects of your project in order to meet the specific needs of your business or brand.
To promote greater consistency between apps, light and dark theme types are available to choose from. By default, components use the light theme type.