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 | |
# https://gist.github.com/pleasemarkdarkly/3816597f127f10d3e17b34acc638787a | |
update_vim_installer () { | |
gist-paste ./install_vim.sh -u 3816597f127f10d3e17b34acc638787a | |
} | |
info () { | |
printf "\r [ \033[00;34m..\033[0m ] $1\n" |
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 | |
# https://transfersh.pleasemarkdarkly.com/6zKky/install_nano-5.2.sh | |
NANO=nano-5.2.tar.gz | |
VERS=5.2 | |
function nano_install () { | |
wget https://nano-editor.org/dist/v5/$NANO | |
tar -xvf $NANO |
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 | |
# Location: /usr/local/etc/rc.d | |
# Provides: Synology Custom Services | |
# Required-Start: hostname $local_fs | |
# Required-Stop: | |
# Should-Start: | |
# Default-Start: 1 2 3 4 5 | |
# Default-Stop: | |
# Short-Description: Additional services start upon Synology DSM reboot |
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/ash | |
# Increase the read_ahead_kb to 2048 to maximise sequential large-file read/write performance. | |
# http://darencard.net/blog/2018-08-14-entware-synology/ | |
# Put this in /usr/local/etc/rc.d/ | |
# chown this to root | |
# chmod this to 755 | |
# Must be run as root! |
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 | |
# Put this in /usr/local/etc/rc.d/ | |
# chown this to root | |
# chmod this to 755 | |
# Must be run as root! | |
SESSION=$(date +"%Y%m%d-%H%M") | |
SYSTEM_LOG="/root/synology-extra-config.${SESSION}.log" | |
VOLUME_MOUNTS="/volume1/systems/synology_918+/mounts" |
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 | |
# symlinked location: /usr/local/etc/rc.d/entware-startup.sh | |
# location: /volume1/system/synology_918+/mounts/startup_scripts/entware_startup.sh | |
SESSION=$(`which date` +"%Y%m%d-%H%M") | |
SYSTEM_LOG="/root/synology-extra-config.${SESSION}.log" | |
[ ! -f "${SYSTEM_LOG}" ] && touch "${SYSTEM_LOG}" | |
function do_start () { |
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 | |
# https://gist.github.com/82d8730e69a501694d7c3a15233b29c9 / https://gist.githubusercontent.com/pleasemarkdarkly/82d8730e69a501694d7c3a15233b29c9/raw/5a39090a55c5b552a787e1d9140960432514c3b5/chroot-start-stop-status | |
edit_chroot_start_stop_status () { | |
echo gist-paste -u 82d8730e69a501694d7c3a15233b29c9 | |
nano ./chroot-start-stop-status | |
gist-paste chroot-start-stop-status -u 82d8730e69a501694d7c3a15233b29c9 | |
echo $0_ | |
} |
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
tap "acrogenesis/macchanger" | |
tap "aykamko/tag-ag" | |
tap "brewsci/bio" | |
tap "caskroom/cask" | |
tap "caskroom/drivers" | |
tap "caskroom/fonts" | |
tap "cliutils/apple" | |
tap "elastic/tap" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" |
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 | |
########################################################################## | |
# Yet Another Monitor (YAMon) | |
# Copyright (c) 2013-present Al Caughey | |
# All rights reserved. | |
# | |
# Script to download, install & setup YAMon3.x | |
# | |
# Updated: 2020-01-11 - added L flag to follow symlinks when checking read permissions (about line 95) |
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 | |
# https://gist.github.com/865ceba0e95680bee00f213efec9e136 | |
# https://gist.githubusercontent.com/pleasemarkdarkly/865ceba0e95680bee00f213efec9e136/raw/c9cfe3deb0e3ebf3b649b71f543742282cee1b6a/install_darkstat.sh | |
install_darkstat() { | |
sudo apt-get install darkstat | |
echo "/etc/darkstat/init.cfg" | |
wget https://gist.githubusercontent.com/pleasemarkdarkly/1e5101f1541e4ec3ad3c3dc1d6cd8f54/raw/f846091cef8ac0158746813e3bbe7c048f9b20cb/init.cfg | |
mv -v ./init.cfg /etc/darkstat/init.cfg |