Install the editorjs package:
yarn add @editorjs/editorjs
or
npm i @editorjs/editorjs --save
# <type>(<scope>)!: <description> (72 characters maximum) | |
# |<--- preferably using up to 50 characters --->|<------------------->| | |
# Optional <body> | |
# |<------------- try limiting to 72 characters per line ------------->| | |
# Optional <footer> | |
# ----- END COMMIT MESSAGE ----- | |
# |
<template> | |
<div class="editorjs" ref="htmlelement"></div> | |
</template> | |
<script setup> | |
import EditorJS from '@editorjs/editorjs'; | |
import EmbedTool from '@editorjs/embed'; | |
import ListTool from '@editorjs/list'; | |
import ImageTool from '@editorjs/image'; | |
import VideoTool from './editorjs/video.js'; | |
import { onMounted, onUnmounted, ref, watch } from 'vue'; |
Install the editorjs package:
yarn add @editorjs/editorjs
or
npm i @editorjs/editorjs --save
# Use this script to test that your Telegram bot works. | |
# | |
# Install the dependency | |
# | |
# $ gem install telegram_bot | |
# | |
# Run the bot | |
# | |
# $ ruby bot.rb | |
# |
You can use ffmpeg to directly pull frames off of a dahua 4300s at full resolution. May be a good alternative to pricey dvrs which likely cannot record at full resolution, may not work with the camera, or are prohibitevly expensive
Simple stream to file. Full resolution
ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:[email protected]:554/live" \
-c copy -map 0 foo.mp4
uninstall
JetBrains settings:curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
backup
JetBrains settings:curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-backup.sh | bash -s
#!/bin/sh | |
PROJECTS="Project_1 Project_2 Project_3" | |
BRANCH="$1" | |
if [[ -z "$BRANCH" ]]; then | |
echo "Usage $0 BRANCH_NAME" | |
exit -1 | |
fi |
#!/bin/bash | |
# Script for placing sudoers.d files with syntax-checking | |
# Making a temporary file to contain the sudoers-changes to be pre-checked | |
TMP=$(mktemp -t vagrant_sudoers) | |
cat /etc/sudoers > $TMP | |
cat >> $TMP <<EOF | |
# Allow passwordless startup of Vagrant when using NFS. | |
Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/su root -c echo '*' >> /etc/exports |