alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
add up
author
j3s
date
5 years ago
(Sep 7, 2020, 3:07 PM -0500)
commit
2bc9ce05
2bc9ce05f3871047e91a6e6e4859d0a36ec15811
parent
568d172a
568d172a808b764a42263480389e2654733101e6
+7
-2
1 changed file
Expand all
Collapse all
Unified
Split
bin
up
+7
-2
bin/up
Reviewed
···
2
2
3
3
if [ -n "$1" ]; then
4
4
scp "$1" trash.j3s.sh:/var/www/trash.j3s.sh/
5
5
-
echo "https://trash.j3s.sh/$1"
5
5
+
echo "https://trash.j3s.sh/$1" | xclip -sel clip
6
6
else
7
7
-
echo "spply a file dumbass"
7
7
+
scrot -s -e 'mv $f /tmp/'
8
8
+
for i in $(cd /tmp ; ls *_scrot.png); do
9
9
+
scp "/tmp/$i" trash.j3s.sh:/var/www/trash.j3s.sh/ss/ > /dev/null
10
10
+
echo "https://trash.j3s.sh/ss/$i" | xclip -sel clip
11
11
+
done
12
12
+
rm /tmp/*_scrot.png
8
13
fi