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
[dev-ingress01 dan ~/modules] % svn diff port.pm 16:23:03 | |
Index: port.pm | |
=================================================================== | |
--- port.pm (revision 5833) | |
+++ port.pm (working copy) | |
@@ -728,7 +728,8 @@ | |
my $only_for_archs, my $not_for_archs, my $license, my $fetchdepends, | |
my $extractdepends, my $patchdepends, my $uses, my $pkgmessagepath, | |
my $distinfo_file, my $license_restricted, my $manual_package_build, my $license_perms, | |
- my $conflicts, my $conflicts_build, my $conflicts_install, my $options_name) = split(/\n/s, $MakeResults); |
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
btmon can: | |
Collect data from Brultech ECM-1240, ECM-1220, and GEM power monitors. Print | |
the data, save the data to database, or upload the data to a server. | |
Python 3 compatible fork: https://github.com/BenK22/mtools/tree/influxdb/bin | |
Which was forked from: https://github.com/mroch/mtools | |
Original repo: https://github.com/matthewwall/mtools |
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
$ mysql -u root -p | |
mysql> create user gemuser identified by 'gempass' | |
mysql> create database gem; | |
mysql> grant usage on gem.* to gemuser@localhost identified by 'gempass'; | |
mysql> grant all privileges on gem.* to gemuser@localhost; | |
$ cat config.txt | |
mysql_out = true | |
mysql_host = localhost |
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
homeassistant@homeassistant:~ $ /srv/homeassistant/bin/pip install homeassistant | |
Collecting homeassistant | |
Downloading homeassistant-2022.8.7-py3-none-any.whl (18.5 MB) | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.5/18.5 MB 16.6 MB/s eta 0:00:00 | |
Collecting python-slugify==4.0.1 | |
Downloading python-slugify-4.0.1.tar.gz (11 kB) | |
Preparing metadata (setup.py) ... done | |
Collecting awesomeversion==22.6.0 | |
Downloading awesomeversion-22.6.0-py3-none-any.whl (11 kB) | |
Collecting jinja2==3.1.2 |
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
[pkg01 dan ~] % sudo duf 17:26:16 | |
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ | |
│ 26 local devices │ | |
├────────────────────────────────────────┬────────┬────────┬────────┬───────────────────────────────┬──────┬───────────────────────────────────────┤ | |
│ MOUNTED ON │ SIZE │ USED │ AVAIL │ USE% │ TYPE │ FILESYSTEM │ | |
├────────────────────────────────────────┼────────┼────────┼────────┼───────────────────────────────┼──────┼───────────────────────────────────────┤ | |
│ / │ 609.7G │ 10.2G │ 599.5G │ [....................] 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
$ sudo camcontrol inquiry /dev/da7 | |
pass7: <ATA Micron_5100_MTFD U810> Fixed Direct Access SPC-4 SCSI device | |
pass7: Serial Number [redacted] | |
pass7: 600.000MB/s transfers, Command Queueing Enabled |
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
$ git diff | |
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile | |
index 0af9bccd05ee..9827504952b6 100644 | |
--- a/net-mgmt/net-snmp/Makefile | |
+++ b/net-mgmt/net-snmp/Makefile | |
@@ -1,8 +1,7 @@ | |
# Created by: gpalmer | |
PORTNAME= snmp | |
-PORTVERSION= 5.9 |
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 | |
DST="/tmp/dvl" | |
WGET="/usr/local/bin/wget" | |
URL_BASE="https://example.net/downloads/stuff/" | |
mkdir $DST | |
cd $DST |
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
[dan@slocum:~] $ sudo /usr/local/etc/periodic/security/405.pkg-base-audit | |
Checking for security vulnerabilities in base (userland & kernel): | |
Host system: | |
Database fetched: Sun Mar 17 14:29:28 UTC 2019 | |
0 problem(s) in the installed packages found. | |
0 problem(s) in the installed packages found. | |
jail: test_nginx01 | |
vulnxml file up-to-date |
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 | |
JLS="/usr/sbin/jls" | |
PKG="/usr/sbin/pkg" | |
# list of the jail ids for all jails | |
JAILS=`${JLS} jid` | |
RESULT="" | |
CHECKING=$1 |