Skip to content

Instantly share code, notes, and snippets.

View terriann's full-sized avatar
🦄
Making things happen

Terri Ann Swallow terriann

🦄
Making things happen
View GitHub Profile
@terriann
terriann / renew-gpgkey.md
Created November 21, 2023 14:01 — forked from krisleech/renew-gpgkey.md
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

@terriann
terriann / Backup_iPhone_TimeCapsule.sh
Created January 2, 2018 04:31 — forked from nrollr/Backup_iPhone_TimeCapsule.sh
iOS device backup to Time Capsule
# Create the appropriate directory structure on the TimeCapsule and mount the root folder ('Data' in this example)
# Backup path: /Volumes/Data/iOS/Backup/
$ cp -r ~/Library/Application\ Support/MobileSync/Backup/ /Volumes/Data/iOS
$ cd ~/Library/Application\ Support/MobileSync/
$ rm -r Backup/
$ ln -s /Volumes/Data/iOS/Backup/ ~/Library/Application\ Support/MobileSync/
# Open iTunes select your iPhone/iPad and click 'Back Up Now'-buttom
@terriann
terriann / remove-genesis-woocommerce-sidebar.php
Created August 14, 2015 11:56
Remove the Sidebar form your WooCommerce & Genesis WordPress Shop
<?php
/*
* This will remove the Genesis sidebar from your WooCommerce category, taxonomy and product pages
* Just add it to your functions.php in your child theme.
*/
function remove_sidebar_shop() {
if(is_product_category() || is_product_tag() || is_product()) {
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
}
<a href="http://childlikefascination.com/2015-new-quilt-bloggers/" target="_blank"><img src="http://i610.photobucket.com/albums/tt181/terrianns/sewcial-swarm-outline_zpsiykzozev.png" border="0" alt="Sewcial Swarm - 2015 New Quilt Bloggers" nopin="nopin" width="200" /></a>