Skip to content

Instantly share code, notes, and snippets.

@pboesch
pboesch / z_r_m_updatedeb.sh
Last active November 17, 2022 15:22
Update Zoom, Rocket.Chat and Mattermost deb
#!/bin/sh
if [ $(id -u) -ne 0 ] ; then echo "Please run as root" ; exit 1 ; fi
f_update() {
current=$(dpkg -l | grep $1 | awk '{ print $3 }' | cut -d'-' -f1)
if [ "$1" = "zoom" ];
then
url="https://zoom.us/client/latest/zoom_amd64.deb"
@pboesch
pboesch / README.md
Last active September 9, 2021 07:18 — forked from kuba-orlik/README.md
Remove old events from a big ics calendar file

Removes all events preceeding a given year from an .ics calendar file (the kind you can find e.g. in a Radicale-based CalDAV server).

Usage:

./trim-calendar.sh Personal 2016 # removes all events starting before the year 2016 from the calendar stored in Personal.ics file
@pboesch
pboesch / isso
Created February 25, 2018 16:56 — forked from ckoepp/isso
FreeBSD rc.d script for isso
#!/bin/sh
#
# PROVIDE: isso
# REQUIRE: networking
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable isso:
#
# isso_enable (bool): Set to "NO" by default.