Quick ref for Netlify custom domains
Recommended, everything will handled by netlify
Host: www, Value: you-netlify-site.netlify.com, TTL: 1800
<html> | |
<head> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="min-h-screen flex flex-col justify-center text-center"> | |
<!-- Make sure the following div id (OTPInput) is the same in the Javascipt --> | |
<form action="#" method="post"> | |
<!-- This is the div where the otp fields are generated by Javascript --> | |
<div class="flex justify-center " id="OTPInput"> |
Quick ref for Netlify custom domains
Recommended, everything will handled by netlify
Host: www, Value: you-netlify-site.netlify.com, TTL: 1800
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
{ | |
"name": "webpack-sass", | |
"version": "1.0.0", | |
"scripts": { | |
"start": "webpack-dev-server --open --mode development", | |
"build": "webpack -p" | |
}, | |
"devDependencies": { | |
"babel-core": "^6.26.0", | |
"babel-loader": "^7.1.4", |
{ | |
"Stateful react component": { | |
"prefix": "recomp", | |
"body": [ | |
"import styles from './${TM_FILENAME_BASE}.module.scss';", | |
"import React, { Component } from 'react';", | |
"import classnames from 'classnames';", | |
"", | |
"class ${TM_FILENAME_BASE} extends Component {", |
{ | |
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | |
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | |
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | |
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | |
// Placeholders with the same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "scope": "javascript,typescript", |
{% comment %} | |
# | |
# This is a nested liquid loop for Jekyll to iterate through YAML data with | |
# a depth of three levels. The example loops through a potential table of | |
# contents of a book. | |
# | |
# This is the example YAML content' | |
- chapters: 'Einführung' | |
sub_chapters: |
const publicPath = 'public'; | |
// Node os module | |
// The os module provides a number of operating system-related utility methods. | |
// It can be accessed using: | |
const os = require('os'); | |
// Using a single monolithic configuration file impacts comprehension and | |
// removes any potential for reusability. | |
// As the needs of your project grow, you have to figure out the means to manage | |
// webpack configuration more effectively. |
=for-size($range) | |
$phone-upper-boundary: 600px | |
$tablet-portrait-upper-boundary: 900px | |
$tablet-landscape-upper-boundary: 1200px | |
$desktop-upper-boundary: 1800px | |
@if $range == phone-only | |
@media (max-width: #{$phone-upper-boundary - 1}) | |
@content | |
@else if $range == tablet-portrait-up |
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |