Skip to content

Instantly share code, notes, and snippets.

@infernalsirius
infernalsirius / unraid_tips.md
Created January 19, 2025 05:21 — forked from bp2008/unraid_tips.md
unRAID tips

Network

I prefer to bond multiple network interfaces for redundancy, however viewing and configuring the bond interface can be a bit tricky.

Bonding mode: active-backup

Multiple network links can be bonded using "active-backup" mode so that if one NIC goes down, another will take its place. This mode does not require a managed switch, however it has trouble prioritizing one interface over another. For example if you have a 1 Gbps NIC and a 10 Gbps NIC, unRAID is not smart enough to prefer the 10 Gbps NIC.

Viewing Network Interface Status

View overall bond status: cat /proc/net/bonding/bond0

@infernalsirius
infernalsirius / windows-keys.md
Created December 21, 2024 09:27 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

WATCH OUT FOR SUSPICIOUS LINKS IN THE COMMENTS BELOW!

I noticed that people or bots are trying to place suspicious links below that link to some sketchy source for what they say is a 'crack' or nothing at all. I'd recommend you to NOT click on any of those links! The scripts in this guide are open source and can be viewed as desired. I'm fine with posting coupons here! Do note that if you do so, please prove it! Link a review site along with the site and the coupon. Thanks, Minionguyjpro.

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that

@infernalsirius
infernalsirius / tentacle.sh
Last active August 29, 2021 13:36
[Unraid] User scripts #bash
#! /bin/bash
# download package
wget https://download.octopusdeploy.com/linux-tentacle/tentacle-6.1.736-linux_x64.tar.gz -O tentacle-linux_x64.tar.gz
mkdir /opt/octopus
tar xvzf tentacle-linux_x64.tar.gz -C /opt/octopus
@infernalsirius
infernalsirius / appstore.fish
Created August 27, 2021 03:10
[macOS Command line] Open App Store cache folder #macOS #fish
open $TMPDIR../C/com.apple.appstore/
@infernalsirius
infernalsirius / cheat.sh
Last active June 7, 2021 05:35
[setup tools] CLI tools #Linux #MacOS
# https://github.com/chubin/cheat.sh
curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
chmod +x /usr/local/bin/cht.sh
@infernalsirius
infernalsirius / [Stop all] Stop all runnin containers.
Last active August 15, 2021 07:20
[Docker Engine commands ]A few commands to manage Docker Engine #docker
# TODO code a fish function
docker stop (docker ps -a -q)
@infernalsirius
infernalsirius / arguments.sh
Last active February 24, 2021 06:59
[Jira java agent]attach java agent to OSGI #atlassian
JAVA_OPTS="$JAVA_OPTS -javaagent:{full_path_to_agent_directory}/apminsight-javaagent.jar -Datlassian.org.osgi.framework.bootdelegation=com.manageengine.*,sun.*,org.apache.xerces,org.apache.xerces.*"
@infernalsirius
infernalsirius / dialog.js
Last active February 24, 2021 07:05 — forked from jechlin/.js
[Dialog and REST endpoint]#atlassian
(function ($) {
$(function () {
AJS.dialog2.on("show", function (e) {
var targetId = e.target.id;
if (targetId == "my-own-dialog") {
var someDialog = AJS.dialog2(e.target);
$(e.target).find("#dialog-close-button").click(function (e) {
e.preventDefault();
someDialog.hide();
someDialog.remove();
package examples.docs
import com.atlassian.greenhopper.service.rapid.view.RapidViewService
import com.atlassian.greenhopper.service.sprint.SprintIssueService
import com.atlassian.greenhopper.service.sprint.SprintManager
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue
import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean
import com.onresolve.scriptrunner.runner.customisers.WithPlugin