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 |
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 /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ High\ Sierra.app |
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
| # https://duo.com/docs/macos | |
| cd ~/Downloads | |
| curl -o MacLogon-latest.zip https://dl.duosecurity.com/MacLogon-latest.zip | |
| unzip MacLogon-latest.zip | |
| cd MacLogon-1.0.4 | |
| ./configure_maclogon.sh | |
| dscl . ls /Users | grep -v _ |
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
| nmap -A -oX nmapoutput -T5 192.168.0.1 | |
| xsltproc nmapoutput.xml -o scanme.html |
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 yum -y install epel-release | |
| sudo curl -LOs https://downloads.globus.org/toolkit/globus-connect-server/globus-connect-server-repo-latest.noarch.rpm | |
| sudo rpm --import https://downloads.globus.org/toolkit/gt6/stable/repo/rpm/RPM-GPG-KEY-Globus | |
| sudo yum -y install globus-connect-server-repo-latest.noarch.rpm | |
| sudo yum clean all | |
| sudo yum -y install yum-plugin-priorities | |
| sudo yum -y install globus-connect-server |
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
| ffmpeg -rtsp_transport tcp -i rtsp://<user>:<password>@192.168.0.218/live/ch1 \ | |
| -acodec copy \ | |
| -vcodec copy \ | |
| -hls_wrap 40 \ | |
| -flags -global_header \ | |
| /var/www/html/cam/cam1.hls |
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/sh | |
| # | |
| # https://github.com/ccmc/visualization | |
| # | |
| sudo yum -y install git | |
| wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && bash Miniconda2-latest-Linux-x86_64.sh -b -p $HOME/miniconda2 -f && rm Miniconda2-latest-Linux-x86_64.sh | |
| export PATH="$HOME/miniconda2/bin:$PATH" |