Skip to content

Instantly share code, notes, and snippets.

View ChicagoJay's full-sized avatar

Jay Duff ChicagoJay

View GitHub Profile
@joshooaj
joshooaj / New-Timelapse.ps1
Last active March 19, 2024 13:36
Create a timelapse video using MilestonePSTools to retrieve jpegs from a Milestone VMS and ffmpeg to compile those snapshots into an h264 timelapse video
function New-Timelapse {
<#
.SYNOPSIS
Exports still images from XProtect and creates a timelapse video using ffmpeg.
.DESCRIPTION
This example function saves jpeg images from the recordings of the specified
camera to a temp folder, and uses these images as input to the ffmpeg
command-line utility to generate a timelapse video from the images.
@mohamadaliakbari
mohamadaliakbari / ubuntu-run-dhclient-on-startup.md
Last active November 6, 2023 19:33
Run dhclient on Startup in Ubuntu 18.04

dhclient is the Dynamic Host Configuration Protocol (DHCP) Client one would use to allow a client to connect to a DHCP server.

$ sudo nano /etc/rc.local

#!/bin/bash
dhclient
exit 0