From 4263d775580e6e2bf3122eb6c24d601fb34a2354 Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 28 Nov 2018 20:21:32 -0700 Subject: migrate home site domain --- .config/init/funcs/send | 6 +++--- .config/init/funcs/ssh-scrot | 14 +++++++------- .zshrc-linux-desktop | 8 ++++---- README.md | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.config/init/funcs/send b/.config/init/funcs/send index db74680..9afb66a 100755 --- a/.config/init/funcs/send +++ b/.config/init/funcs/send @@ -22,18 +22,18 @@ for i in "$@"; do || { echo "file '$i' not found"; return 1 } done -scp "$@" shmibbles.me:http/tmp/ 2>/dev/null \ +scp "$@" airen-no-jikken.icu:http/tmp/ 2>/dev/null \ || { echo "sending files failed"; return 1 } for name in "$@" do basename=${name:t} - ssh shmibbles.me "cd http/tmp; chmod g+r,g-w,o-rw \"${basename//\"/\\\"}\"" \ + ssh airen-no-jikken.icu "cd http/tmp; chmod g+r,g-w,o-rw \"${basename//\"/\\\"}\"" \ || { echo "making '$name' readable failed"; return 1 } { - printf "%s" 'https://shmibbles.me/tmp/' + printf "%s" 'https://airen-no-jikken.icu/tmp/' for c in "${(s::)basename}"; do if [[ "${escapes[$c]}" == "" ]]; then printf "%s" "$c" diff --git a/.config/init/funcs/ssh-scrot b/.config/init/funcs/ssh-scrot index 1e6a90c..8fa243c 100755 --- a/.config/init/funcs/ssh-scrot +++ b/.config/init/funcs/ssh-scrot @@ -14,13 +14,13 @@ fi local date=$(date +'%Y-%m-%d') local folder="http/img/scrot" -ssh shmibbles.me "mkdir -p $folder/$date" +ssh airen-no-jikken.icu "mkdir -p $folder/$date" if [[ "${?#0}" != "" ]]; then return 1 fi -ssh shmibbles.me "cd $folder; rm current 2>/dev/null; ln -s $date current" +ssh airen-no-jikken.icu "cd $folder; rm current 2>/dev/null; ln -s $date current" for i in {3..1}; do echo -n "$i " @@ -33,12 +33,12 @@ sleep .1 scrot /tmp/$name.png convert -scale 250x /tmp/$name.png /tmp/${name}_small.png -scp /tmp/$name.png /tmp/${name}_small.png shmibbles.me:http/img/scrot/$date +scp /tmp/$name.png /tmp/${name}_small.png airen-no-jikken.icu:http/img/scrot/$date -echo "https://shmibbles.me/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection clipboard -echo "https://shmibbles.me/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection primary -echo "https://shmibbles.me/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection clipboard -echo "https://shmibbles.me/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection primary +echo "https://airen-no-jikken.icu/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection clipboard +echo "https://airen-no-jikken.icu/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection primary +echo "https://airen-no-jikken.icu/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection clipboard +echo "https://airen-no-jikken.icu/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection primary echo 'sent!' diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop index 6acd533..dc6c78f 100644 --- a/.zshrc-linux-desktop +++ b/.zshrc-linux-desktop @@ -1,9 +1,9 @@ ################### ALIASES ################## -alias ssh-socks='ssh -C2qTnN -F /dev/null -D 9853 shmibbles.me' +alias ssh-socks='ssh -C2qTnN -F /dev/null -D 9853 airen-no-jikken.icu' if [[ "$(whence sshfs)" != "" ]] then - alias smounth='mkdir -p ~/shmibbles.me; sshfs shmibbles.me: ~/shmibbles.me' - alias smountw='mkdir -p ~/shmibbles.me; sshfs shmibbles.me:/usr/local/www/apache24/data/ ~/shmibbles.me' - alias sumount='fusermount -u ~/shmibbles.me; rmdir ~/shmibbles.me' + alias smounth='mkdir -p ~/airen-no-jikken.icu; sshfs airen-no-jikken.icu: ~/airen-no-jikken.icu' + alias smountw='mkdir -p ~/airen-no-jikken.icu; sshfs airen-no-jikken.icu:/usr/local/www/apache24/data/ ~/airen-no-jikken.icu' + alias sumount='fusermount -u ~/airen-no-jikken.icu; rmdir ~/airen-no-jikken.icu' fi diff --git a/README.md b/README.md index 081b892..c3df76f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ desktop configurations. function over form, though things being pretty is nice ## Screenshots -[![clean](https://shmibbles.me/img/scrot/current/clean_small.png)](https://shmibbles.me/img/scrot/current/clean.png) [![dirty](https://shmibbles.me/img/scrot/current/dirty_small.png)](https://shmibbles.me/img/scrot/current/dirty.png) +[![clean](https://airen-no-jikken.icu/img/scrot/current/clean_small.png)](https://airen-no-jikken.icu/img/scrot/current/clean.png) [![dirty](https://airen-no-jikken.icu/img/scrot/current/dirty_small.png)](https://airen-no-jikken.icu/img/scrot/current/dirty.png) ## Structure -- cgit v1.2.3