fdisk -l
create a new GPT partition table by typing
gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.5
Partition table scan:
Shortcut | Description |
---|---|
Command-X | Cut the selected item and copy it to the Clipboard. |
Command-C | Copy the selected item to the Clipboard. This also works for files in the Finder. |
Command-V | Paste the contents of the Clipboard into the current document or app. This also works for files in the Finder. |
Command-Z | Undo the previous command. You can then press Command-Shift-Z to Redo, reversing the undo command. In some apps, you can undo and redo multiple commands. |
Command-A | Select All items. |
Command-F | Find items in a document or open a Find window. |
10.3 (Panther): | |
https://swscan.apple.com/scanningpoints/scanningpointX.xml | |
10.4 (Tiger): | |
https://swscan.apple.com/content/catalogs/index.sucatalog | |
https://swscan.apple.com/content/catalogs/index-1.sucatalog | |
10.5 (Leopard): | |
https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog |
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
## A spamassassin plugin for calling clamav | |
# Version 2.0 was downloaded from https://wiki.apache.org/spamassassin/ClamAVPlugin | |
# | |
# # version 2.0, 2010-01-07 | |
# - use SA public interface set_tag() and add_header, instead of | |
# pushing a header field directly into $conf->{headers_spam} | |
# | |
# # version 2.1, 2017-09-09 (pmeulen): | |
# - Allow ClamAV::Client, which is provided by debian package libclamav-client-perl, to be used | |
# in addition to File::Scan::ClamAV |
This is a living document which reflects the current process, accumulated and tuned over many years, that I use to set up a Ubuntu 20.04LTS LNMP/LAMP stack from scratch. It might not suit everyone, and probably isn't without its flaws, but it's a good foundation for any new server setup, one that I use for dev and production servers alike.
If you would like a quick, no-fuss, local LNMP stack, check out my ubuntu_lnmp_docker_vagrant repository.
<?php | |
/************************************************************************* | |
php easy :: whois lookup script | |
========================================================================== | |
Author: php easy code, www.phpeasycode.com | |
Web Site: http://www.phpeasycode.com | |
Contact: webmaster@phpeasycode.com | |
*************************************************************************/ | |
$domain = $_GET['domain']; |
The following script takes a Bind9 zonefile, gets all AAAA records from it and generated PTR records based on them.
What you need to do:
- Edit the Zone header in the script.
- Run the script with
./generate_v6_ptr.sh /path/to/zonefile.zone
This will output the zones on STDOUT. If you want to save this to a zonefile, you can use this example:
#!/bin/bash | |
# MacOS 11.7 Big Sur | |
# Homebrew 4.0.1 | |
# bind: stable 9.18.12 | |
# Local caching NS server | |
# 1) INSTALL BIND |