-
We need to create a schema. The schema outlines all the endpoints and actions of our API.
-
We need to create the documentation that is a more human-readable form of the schema.
Discover gists
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Jumping Game</title> | |
<style> | |
canvas { | |
border: 1px solid black; | |
} |
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
Чтобы в Mozilla Firefox убрать надпись «YouTube теперь находится в полноэкранном режиме» нужно: | |
1. В адресную строку браузера наберите «about:config»; | |
2. В строку поиска наберите full-screen-api.warning.timeout; | |
3. Кликните по нему два раза левой кнопкой мыши, значение «3000» сменить на «0». |
import uuid | |
from glyphsLib import load, GSPath, GSNode, GSLayer | |
from fontTools.varLib.models import VariationModel, normalizeValue | |
import numpy as np | |
from tqdm import tqdm | |
import argparse | |
def interpolate_paths_without(glyph, intermediate_layer, intermediate_location): | |
tags = [axis.axisTag for axis in glyph.parent.axes] |