This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
declare module 'tiptap-extensions' { | |
import { Extension, Node, Mark } from "tiptap"; | |
import { NodeSpec } from "prosemirror-model"; | |
export interface PlaceholderOptions { | |
emptyNodeClass?: string, | |
emptyNodeText?: string, | |
showOnlyWhenEditable?: boolean, | |
showOnlyCurrent?: boolean, | |
emptyEditorClass: string |
declare module 'tiptap-commands' { | |
import { EditorView } from "prosemirror-view"; | |
import { Transaction, EditorState, Plugin } from "prosemirror-state"; | |
import { InputRule } from "prosemirror-inputrules"; | |
import { NodeType, MarkType } from "prosemirror-model"; | |
export interface DispatchFn { | |
(tr: Transaction): boolean | |
} |
declare module 'tiptap' { | |
import { | |
MarkSpec, | |
MarkType, | |
Node as ProsemirrorNode, | |
NodeSpec, | |
NodeType, | |
ParseOptions, | |
Schema | |
} from "prosemirror-model"; |
Complete code in
math.directive.ts
After reading this you will be able to create a structural directive with inputs and context variables and use it like this:
<div *math="10; exponent: 3; let input;
let exponent = exponent; let r = root;
let p = power; let ctrl = controller">
This cheat sheet provides a detailed overview of the exposed lifecycle events and available commands (and entrypoints) of the Serverless framework, that can be hooked by plugins (internal and external ones). The document is structured by the commands invoked by the user.
Lifecycle events are shown as the globally available outer events (all providers) and sub lifecycle events that are provider specific in the called order. Currently only the AWS provider is shown. If you have information about the other provider,
import webpack from "webpack"; | |
import ExtractTextPlugin from "extract-text-webpack-plugin"; | |
import CopyWebpackPlugin from "copy-webpack-plugin"; | |
import WebpackNotifierPlugin from "webpack-notifier"; | |
const extractSass = new ExtractTextPlugin({ | |
filename: "css/app.css" | |
}); | |
export default { |
#Setting Up Master-Slave JMeter Distributed Load Testing Tool | |
# | |
#Pre-requisite: | |
# | |
#1- Docker | |
#2- Docker Compose v3.1 and later | |
#3- Docker Swarm Mode Running 1 Master(atleast) and N Slave Nodes(worker Nodes) | |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm