Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| type Valuable<T> = { [K in keyof T as T[K] extends null | undefined ? never : K]: T[K] }; | |
| function getValuable< | |
| // eslint-disable-next-line @typescript-eslint/ban-types | |
| T extends {}, | |
| V = Valuable<T>, | |
| >(obj: T): V { | |
| return Object.fromEntries( | |
| Object.entries(obj).filter( | |
| ([, v]) => |
| import React, { useEffect, useState } from 'react' | |
| import PropTypes from 'prop-types' | |
| import Helmet from 'react-helmet' | |
| import classNames from 'classnames/bind' | |
| import s from './WistiaEmbed.module.scss' | |
| const cn = classNames.bind(s) | |
| const WistiaEmbed = ({ id, play = false, style, options }) => { | |
| // const el = useRef() |
| /* CSS Custom Properties */ | |
| :root { | |
| --font-family: 'Georgia', serif; | |
| --font-family-alt: 'Helvetica', Arial, sans-serif; | |
| --font-weight: 400; | |
| --font-weight-bold: 700; | |
| --font-weight-black: 900; | |
| /* 3:4 perfect fourth scale */ |
| # Lando version is at least +3.0 | |
| name: drupal-nine | |
| recipe: drupal9 | |
| services: | |
| appserver: | |
| webroot: web | |
| xdebug: debug | |
| config: | |
| php: .vscode/php.ini |
| package com.neolitec.examples; | |
| import org.apache.commons.codec.binary.Base64; | |
| import org.apache.commons.lang.StringUtils; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import javax.servlet.*; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000