Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Christensen christianchristensen

View GitHub Profile
View radio_rpi_sdr.md
View self-updater.md

Self updater

Goal: An app that is able to exist with configuration for package management systems and also be configured to run with a self-update routine so that it can run stand-alone and able to receive updates.

Refs

View iphone-backup-info.md

iPhone Backup info

The backup sqlite db file is located ~/Library/Application Support/MobileSync/Backup/<phone ID> and is named 3d0d7e5fb2ce288813306e4d4636395e047a3d28.

It's name is an SHA1 hash of the full path of the file on the phone, plus its Domain.

$ printf 'HomeDomain-Library/SMS/sms.db' | openssl sha1
View _INFO.md

JENKINS-5413: SCM polling getting hung

# crontab
0 * * * * jenkins /var/lib/jenkins/threadkillscm.sh >> /tmp/jenkins-threadkillscm.log

# cat /var/lib/jenkins/threadkillscm.sh 
java -jar /var/lib/jenkins/jenkins-cli.jar -s http://myserver:8080/ groovy /var/lib/jenkins/threadkillscm.groovy