This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Confirm the proper argument was given; otherwise a blank argument would send you to the home directory | |
if [ $# -ne 1 ]; then | |
echo "Please call this script with a single argument giving me the path of the directory you want to run this in. If it has spaces please put it in double quotes." | |
exit 1 | |
elif [ ! -e "$1" ]; then | |
echo "Directory doesn't exist. Please pass in a valid directory you want the program to run in for the first argument." | |
exit 1 | |
elif [ ! -d "$1" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##### Variables Used ##### | |
# How do you connect to your reMarkable? I created a shortcut so I connect with "ssh remarkable". Another way might be | |
# with "ssh root@IPaddress". Here I left off the "ssh" so it's just "remarkable". In the second case it would be "root@IPaddress" | |
declare sshReMarkable="remarkable" | |
# Name of the temporary tar ball that's created | |
declare archiveName="archivedTemplates.tgz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# For more information about connecting to your reMarkable check out: https://www.simplykyra.com/2021/02/03/learn-how-to-access-your-remarkable-through-the-command-line/ | |
myConnect="YOUR IP ADDRESS" | |
myDate=`date +%Y-%m-%d` | |
echo "Using \"$myConnect\" I'm about to back up your reMarkable to the file \"$myDate\". If this doesn't work you may need to (1) enter your IP Address above, (2) use a public key so you don't need to enter your password or (3) turn on your reMarkable. " | |
mkdir $myDate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run as: ./createAppIcons.sh filename | |
# Assumes you are running the script where you want it to execute. | |
# If you want a different size you just need to add a line, or edit one, at the bottom of the file. | |
if [ $# -ne 1 ]; then | |
echo "Please call this script with one argument - the image file you want to resize." | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// Shared | |
// | |
// Created by Kyra on 2/2/22. | |
// | |
import SwiftUI | |
struct myItem: Hashable, Identifiable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// Shared | |
// | |
// Created by Kyra on 2/2/22. | |
// | |
import SwiftUI | |
struct ContentView: View { |