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 | |
# PURPOSE: | |
# TO BACK UP ALL FILES AND FOLDERS FROM A GIVEN DIRECTORY | |
# Directory to back up is set with the constant BACK_UP_LOCATION | |
# Directory to save the back up to is /IT/backup/ and is set with the constant BACK_UP_DIR | |
# Directory to save the log files to is /IT/backup/log/ and is set by changing the tail end of the constant BACK_UP_LOG_DIR | |
# Obviously additional directories can be added to the back up by adding additional constants and incorporating that tar command(s) to go with them | |
# Based on a script by Rowland Holden https://codereview.stackexchange.com/questions/262837/linux-backup-script-written-in-bash-for-tar |
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
In order for this to work on Ubuntu the renderer must be networkd. | |
This will cause gnome to think your network is disconnected, I guess I need to do a pill request to fix that. :) | |
Some configurations depend on previous settings so be careful if you remove the bond from the config, just swap the adaptor name in for the bridge. | |
All networks have vlan1 so this will work even if all you have is a dumb switch. |
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
The `ghost run` command is used by the configured Ghost process manager and for debugging. If you're not running this to debug something, you should run `ghost start` instead. | |
+ sudo node current/index.js | |
[2021-05-05 19:09:16] INFO Ghost is running in production... | |
[2021-05-05 19:09:16] INFO Your site is now available on https://whatsgnu.today/ | |
[2021-05-05 19:09:16] INFO Ctrl+C to shut down | |
[2021-05-05 19:09:16] WARN Can't connect to the bootstrap socket (localhost 8000) ECONNREFUSED. | |
[2021-05-05 19:09:16] WARN Tries: 0 | |
[2021-05-05 19:09:16] WARN Retrying... | |
[2021-05-05 19:09:16] WARN Can't connect to the bootstrap socket (localhost 8000) ECONNREFUSED. | |
[2021-05-05 19:09:16] WARN Tries: 1 |
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
# Some servers require this option to be enabled, negotiation module should be installed | |
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Uncomment line below if 500 error | |
# RewriteBase /install |
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
version 15.2 | |
no service pad | |
no service timestamps debug uptime | |
service timestamps log datetime msec | |
service password-encryption | |
service sequence-numbers | |
! | |
hostname cswitch | |
! | |
boot-start-marker |
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
Starting with plugins: Array(6) | |
plugins.ts:151 Loading community-color-schemes: /Applications/Terminus.app/Contents/Resources/builtin-plugins/terminus-community-color-schemes/dist/index.js | |
plugins.ts:151 Loading core: /Applications/Terminus.app/Contents/Resources/builtin-plugins/terminus-core/dist/index.js | |
plugins.ts:151 Loading plugin-manager: /Applications/Terminus.app/Contents/Resources/builtin-plugins/terminus-plugin-manager/dist/index.js | |
plugins.ts:151 Loading settings: /Applications/Terminus.app/Contents/Resources/builtin-plugins/terminus-settings/dist/index.js | |
plugins.ts:151 Loading ssh: /Applications/Terminus.app/Contents/Resources/builtin-plugins/terminus-ssh/dist/index.js | |
internal/process/warning.js:18 (node:804) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. | |
writeOut @ internal/process/warning.js:18 | |
plugins.ts:151 Loading terminal: /Applications/Terminus.app/Contents/Re |
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
d-i partman-partitioning/no_bootable_gpt_biosgrub boolean false | |
d-i partman-partitioning/no_bootable_gpt_efi boolean false | |
# enforce usage of GPT - a must have to use EFI! | |
d-i partman-basicfilesystems/choose_label string gpt | |
d-i partman-basicfilesystems/default_label string gpt | |
d-i partman-partitioning/choose_label string gpt | |
d-i partman-partitioning/default_label string gpt | |
d-i partman/choose_label string gpt | |
d-i partman/default_label string gpt |
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
class User < ActiveRecord::Base | |
hobo_user_model # Don't put anything above this | |
fields do | |
name :string, :required | |
email_address :email_address, :login => true | |
agency :string | |
job_title :string | |
administrator :boolean, :default => false |