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
| blueprint: | |
| name: Frigate Notification | |
| description: | | |
| ## Frigate Mobile App Notification | |
| This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but will update to include actionable notifications allowing you to view the saved clip/snapshot when available, or silence the notification for a configurable amount of time. | |
| With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1]. | |
| ### Required entities: |
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
| VERSION=2.25 | |
| wget http://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.gz || exit 1 | |
| tar xzf binutils-$VERSION.tar.gz || exit 1 | |
| cd binutils-$VERSION || exit 1 | |
| ./configure --disable-nls --prefix=$(pwd)/bin || exit 1 | |
| make configure-host || exit 1 | |
| make LDFLAGS="-all-static" || exit 1 | |
| make install || exit 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
| # Put in "/usr/lib/os-release-bionic" | |
| NAME="Ubuntu" | |
| VERSION="18.04 (Bionic Beaver)" | |
| ID=ubuntu | |
| ID_LIKE=debian | |
| PRETTY_NAME="Ubuntu 18.04" | |
| VERSION_ID="18.04" | |
| VERSION_CODENAME=bionic | |
| UBUNTU_CODENAME=bionic |
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
| ## Find Available Target Editions | |
| DISM.exe /Online /Get-TargetEditions | |
| ## Convert Server Standard 2019 Evaluation to Server Standard 2019 | |
| DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula | |
| ## How To Activate | |
| slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | |
| slmgr /skms [server]:[port] | |
| slmgr /ato |
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 | |
| # Retrieves the plaintext JNLP from a SuperMicro IPMI webserver | |
| # Usage: supermicro-java-console.sh <hostname> | |
| # supermicro-java-console.sh 10.1.2.34 > login.jnlp | |
| set -x | |
| HOST="$1" | |
| IPMI_USER=${IPMI_USER:-ADMIN} |
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. Execute make first. This will result in a netlinkKernel.ko output among many others. | |
| 2. Execute $ gcc netlinkUser.c -o netlinkUser | |
| 3. Insert kernel module by :$ sudo insmod netlinkKernel.ko | |
| 4. Run ./netlinkUser to see message and run dmesg to see debug messages | |
| 5. Remove module by : $ sudo rmmod netlinkKernel | |
| 6. Finally make clean to remove output files. |
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
| diff --git a/abuild.in b/abuild.in | |
| index f56ac03..b7e3dcc 100644 | |
| --- a/abuild.in | |
| +++ b/abuild.in | |
| @@ -1048,7 +1048,7 @@ trace_apk_deps() { | |
| case "$parch" in | |
| $CBUILD_ARCH) ;; | |
| - $CARCH | $CTARGET_ARCH) apkroot="--root $CBUILDROOT" ;; | |
| + $CARCH | $CTARGET_ARCH) apkroot="--root $CBUILDROOT --arch $CTARGET_ARCH" ;; |
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/sh | |
| CTARGET="$1" | |
| if [ -z "$CTARGET" ]; then | |
| program=$(basename $0) | |
| echo "usage: $program TARGET_ARCH" | |
| return 1 | |
| fi | |
| # get abuild configurables |
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 | |
| set -eux | |
| suite=xenial | |
| debootstrap_dir=$suite | |
| img_file=${suite}.ext4.img | |
| kernel=/vmlinuz | |
| initrd=/initrd.img |
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 | |
| # user: ubuntu pass: just hit ENTER | |
| apt-get install vim ubuntu-defaults-builder live-build uck syslinux-utils coreutils | |
| # open /usr/share/livecd-rootfs/live-build/auto/config and add PROJECT=base where there are all the variables | |
| ubuntu-defaults-template ubuntu-defaults-umr | |
| ubuntu-defaults-image --package ubuntu-defaults-umr_0.1_all.deb | |
| mv binary.hybrid.iso ubuntu-mini-remix-15.10-amd64.iso | |
| md5sum ubuntu-mini-remix-15.10-amd64.iso>ubuntu-mini-remix-15.10-amd64.iso.md5 | |
| mv ubuntu-mini-remix-15.10-amd64.iso* 15.10/ |