This file contains hidden or 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
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'colorize' | |
| class MakeMkvSettings | |
| attr_accessor :makemkv_settingsfile | |
| def initialize |
This file contains hidden or 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 | |
| # /etc/NetworkManager/dispatcher.d/50-network-routing.sh | |
| # 700 root:root | |
| # symlinks to this file in /etc/NetworkManager/dispatcher.d/pre-up.d/ | |
| # and /etc/NetworkManager/dispatcher.d/pre-down.d/ | |
| INTERFACE=$1 | |
| ACTION=$2 |
This file contains hidden or 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
| # /etc/logrotate.d/network-manager | |
| /var/log/network-manager.log { | |
| rotate 6 | |
| monthly | |
| compress | |
| missingok | |
| notifempty | |
| } |
This file contains hidden or 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 | |
| print_usage_device () { | |
| echo "Usage: $1 DEVICE" | |
| echo " DEVICE: name of interface device, e.g. eth0, wlan0" | |
| } | |
| print_usage_device_route () { | |
| echo "Usage: $1 DEVICE ROUTE" | |
| echo " DEVICE: name of interface device to configure, e.g. eth0, wlan0" |
This file contains hidden or 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 | |
| function print_usage () { | |
| echo "Usage: $0 JDK_HOME" | |
| echo " JDK_HOME directory containing the JDK" | |
| exit 2 | |
| } | |
| if [ $# -ne 1 ]; then | |
| print_usage |