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/sh | |
IFACE="${1}" | |
ACTION="${2}" | |
ntfy () { | |
LOGGED_USERS=$(users) | |
for user in ${LOGGED_USERS} | |
do |
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
[global_config] | |
always_on_top = True | |
borderless = True | |
dbus = True | |
enabled_plugins = TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, Logger, LaunchpadBugURLHandler | |
geometry_hinting = False | |
hide_from_taskbar = True | |
sticky = True | |
tab_position = bottom | |
title_hide_sizetext = True |
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 | |
###################################################################################### | |
## Script for managing dotfiles | |
## | |
## IMPORTANT: This script should be located inside the directory where you keep | |
## your dotfiles, otherwise it will not work. | |
###################################################################################### | |
###################################################################################### |
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/sh | |
# | |
# Shell script to monitor or watch the disk space | |
# It will send an email to $ADMINEMAIL, if the (free avilable) percentage | |
# of space is >= 90% | |
# | |
# Linux shell script to watch disk space (should work on other UNIX OSes) | |
# SEE URL: http://www.cyberciti.biz/tips/shell-script-to-watch-the-disk-space.html | |
# | |
# set admin email so that you can get email |
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 | |
### BEGIN INIT INFO | |
# Provides: mysqlfailover | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $network $time | |
# Should-Stop: $network $time | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 |