Complete Reference for Advanced Search Operators
- Start at default curve.
- Ctrl-click-drag any point in right-half to bend it until a point intersects with desired mhz/voltage.
- Select point and adjust to perfection using shift-up-down.
- Shift-click-drag empty space and select points (including selected point) on the right. Selected point should be left-most point.
- Shift-Enter twice to flatten all points in selection area. They will flatten to match the selected point.
- Adjust if required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Responsible for preloading links | |
| // Based on this https://gist.github.com/vitobotta/8ac3c6f65633b5edb2949aeff0dec69b | |
| // Uses https://github.com/stimulus-use/stimulus-use | |
| import { Controller } from '@hotwired/stimulus' | |
| import { useHover } from 'stimulus-use' | |
| export default class extends Controller { | |
| connect() { | |
| useHover(this, { element: this.element }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Usage: fastRead('Lorem ipsum dolor sit amet') | |
| function fastRead(text, left = '<b>', right = '</b>') { | |
| return text?.replace(/[A-Za-zÀ-ÖØ-öø-ÿ0-9]+/gm, (word) => { | |
| const split = word.length > 3 ? Math.ceil(word.length / 2) : 1; | |
| return left + word.substring(0, split) + right + word.substring(split); | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fetch = require("node-fetch"); | |
| const now = Date.now(); | |
| const oneDayAgo = now - 24 * 60 * 60 * 1000; | |
| const { NETLIFY_BLOG_SITE_ID, NETLIFY_TOKEN } = process.env; | |
| exports.handler = async function (event) { | |
| try { | |
| // Fetch the data | |
| const sources = await fetchNetlify( | |
| `ranking/sources?from=${oneDayAgo}&to=${now}&limit=100&timezone=-0700&resolution=hour` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // $list has a nested structure like: | |
| // lists: [ | |
| // { | |
| // "id": "TODO-ns88qrJDVXizlF0l", | |
| // …properties omitted for brevity | |
| // "cards": [ | |
| // { | |
| // "id": "6OPzS6B6WoBT0J_EGqUEy", | |
| // "listId": "TODO-ns88qrJDVXizlF0l", | |
| // …properties omitted for brevity |
In a Client-Server architecture, you (the Client end) receives various types of responses and to identify each of them, these HTTP Status Codes are divided into various categories. Each status code is a 3 digit number of which, the first digit determines the category and the rest two digits really gives the meaning to these HTTP Status Codes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Tailwind - The Utility-First CSS Framework | |
| A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink), | |
| David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger). | |
| Welcome to the Tailwind config file. This is where you can customize | |
| Tailwind specifically for your project. Don't be intimidated by the | |
| length of this file. It's really just a big JavaScript object and |
| title | weight | group |
|---|---|---|
Creating a CMS Backend |
30 |
reference |
Netlify CMS exposes a window.CMS global object that you can use to register custom backends. The same object is also the default export if you import Netify CMS as an npm module. The available backend extension methods are:
- registerBackend: lets you register a custom backend. The CMS expects you to pass it an ES6
classor other object which it can callnew BackendClass()on.
NewerOlder