When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| #!/bin/sh | |
| # canonical url: https://github.com/zephinzer/config-nix-shell/blob/master/.aliases.kubectl | |
| # a set of useful aliases for kubectl usage by @zephinzer | |
| # | |
| # usage: source ./.aliases.kubectl.sh | |
| # | |
| # main features: | |
| # - use kcsetns to set your current namespace | |
| # - use kcgetns to get your current namespace | |
| # - simple intuitive shortcuts for everything else |
| 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 | |
| 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 | |
| 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 | |
| 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |
| 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 | |
| 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |
| 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 | |
| 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 | |
| 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 | |
| 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 |
| import React from 'react'; | |
| import { withErrorBoundary } from 'components/common/MartyErrorBoundary'; | |
| export const ExampleComponent = () => { | |
| return ( | |
| <div> | |
| Component | |
| </div> | |
| ); |
| export const shimmer = (w, h) => ` | |
| <svg width="${w}" height="${h}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
| <defs> | |
| <linearGradient id="g"> | |
| <stop stop-color="#cfcfcf" offset="20%" /> | |
| <stop stop-color="#fff" offset="50%" /> | |
| <stop stop-color="#fff" offset="70%" /> | |
| </linearGradient> | |
| </defs> | |
| <rect width="${w}" height="${h}" fill="#cfcfcf" /> |
| ### Keybase proof | |
| I hereby claim: | |
| * I am php1301 on github. | |
| * I am phucpham1301 (https://keybase.io/phucpham1301) on keybase. | |
| * I have a public key ASDuJRWEeMytB1rbjtVyh-OPDyWcBRCOe04vUZ5GbfcC4go | |
| To claim this, I am signing this object: |