Skip to content

Instantly share code, notes, and snippets.

View fellipeh's full-sized avatar
🏠
Working from home

Fellipe Henrique fellipeh

🏠
Working from home
View GitHub Profile

Disable Device Enrollment Program (DEP) notification on macOS Monterey.md

With full reinstall (recommended)

   a. Boot into recovery using command-R during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS

   b. Initial installation will run for approximately 1 hour, and reboot once

   c. It will then show a remaining time of about 10-15 minutes

@fellipeh
fellipeh / Get_Splunk_for_Centos.sh
Created September 3, 2021 16:30
HOW-TO install Splunk on RedHat or Centos
#!/bin/sh
setenforce 0
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
hostnamectl set-hostname splunk
yum -y install wget mlocate
useradd splunk -G wheel -m -d /opt/splunk -s /bin/bash
echo -e "\$plunk1\n\$plunk1" | passwd splunk
mkdir /opt/splunk /opt/installers
@fellipeh
fellipeh / copy-from-time-machine.sh
Created September 1, 2017 17:12 — forked from vjt/copy-from-time-machine.sh
Copy data from a Time Machine volume mounted on a Linux box.
#!/bin/bash
#
# Copy data from a Time Machine volume mounted on a Linux box.
#
# Usage: copy-from-time-machine.sh <source> <target>
#
# source: the source directory inside a time machine backup
# target: the target directory in which to copy the reconstructed
# directory trees. Created if it does not exists.
#