This file contains hidden or 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/bin/python -tt | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or 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" encoding="utf-8"?> | |
<!-- Refer to: https://help.ubnt.com/hc/en-us/articles/218506997-UniFi-Ports-Used --> | |
<service version="1.0"> | |
<short>unifi-video</short> | |
<description>UniFi Video Controller</description> | |
<port port="3478" protocol="udp"/><!-- STUN --> | |
<port port="8080" protocol="tcp"/><!-- Device and Controller Communication --> | |
<port port="8443" protocol="tcp"/><!-- WebUI --> |
This file contains hidden or 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
# /etc/systemd/system/unifi-video.service | |
[Unit] | |
Description=Unifi Video NVR Daemon | |
[Service] | |
Type=forking | |
ExecStart=/usr/sbin/unifi-video start | |
ExecStop=/usr/sbin/unifi-video -D stop |
This file contains hidden or 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/bash | |
set -eu | |
FRAMERATE="$1" | |
ffmpeg -framerate $FRAMERATE -pattern_type glob -i '*.jpeg' -c:v libx264 -pix_fmt yuv420p output.mp4 |
This file contains hidden or 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/bin/env bash | |
# | |
# avoid accidentally committing to git repos as root. | |
# save to /usr/local/bin/git | |
# | |
set -eu | |
git_cmd="${1:-}" |
This file contains hidden or 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
# Source: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Sealing_Virtual_Machines_in_Preparation_for_Deployment_as_Templates.html | |
touch /.unconfigured | |
yum clean all | |
rm -rf /etc/ssh/ssh_host_* | |
rm -rf /etc/udev/rules.d/70-* | |
sed -e '/HWADDR=/d' -i /etc/sysconfig/network-scripts/ifcfg-* | |
find /var/log -type f -delete | |
history -c | |
shutdown -h now |
This file contains hidden or 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" encoding="utf-8"?> | |
<service> | |
<short>Unifi Video NVR Daemon</short> | |
<description>The Unifi Video NVR manages Unifi Video Cameras configuration and video recording.</description> | |
# Port List Source: https://help.ubnt.com/hc/en-us/articles/217875218-UniFi-Video-Ports-Used | |
<port protocol="tcp" port="6666"/> <!-- Inbound Camera Streams --> | |
<port protocol="tcp" port="7080"/> <!-- HTTP Web UI & API --> | |
<port protocol="tcp" port="7442"/> <!-- Camera Management --> | |
<port protocol="tcp" port="7443"/> <!-- HTTPS Web UI & API --> | |
<port protocol="tcp" port="7445"/> <!-- Video over HTTP --> |
This file contains hidden or 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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: Keybase OpenPGP v1.0.5 | |
Comment: https://keybase.io/crypto | |
xsFNBFQbb9YBEACcM/vRnxm/2Jin9NQ+sWx8ehMrHCMKpQgCIOXfhBHSiqX9J64e | |
6yHOdxdAyEqMNyvgcYIa/fMk7501JB0FFN2APfUJlupwexXCr5T0zZzr6OvTRLxK | |
/zJwRizQ6KtUqng/0/rtIBqBpt5PVVeQD6G0eD3tDZEmthF0i1y79IdeQwyBp1bt | |
hugMMM3AoLCuGbxPckQpi71RGmR0Xq7MpercVx1davP8XqkeRJQAkI2e2LfLpRU3 | |
04Wov8DE2BWoOMNTk8BS/p+M32ctXo7pj55SUTtZa4DeA47YhLblDmyDSOclD4gc | |
hUhbPOKM2cgmlD0bjeWDFrGuNswva89coafzoMnkO0zNjWOSoBxzbmLQUE7m3wgu |
This file contains hidden or 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
# Solus Mirror Network | |
To help distribute software to our users, Solus relies on a network of volunteer mirror servers to host our respoitories. Mirrors can be accessed directly by end-users, however by default Solus downloads from our official Tier 1 mirror, which will then redirect the client to a Tier 2 in our network for that user. This assists with load-balancing our clients across our mirror network based on various metrics such as geographic location, bandwidth, and sync status of each server, and also ensures end-users do not suffer from out-of-date mirrors. | |
This document is aimed at system administrators who wish to contribute a server to this network. | |
To contact the Solus mirror admin team, send a mail to [email protected]. | |
## Tier 2 Mirrors |
This file contains hidden or 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
1. Installing Informix Client SDK for Linux x86_64 | |
1.1 Download Informix Client SDK 3.70 for Linux x86_64 from IBM website, https://www-01.ibm.com/marketing/iwm/tnd/search.jsp?rs=ifxdl | |
1.2 Extract the file, `tar -xvf clientsdk.3.70.FC8DE.LINUX.tar` | |
1.3 Start installation, `./installclientsdk`, install all to `/opt/infomrix` | |
2. Installing PDO Informix |
NewerOlder