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 | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" | |
| exit 1 | |
| else | |
| #Update and Upgrade | |
| echo "Updating and Upgrading" | |
| apt-get update && sudo apt-get upgrade -y |
This file has been truncated, but you can view the full file.
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
| 阿爸 a1'ba4 18137 | |
| 阿昌族 a1'chang1'zu2 50849 | |
| 阿斗 a1'dou3 42632 | |
| 阿飞 a1'fei1 48603 | |
| 阿富汗 a1'fu4'han4 3461 | |
| 阿訇 a1'hong1 34432 | |
| 阿拉伯数字 a1'la1'bo2'shu4'zi4 35937 | |
| 阿拉伯语 a1'la1'bo2'yu3 30476 | |
| 阿妈 a1'ma1 16220 |
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
| let excludedActivityTypes = [ | |
| UIActivity.ActivityType.print, | |
| UIActivity.ActivityType.openInIBooks, | |
| UIActivity.ActivityType.copyToPasteboard, | |
| UIActivity.ActivityType.addToReadingList, | |
| UIActivity.ActivityType.assignToContact, | |
| UIActivity.ActivityType.copyToPasteboard, | |
| UIActivity.ActivityType.mail, | |
| UIActivity.ActivityType.markupAsPDF, | |
| UIActivity.ActivityType.postToFacebook, |
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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: nginx-conf | |
| data: | |
| nginx.conf: | | |
| user nginx; | |
| worker_processes 3; | |
| error_log /var/log/nginx/error.log; | |
| events { |
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
| #!/usr/bin/env python3 | |
| ''' | |
| A script to recursively compare two directories (including file size and file hash changes) | |
| Usage: python3 compare_dirs.py DIR1 DIR2 | |
| ''' | |
| import os, sys, hashlib, unicodedata | |
| COMPARE_FILES = True # should file sizes be compared if their names are the same? |