Skip to content

Instantly share code, notes, and snippets.

View eclecticpassions's full-sized avatar
👩‍💻
Consolidating my digital life.

Naty eclecticpassions

👩‍💻
Consolidating my digital life.
View GitHub Profile
@dannberg
dannberg / obsidian-people-template.txt
Last active August 17, 2024 16:32
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]]
@AnthonyWharton
AnthonyWharton / automatedManualCertbotRenewal.sh
Last active July 28, 2024 15:24
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.
@ooobo
ooobo / export swinsian selected.scpt
Last active August 14, 2023 04:01
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
@miromannino
miromannino / service.md
Last active September 9, 2024 12:14 — 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