Skip to content

Instantly share code, notes, and snippets.

View eclecticpassions's full-sized avatar
🤓
[==> . . . . ] digital decluttering in progress

Naty eclecticpassions

🤓
[==> . . . . ] digital decluttering in progress
View GitHub Profile
@miromannino
miromannino / service.md
Last active February 24, 2025 22:04 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debian/ubuntu

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name
@ooobo
ooobo / export swinsian selected.scpt
Last active April 11, 2025 07:20
AppleScript: export songs from Swinsian playlist and rename as numbered files
-- great for exporting a playlist from Swinsian to another music playing software, while keeping the order of the playlist.
-- to install: open Script Editor.app, paste this, go File > Export, choose File Format: application, save anywhere you like.
-- to use: select tracks to export in Swinsian, then run the app you just saved.
-- note: doesn't handle those files already existing in selected folder. pads for two-digits, adds artist - title.ext
set theFolder to choose folder
set text item delimiters to "."
tell application "Swinsian"
set selected to selection of window 1
-- check that the playlist is not empty
@AnthonyWharton
AnthonyWharton / automatedManualCertbotRenewal.sh
Last active April 19, 2025 09:03
FreeDNS (afraid.org) Cerbot/Let's Encrypt Manual Automation Script
#!/bin/bash
# Copyright 2018, Anthony Wharton
# Single script that can be called that generates certificates using the
# certbotFreeDNSAuthHook.sh and certbotFreeDNSCleanupHook.sh scripts.
# This should be used as guidence of my usage, and changed to your needs. Note
# the generic `/path/to/...` and `DOMAIN.COM`, which should be replaced with
# your script location and domain respectively. In addition, for this to be
# used on a live system, one must remove the `--dry-run` flag.
@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active April 28, 2025 15:45
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.

@dannberg
dannberg / obsidian-people-template.txt
Last active April 11, 2025 07:39
Dann Berg's People Template for Obsidian. Uses Dataview & Templater plugins. Should be saved as a Markdown file in Obsidian. See full tutorial for setup instructions: https://dannb.org/blog/2022/obsidian-people-note-template/
---
company:
location:
title:
email:
website:
aliases:
---
tags:: [[👥 People MOC]]