Compare commits
13 Commits
feature
...
a67d23f6cf
Author | SHA1 | Date | |
---|---|---|---|
a67d23f6cf | |||
4f3d6ca96f | |||
aef1d2d10f | |||
6f24ce861c | |||
720e2a2ad3 | |||
eb593f4df7 | |||
faeb58e3d4 | |||
562ad079ea | |||
9687642456 | |||
ad4e548f25 | |||
38ef6ec0a3 | |||
5b91f75118 | |||
38ac94ceaa |
46
.todo2
Normal file
46
.todo2
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"title": "",
|
||||
"tasks": [
|
||||
{
|
||||
"text": "Clean dishes in sink",
|
||||
"priority": "veryhigh",
|
||||
"creation": 1585609661,
|
||||
"completion": 1585675940
|
||||
},
|
||||
{
|
||||
"text": "Cancel duolingo subscription before April 2nd",
|
||||
"priority": "veryhigh",
|
||||
"creation": 1585614956
|
||||
},
|
||||
{
|
||||
"text": "Write post on Nim forums about Space Nim",
|
||||
"priority": "medium",
|
||||
"creation": 1585117484
|
||||
},
|
||||
{
|
||||
"text": "find radio chargers",
|
||||
"priority": "low",
|
||||
"creation": 1585609589
|
||||
},
|
||||
{
|
||||
"text": "work on old computer from Lee",
|
||||
"priority": "low",
|
||||
"creation": 1585609627
|
||||
},
|
||||
{
|
||||
"text": "set up joplin on Lindsay's computer",
|
||||
"priority": "low",
|
||||
"creation": 1585609744
|
||||
},
|
||||
{
|
||||
"text": "get smokes",
|
||||
"priority": "medium",
|
||||
"creation": 1585667890
|
||||
},
|
||||
{
|
||||
"text": "Fix Jsearch",
|
||||
"priority": "medium",
|
||||
"creation": 1585671336
|
||||
}
|
||||
]
|
||||
}
|
45
.todo2~
Normal file
45
.todo2~
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"title": "",
|
||||
"tasks": [
|
||||
{
|
||||
"text": "Clean dishes in sink",
|
||||
"priority": "veryhigh",
|
||||
"creation": 1585609661
|
||||
},
|
||||
{
|
||||
"text": "Cancel duolingo subscription before April 2nd",
|
||||
"priority": "veryhigh",
|
||||
"creation": 1585614956
|
||||
},
|
||||
{
|
||||
"text": "Write post on Nim forums about Space Nim",
|
||||
"priority": "medium",
|
||||
"creation": 1585117484
|
||||
},
|
||||
{
|
||||
"text": "find radio chargers",
|
||||
"priority": "low",
|
||||
"creation": 1585609589
|
||||
},
|
||||
{
|
||||
"text": "work on old computer from Lee",
|
||||
"priority": "low",
|
||||
"creation": 1585609627
|
||||
},
|
||||
{
|
||||
"text": "set up joplin on Lindsay's computer",
|
||||
"priority": "low",
|
||||
"creation": 1585609744
|
||||
},
|
||||
{
|
||||
"text": "get smokes",
|
||||
"priority": "medium",
|
||||
"creation": 1585667890
|
||||
},
|
||||
{
|
||||
"text": "Fix Jsearch",
|
||||
"priority": "medium",
|
||||
"creation": 1585671336
|
||||
}
|
||||
]
|
||||
}
|
@@ -31,7 +31,7 @@ withLoop(){
|
||||
clear
|
||||
echo
|
||||
|
||||
echo "Pinging: ${site}"
|
||||
echo "Pinging ${site} until a connection is reached"
|
||||
${pingcmd} ${site} &>/dev/null
|
||||
if [ $? = "2" ];then
|
||||
echo
|
37
dino-git.sh
Executable file
37
dino-git.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
GIT_URL="https://github.com/dino/dino.git"
|
||||
MASTER_DIR="dino"
|
||||
BUILD_DIR="build"
|
||||
|
||||
|
||||
if [[ -z "${1}" ]];then
|
||||
echo "Please specify how many threads you want the make command to use (starting from 0)"
|
||||
echo "Example: ${0} 5"
|
||||
echo "The above example will use 4 threads"
|
||||
exit 0
|
||||
fi
|
||||
echo "getting dependencies..."
|
||||
|
||||
if [[ -f /usr/bin/apt ]];then
|
||||
sudo apt install cmake valac libgee-0.8-dev libsqlite3-dev libgtk-3-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev gettext libsignal-protocol-c-dev
|
||||
elif [[ -f /usr/bin/dnf ]];then
|
||||
sudo dnf install cmake vala libgee-devel gtk3-devel libgcrypt-devel qrencode-devel gdk-pixbuf2-devel libsoup-devel gpgme-devel libsignal-protocol-c-devel
|
||||
else
|
||||
echo "Package manager not detected"
|
||||
fi
|
||||
|
||||
if [[ ! -d "${MASTER_DIR}" ]];then
|
||||
git clone ${GIT_URL}
|
||||
cd ${MASTER_DIR}
|
||||
./configure
|
||||
make -j${1}
|
||||
|
||||
if [[ ! -f "${BUILD_DIR}/dino" ]];then
|
||||
echo "The build failed, since the ${BUILD_DIR} is missing"
|
||||
exit 1
|
||||
else
|
||||
echo "You can now run the binary located in $(pwd)/${BUILD_DIR}"
|
||||
fi
|
||||
else echo "${MASTER_DIR} directory exists already"
|
||||
fi
|
4
nmip.sh
4
nmip.sh
@@ -19,8 +19,10 @@ NC='\033[0m' # No Color
|
||||
|
||||
if [ ! -f /usr/bin/nmap ];then
|
||||
printf "${LRED} Nmap is not installed...${NC}\n"
|
||||
else
|
||||
elif [ ! -z "${1}" ];then
|
||||
nmap -sP "${1}/24"
|
||||
|
||||
else
|
||||
printf "${LGREEN}Looking up ${lanip}...${NC}\n"
|
||||
nmap -sP ${lanip}/24 # Use sudo to get names of devies
|
||||
fi
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
pkgname="master"
|
||||
pkgurl="https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959/archive/${pkgname}.zip"
|
||||
pkgurl="git@github.com:cilynx/rtl88x2bu/${pkgname}.zip"
|
||||
installcmd="dnf install"
|
||||
installcmdextra="dnf group install"
|
||||
pkgdeps="wget unzip dnsmasq hostapd bc dkms kernel-headers rsync"
|
||||
|
6
svc.sh
6
svc.sh
@@ -35,7 +35,7 @@ help(){
|
||||
printf """
|
||||
svc - Service Commander - frontend for the sv command
|
||||
|
||||
Usage: svc enable | unenable | enableed | list | up | start | restart | stop <service>
|
||||
Usage: svc enable | disable | enabled | list | up | start | restart | stop <service>
|
||||
|
||||
|
||||
For detailed help, see the commands below:
|
||||
@@ -45,7 +45,7 @@ start Start an enabled service
|
||||
restart Restart a enabled service
|
||||
stop Stop an enabled service
|
||||
enable Symenlink directory/file to /var/service
|
||||
unenable Remove symlink from /var/service
|
||||
disable Remove symlink from /var/service
|
||||
enabled View synlinked paths of all services
|
||||
ls List enabled and unenabled service files
|
||||
up Show status of running services
|
||||
@@ -59,7 +59,7 @@ case $1 in
|
||||
ln -v -s /etc/sv/"${2}" /var/service/
|
||||
;;
|
||||
|
||||
unenable | --remove-service )
|
||||
disable | --remove-service )
|
||||
rm -v /var/service/"${2}"
|
||||
;;
|
||||
|
||||
|
Reference in New Issue
Block a user