This file contains 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
%!PS- | |
/fonts [ /Bookman-Light /Times-Roman /Palatino-Roman /NewCenturySchlbk-Roman | |
/AvantGarde-Book /ZapfChancery-MediumItalic /Courier /Helvetica | |
/Symbol /ZapfDingbats ] def | |
/size 36 def | |
/leading 12 def | |
/showit { | |
dup |
This file contains 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
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile | |
index b77a243d16cf..771c012f83b2 100644 | |
--- a/security/openssh-portable/Makefile | |
+++ b/security/openssh-portable/Makefile | |
@@ -100,21 +100,21 @@ PATCH_SITES+= http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,hpn,gsskex | |
# Must add this patch before HPN due to conflicts | |
.if ${PORT_OPTIONS:MKERB_GSSAPI} || ${FLAVOR:U} == gssapi | |
-BROKEN= KERB_GSSAPI No patch for ${DISTVERSION} yet. | |
. if ${PORT_OPTIONS:MHPN} || ${PORT_OPTIONS:MNONECIPHER} |
This file contains 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 | |
outfile="${1-screencast.mp4}" | |
echo -n 'Click on the window you wish to record...' | |
tmpfile=$(mktemp /tmp/screencast.XXXXXX) | |
trap "rm -f $tmpfile" 0 1 3 15 | |
xwininfo > $tmpfile | |
echo 'done.' | |
origin=$(awk '/Corners:/ { print $2 }' $tmpfile | sed 's/\(+[[:digit:]]*\)+/\1,/') |
This file contains 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 | |
echo QUIT | openssl s_client -connect "$1":25 -starttls smtp -name "$1" -showcerts -verify 1 -verify_return_error | |
# To send a client certificate, add: | |
# -cert /path/to/cert -key /path/to/key -cert_chain /path/to/chain | |
# for example, if you are using acmetool(1), | |
# acmedir=/var/db/acme/live/$(hostname) | |
# -cert $acmedir/cert -key $acmedir/privkey -cert_chain $acmedir/full_chain |
This file contains 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 | |
# Yes, I know you could do the egrep inside of sed. | |
zpool status | egrep '(pool|scan):' | sed '/pool/{N;s/ pool: //;s/\n scan//;}' |
This file contains 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
<?xml version='1.0'?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:wp="http://wordpress.org/export/1.2/" | |
version='1.0'> | |
<xsl:output method='text' encoding='utf-8'/> | |
<xsl:template match="/"> | |
<xsl:apply-templates select="/rss/channel/item[wp:post_type = 'post']"/> | |
</xsl:template> |
This file contains 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
#!/usr/local/bin/perl -w | |
# -*- perl -*- | |
use strict; | |
use warnings; | |
=head1 NAME | |
hddtemp_nvmecontrol - Plugin to monitor NVMe SSD temperatures through | |
SMART |