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
- hosts: localhost | |
become: true | |
become_user: root | |
gather_facts: False | |
tasks: | |
- name: 1. Adding Intel® oneAPI repository | |
yum_repository: | |
name: OneAPI | |
description: Intel® oneAPI repository | |
baseurl: https://yum.repos.intel.com/oneapi |
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
Get-WmiObject -Class Win32_Printer | where{$_.Network -eq ‘true‘}| foreach{$_.delete()} |
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
SSH into the USG and type the following: | |
configure <return> | |
set service mdns reflector <return> | |
commit <return> | |
save <return> |
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
Add print.css to the directory | |
body { display: none; } | |
Add this this to the page | |
<link rel="stylesheet" type="text/css" href="print.css" media="print" /> |
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
# Ensure you have read the above information about what this script does before executing these commands. | |
# Download the script | |
wget https://raw.githubusercontent.com/BookStackApp/devops/master/scripts/installation-ubuntu-18.04.sh | |
# Make it executable | |
chmod a+x installation-ubuntu-18.04.sh | |
# Run the script with admin permissions | |
sudo ./installation-ubuntu-18.04.sh |
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
sudo apt-get install samba cups | |
sudo usermod –a –G lpadmin pi | |
# CUPS printing. See also the cupsaddsmb(8) manpage in the | |
# cupsys-client package. | |
printing = cups | |
printcap name = cups | |
[printers] | |
comment = All Printers |
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
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0 | |
To turn the firewall on for specific applications/services: | |
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1 | |
To turn the firewall on for essential services like DHCP and ipsec, block all the rest: | |
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 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
Windows 10 Decrapifier 1803/1809 | |
#By CSAND | |
#Feb 1 2019 | |
# | |
# | |
#PURPOSE: Eliminate much of the bloat that comes with Windows 10. Change many privacy settings to be off by default. Remove built-in advertising, Cortana, OneDrive, Cortana stuff (all optional). Disable some data collection. | |
# Clean up the start menu for new user accounts. Remove a bunch of pre-installed apps, or all of them (including the store). Create a more professional looking W10 experience. Changes some settings no longer | |
# available via GPO for Professional edition. | |
# | |
#DISCLAIMER: Most of the changes are easily undone, but some like removing the store are difficult to undo. I encourage you to research these changes beforehand, and read through the script. |
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
// A JS example that shows they're well on their way to a dark theme: | |
document.body.classList.add("ubnt-mod-dark"); | |
document.querySelectorAll(".appTable").forEach(i => i.classList.add("appTable--dark")); | |
document.querySelectorAll(".ubntPanelContent").forEach(i => i.classList.add("appForm--dark")); | |
document.querySelectorAll(".appMainButtonGroup").forEach(i => i.classList.add("appMainButtonGroup--dark")); |
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
# Update security packages via yum, then run rkhunter, and OSSEC checksum updates | |
sudo yum update --security | |
sudo rkhunter --update | |
sudo rkhunter --propupd | |
sudo rkhunter --check | |
sudo /var/ossec/bin/ossec-syscheckd |