From 6ef3d57db4aad23f7b9b2c519b211c077727b50f Mon Sep 17 00:00:00 2001 From: Marina Wahl Date: Tue, 24 Jun 2014 20:52:05 -0400 Subject: [PATCH] Readme --- README.md | 10 ++++++++++ shell_scripts/backup.sh | 19 +++++++++++++++++++ shell_scripts/gitpass.sh | 4 ++++ shell_scripts/secure_pan.sh | 7 +++++++ 4 files changed, 40 insertions(+) create mode 100644 README.md create mode 100644 shell_scripts/backup.sh create mode 100644 shell_scripts/gitpass.sh create mode 100644 shell_scripts/secure_pan.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..ec164d3 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +Dotfiles and Scripts +==================== + +Some sample of my config files, scripts, etc. + +Learn more at: +[Fedora Tricks and Configs](https://mariwahl.hackpad.com/ulruigl2Fwd#Fedora-Tricks-and-Configs) +[Linux Tricks and Configs](https://mariwahl.hackpad.com/dtzOUsZaQMo#Linux-Tricks-and-Configs) +[Sublime Tricks and Configs](https://mariwahl.hackpad.com/RT6R3ZWEl7j#Sublime-Tricks-and-Configs) +[The Little Privacy you may have](https://mariwahl.hackpad.com/uvQyUqQtfvF#The-Little-Privacy-You-May-Have) \ No newline at end of file diff --git a/shell_scripts/backup.sh b/shell_scripts/backup.sh new file mode 100644 index 0000000..03dd670 --- /dev/null +++ b/shell_scripts/backup.sh @@ -0,0 +1,19 @@ +i#!/bin/bash + +# saving things at /home +echo "Starting backup..." + +cd YOUR_BACKUP_FOLDER +mkdir `date +%m-%d-%Y-$HOSTNAME` +cd `date +%m-%d-%Y-$HOSTNAME` + + +cp ~/.bashrc bashrc +cp /etc/issue.net . +cp ~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings . + +# AND OTHER CONF FILES YOU WANT TO SAVE + +echo "Done!" + + diff --git a/shell_scripts/gitpass.sh b/shell_scripts/gitpass.sh new file mode 100644 index 0000000..a09505b --- /dev/null +++ b/shell_scripts/gitpass.sh @@ -0,0 +1,4 @@ +#!/bin/bash + + +ssh-add ~/.ssh/git/git_rsa diff --git a/shell_scripts/secure_pan.sh b/shell_scripts/secure_pan.sh new file mode 100644 index 0000000..9bb0c37 --- /dev/null +++ b/shell_scripts/secure_pan.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +echo "Starting a secure pan connection..." + +sudo stunnel +ps aux | grep stunnel +pan \ No newline at end of file