Skip to content

Instantly share code, notes, and snippets.

View forkwhilefork's full-sized avatar

Ross Tajvar forkwhilefork

  • 18:23 (UTC -04:00)
View GitHub Profile
@tavianator
tavianator / remote
Created May 27, 2022 20:59
Remote access mkinitcpio hook
#!/bin/bash
add_user() {
getent passwd "$1" >>"$BUILDROOT/etc/passwd"
getent shadow "$1" >>"$BUILDROOT/etc/shadow"
getent group "$(id -Gn "$1")" >>"$BUILDROOT/etc/group"
}
build() {
add_systemd_unit cryptsetup-pre.target
@Noxsios
Noxsios / Set-IP-GUI.ps1
Last active March 26, 2022 22:25
PowerShell GUI for IP Address Management
#Requires -RunAsAdministrator
<#
Script made by Noxsios
This script displays a GUI for rapidly / easily changing your computer's IP address
WARNING: ONLY RUN THIS SCRIPT ON APPROVED CONFIG LAPTOPS
Last update: Nov 8 2020
#>
@xbb
xbb / README
Last active April 17, 2024 20:21
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
@02strich
02strich / dlna_proxy.py
Created May 2, 2013 19:33
DLNA Proxy (including SSDP and Multicast)
import socket, thread, sys
import logging
BUFLEN = 1024
logger = logging.getLogger(__name__)
class DLNAProxy(object):
MEDIASERVER_IP = ""