Quick reference for saving an active live stream in the past, and compressing it using FFmpeg on Apple Silicon Macs.
# Record from specific time in past
streamlink --hls-start-offset HH:MM:SS VIMEO_URL best -o output.mp4
# Record from beginning
Quick reference for saving an active live stream in the past, and compressing it using FFmpeg on Apple Silicon Macs.
# Record from specific time in past
streamlink --hls-start-offset HH:MM:SS VIMEO_URL best -o output.mp4
# Record from beginning
import { | |
ContentTypeId, | |
EncodedContent, | |
JSContentCodec, | |
} from "@xmtp/react-native-sdk"; | |
export const ContentTypeTransactionReference: ContentTypeId = { | |
authorityId: "xmtp.org", | |
typeId: "transactionReference", | |
versionMajor: 1, |
-- Based off IETF draft, https://datatracker.ietf.org/doc/draft-peabody-dispatch-new-uuid-format/ | |
-- and https://gist.github.com/kjmph/5bd772b2c2df145aa645b837da7eca74 | |
create or replace function uuid_generate_v7() | |
returns uuid | |
as $$ | |
declare | |
unix_ts_ms bytea; | |
uuid_bytes bytea; | |
begin |
import React, { useEffect, useState } from "react"; | |
import { ethers } from "ethers"; | |
import './App.css'; | |
import wavePortal from './utils/WavePortal.json'; | |
const App = () => { | |
const [currentAccount, setCurrentAccount] = useState(""); | |
const [allWaves, setAllWaves] = useState([]); | |
const contractAddress = "0xd5f08a0ae197482FA808cE84E00E97d940dBD26E"; |
tar czf - ./path/to/source | ssh user@host tar xvzfC - /path/to/target |
du -h --max-depth=4 * | sort -hr |
-- | |
-- Domoticz passes information to scripts through a number of global tables | |
-- | |
-- otherdevices, otherdevices_lastupdate and otherdevices_svalues are arrays for all devices: | |
-- otherdevices['yourotherdevicename'] = "On" | |
-- otherdevices_lastupdate['yourotherdevicename'] = "2015-12-27 14:26:40" | |
-- otherdevices_svalues['yourotherthermometer'] = string of svalues | |
-- | |
-- uservariables and uservariables_lastupdate are arrays for all user variables: | |
-- uservariables['yourvariablename'] = 'Test Value' |
Moved here: