Skip to content

Instantly share code, notes, and snippets.

@marco79cgn
marco79cgn / schnelltest-availability.js
Last active September 28, 2024 12:57
Shows the available amount of Covid Tests in your local drug store and online
let country = "de"; // replace with 'at' for shops in Austria
let storeId = 251;
let param = args.widgetParameter;
if (param != null && param.length > 0) {
if (param.indexOf(";") > 0) {
const paramSplit = param.split(";");
storeId = paramSplit[0];
country = paramSplit[1].toLowerCase();
} else {
storeId = param;
@FlorianHeigl
FlorianHeigl / cheatsheets.md
Last active February 24, 2026 15:42
Printable Cheat Sheets for Software

A collection of links to useful cheat sheets.

Only what's properly printable can get a spot at the top of this list. It should also be small enough to fit on a few pages.
Almost all links in this document were designed by their creators so that YOU can print them in a good-looking format and store them however is best for you.
Anything that isn't really something you could print in A4/US Letter format, but is still a well-made cheatsheet can get a spot at the end of the page.

Pleae contribute any you remember you've seen and liked.
It would be wonderful if we can get these to be something more commonly made.

@tskaggs
tskaggs / OSX-Convert-MOV-GIF.md
Last active January 10, 2026 08:39
Creating GIFs from .MOV files in OSX using FFmpeg and ImageMagick

Convert MOV to GIF using FFmpeg and ImageMagick

I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!

Preparation

Install FFmpeg

  • $ brew install ffmpeg [all your options]
    • Example: $ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

Install ImageMagick

@fevangelou
fevangelou / Disable autostart of the NCP Secure Entry macOS application.txt
Last active January 5, 2024 00:37
Disable autostart of the NCP Secure Entry macOS application
This is a tip for NCP Secure Entry macOS Client originally created in 2012,
so it may not apply to recent versions...
As of Jan 2024, NCP Secure Entry macOS Client is available here:
https://www.ncp-e.com/en/service-resources/download-vpn-client
https://software.ncp-e.com/NCP_Secure_Entry_Client/macOS/ (older releases)
So, on to the issue...
To disable the autostart of the NCP Secure Entry Mac Client GUI application on a Mac, just edit the /Library/LaunchAgents/com.ncp-e.ncpmon.plist file and set the value "RunAtLoad" to "false" (from "true"). It's faster to do it via command-line, like this: