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;
}| /** | |
| * USERS | |
| * Note: This table contains user data. Users should only be able to view and update their own data. | |
| * Some data is synced back and forth to `auth.users` as described below. | |
| * | |
| * `full_name`: synced in both directions | |
| * `email`: synced from user metadata to profile only | |
| * `avatar_url`: synced from user metadata to profile only | |
| * `terms_accepted_at`: synced from profile to user metadata only | |
| */ |
| import { ethers } from 'ethers' | |
| import Web3Modal from 'web3modal' | |
| import WalletConnectProvider from '@walletconnect/web3-provider' | |
| async function getWeb3Modal() { | |
| const web3Modal = new Web3Modal({ | |
| network: 'mainnet', | |
| cacheProvider: false, | |
| providerOptions: { | |
| walletconnect: { |
| <? | |
| // | |
| // AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
| // | |
| // File: twitterFollowerCuratorBot.php | |
| // | |
| // Created: May 2021 | |
| // License: MIT | |
| // |
| /** | |
| * This code is licensed under the terms of the MIT license | |
| * | |
| * Deep diff between two object, using lodash | |
| * @param {Object} object Object compared | |
| * @param {Object} base Object to compare with | |
| * @return {Object} Return a new object who represent the diff | |
| */ | |
| function difference(object, base) { | |
| function changes(object, base) { |
| <?php | |
| /** | |
| * Get Google Page Speed Screenshot | |
| * | |
| * Uses Google's Page Speed API to generate a screenshot of a website. | |
| * Returns the image as a base64 jpeg image tag | |
| * | |
| * Usage Example: | |
| * echo getGooglePageSpeedScreenshot("http://ghost.org", 'class="thumbnail"'); | |
| * |
| /** | |
| * Converts an RGB color value to HSL. Conversion formula | |
| * adapted from http://en.wikipedia.org/wiki/HSL_color_space. | |
| * Assumes r, g, and b are contained in the set [0, 255] and | |
| * returns h, s, and l in the set [0, 1]. | |
| * | |
| * @param Number r The red color value | |
| * @param Number g The green color value | |
| * @param Number b The blue color value | |
| * @return Array The HSL representation |