Skip to content

Instantly share code, notes, and snippets.

View nullydragon's full-sized avatar

S.Antonio nullydragon

View GitHub Profile
--Script for umbraco database, useful if you are having media/file problems
--This will remove duplicated null entries in the cmsPropertyData table
--Clean Up Content Properties for Media (Id=6) and Files (Id=24)
--Work through these id's one by one
DECLARE @propertyTypeId INT;
--File
SET @propertyTypeId = 24 --umbracoFile
--SET @propertyTypeId = 25 --umbracoExtension
--SET @propertyTypeId = 26 --umbracoBytes
#udev rules for use with sigrok and the cy7c68013A MNI Board
#better functionaly to the Saleae 8 bit logic analyzer
#for arch and sigrok-firmware-fx2lafw
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1443", ATTR{idProduct}=="0005", GROUP="uucp", MODE="0660"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="2443", ATTR{idProduct}=="00dc", GROUP="uucp", MODE="0660"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="8613", GROUP="uucp", MODE="0660"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="602b", GROUP="uucp", MODE="0660"
@nullydragon
nullydragon / iocage-new-jail.sh
Created April 10, 2018 13:03
new freenas iocage jail setup
#/bin/bash
#set ip
#set -n as jail name
sudo iocage create -n jackett ip4_addr="em0|192.168.1.97/24" boot=on vnet=off exec_start="/etc/init.d/rc 3" exec_stop="/etc/init.d/rc0" -r 11.1-RELEASE