mdadm --detail /dev/md127 Sample Output:
/dev/md127:
Version : 1.2
| -- Hotkey: Ctrl + Cmd + V | |
| hs.hotkey.bind({"ctrl", "cmd"}, "V", function() | |
| local originalLayout = hs.keycodes.currentLayout() | |
| local targetLayout = "U.S." | |
| local clipboardText = hs.pasteboard.getContents() | |
| if clipboardText == nil or clipboardText == "" then | |
| hs.alert.show("Clipboard is empty!") | |
| return | |
| end |
| import { Field } from 'payload'; | |
| export const FontAwesomeField: Field = { | |
| name: 'fontAwesomeIcon', | |
| label: 'Icon', | |
| type: 'text', | |
| validate: (value) => { | |
| if (!value) { | |
| return 'Please select an icon'; | |
| } |
| #!/bin/bash | |
| if [[ -d "/home/ubuntu/.ssh/" ]]; then | |
| mv -v /home/ubuntu/.ssh/ /root/ | |
| chown -R root:root /root/.ssh/ && chmod 700 /root/.ssh/ && chmod 600 /root/.ssh/* | |
| sed -ie 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config | |
| systemctl reload ssh | |
| pkill -u ubuntu && userdel -r ubuntu | |
| fi |
| package qemu | |
| import ( | |
| "bytes" | |
| "io" | |
| ) | |
| type Format string | |
| const ( |
| package main | |
| import ( | |
| "flag" | |
| "golang.org/x/net/websocket" | |
| "io" | |
| "log" | |
| "net" | |
| "net/http" | |
| "os" |
| import subprocess | |
| import re | |
| import sys | |
| class GPGInfo: | |
| @staticmethod | |
| def get_id(): | |
| output = subprocess.check_output("/usr/bin/gpg2 --card-status --batch", shell=True) | |
| results = re.search('^Signature key.*: ([A-Z0-9 ]+)', output.decode(), re.MULTILINE) |
| #!/bin/bash | |
| echo "-------------------------" | |
| echo "DB WiFi Online Checker" | |
| echo "Version 1.0" | |
| echo "-------------------------" | |
| if [[ `whoami` != 'root' ]] | |
| then | |
| echo "`date`: Please run this script as root! Try again with \"sudo bash $0\"." |
| #!/bin/bash | |
| if [[ `whoami` != "root" ]] | |
| then | |
| echo "Please run this script as root" | |
| exit 1 | |
| fi | |
| ifname="ppp0" | |
| mtu="1400" |