CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
| # Pre-req | |
| xcode-select --install | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| # Install podman | |
| brew install podman | |
| # Start vm | |
| podman machine init | |
| podman machine start |
| # error handling | |
| # redirect logs so can be found in instance -> actions -> instance settings -> Get System log | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| # trap errors. Shutdown restarts machine in an hour and prevents further commands, | |
| # so instances won't finish booting and won't report to ECS | |
| function my_trap() | |
| { | |
| echo "Sorry, there was an error at line $1 $2" && shutdown -h +60 | |
| } | |
| trap 'my_trap $${LINENO} $$? ' ERR |
| [global_config] | |
| title_inactive_bg_color = "#4d4d4d" | |
| title_inactive_fg_color = "#ffffff" | |
| title_transmit_bg_color = "#1e1f29" | |
| title_transmit_fg_color = "#02ff5f" | |
| [keybindings] | |
| [layouts] | |
| [[default]] | |
| [[[child1]]] | |
| parent = window0 |
| import java.time.Instant; | |
| import java.time.LocalDateTime; | |
| import java.time.ZoneId; | |
| import java.util.TimeZone; | |
| import java.util.concurrent.TimeUnit; | |
| public class TimeZoneTest { | |
| // https://www.worldtimebuddy.com/?pl=1&lid=2643743,3448439,3530597&h=2643743 | |
| public static void main(String[] args) { |
| -Djavax.net.debug=ssl,handshake |
| nmap --script ssl-enum-ciphers -p 443 10.10.10.221 |
| # Install | |
| - netcat | |
| # Listen | |
| nc -luv 12201 | |
| # Send | |
| nc -nuv 10.0.0.1 12201 |
| sudo trimforce enable |
| sudo cat /var/log/syslog | lolcat -F 0.1 |