This procedure was tested on FreeBSD-CURRENT build from d8819d88af52.
- Enable linuxulator and install linux userland:
# sysrc linux_enable="YES" # service linux start # pkg install linux_base-c7
This procedure was tested on FreeBSD-CURRENT build from d8819d88af52.
# sysrc linux_enable="YES"
# service linux start
# pkg install linux_base-c7
| # to add to your ~/.bashrc or your ~/.zshrc file. Usage: $ go switch 1.18.1 | |
| function go() { | |
| case $* in | |
| switch* ) | |
| shift 1 | |
| gobindir=$(go env GOBIN) | |
| # adapt to a valid directory at the beginning of your $PATH if you're not on systemd | |
| homebindir=$(systemd-path user-binaries) | |
| go install golang.org/dl/go"$@"@latest | |
| $gobindir/go"$@" download |
| blueprint: | |
| name: Update notifications | |
| description: Send notifications for new updates and install or skip on action | |
| homeassistant: | |
| min_version: '2022.4.0' | |
| domain: automation | |
| input: | |
| update_entities: | |
| name: Update entities | |
| description: >- |
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| # Copyright (c) Rau Systemberatung GmbH (rausys.de) | |
| # MIT License | |
| # credits: https://pyimagesearch.com/start-here/ | |
| import argparse | |
| import os | |
| from datetime import datetime, timedelta |
| defmodule DateTimeParser do | |
| @mapping %{ | |
| "H" => "(?<hour>\\d{2})", | |
| "I" => "(?<hour12>\\d{2})", | |
| "M" => "(?<minute>\\d{2})", | |
| "S" => "(?<second>\\d{2})", | |
| "d" => "(?<day>\\d{2})", | |
| "m" => "(?<month>\\d{2})", | |
| "y" => "(?<year2>\\d{2})", | |
| "Y" => "(?<year>-?\\d{4})", |
Edit 2023-03-03: This is now written in long-form at https://jamesog.net/2023/03/03/yubikey-as-an-ssh-certificate-authority/
The original version is retained below.
ykman from the yubikey-manager packageyubico-piv-tool package| // MIT License | |
| // | |
| // Copyright (c) 2023 Lee Kah Seng | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: |
| ## In no particular order. I'm pulling these from a bookmark folder, I'll work on labeling as I have time. Hope these help. Will be mixing in Linux reference as well. | |
| Sidenote: the macOS Internals series is amazing, although might be out of reach for some. However if having a hard time deciding (I definitely way) and in budget, In my opinion, they are worth the price. I've worked through Volume II, waiting on Volume III. | |
| As always, most of what we need in our world can be found open sourced and provided by some of the brightest, but it can be a frustrating journey finding material. | |
| https://www.intezer.com/blog/malware-analysis/elf-malware-analysis-101-linux-threats-no-longer-an-afterthought/ | |
| http://timetobleed.com/dynamic-linking-elf-vs-mach-o/ | |
| https://github.com/apple/darwin-xnu | |
| https://opensource.apple.com/source/xnu/ | |
| https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/Architecture/Architecture.html |
Although below are methods to extract the contents of a macOS package without actually installing it, the best way might be to create a blank disk image and install the package to this disk image in order to inspect the package contents. To do so: