Skip to content

Instantly share code, notes, and snippets.

View TimTim74's full-sized avatar

Timothy Eichmann TimTim74

View GitHub Profile
{
"schemaVersion": "0.1.0",
"name": "ComicVine",
"behavior": "create",
"noteContentFormat": "{{time|date:\"YYYY-MM-DD HH:mm\"}}\nStatus:\nTags:\nLinks:\n\n### Description\n\n{{selector:#credit-content > div > article > section > div > div.wiki-item-display.js-toc-content p}}\n\n### Thoughts\n\n### Quotes\n\n### Links",
"properties": [
{
"name": "title",
"value": "{{title|replace:\\\"(Issue)\\\":\\\"\\\"}}",
"type": "text"
@johndturn
johndturn / launchd-for-services.md
Last active November 7, 2025 12:07
Overview of using launchd to set up services on a macOS machine.

launchd - Script Management in macOS

What is it?

  • Used on macOS for managing agents and daemons and can be used to run scripts at specified intervals
    • macOS's competitor to cron, along with other things
  • Runs Daemons and Agents

What is a Daemon?

@alecharp
alecharp / keep-jenkins-plugins-uptodate.groovy
Last active March 20, 2025 20:02
Simple groovy script to upgrade active plugins when new versions are available
jenkins.model.Jenkins.getInstance().getUpdateCenter().getSites().each { site ->
site.updateDirectlyNow(hudson.model.DownloadService.signatureCheck)
}
hudson.model.DownloadService.Downloadable.all().each { downloadable ->
downloadable.updateNow();
}
def plugins = jenkins.model.Jenkins.instance.pluginManager.activePlugins.findAll {
it -> it.hasUpdate()