Skip to content

Instantly share code, notes, and snippets.

View dudeitssm's full-sized avatar
🐧
Dood!

dudeitssm

🐧
Dood!
  • NY, USA
View GitHub Profile
@dudeitssm
dudeitssm / configure-iis.ps1
Created April 8, 2022 19:02 — forked from kking124/configure-iis.ps1
Configuration Script to Secure Public IIS Server
# configure-iis.ps1
# Version: 1.2
# Author: kking124 (https://github.com/kking124)
#
# Copyright 2016, 2017
#
# License: MIT
# .SYNOPSIS
# Tries to configure IIS as a minimal, secure installation on Windows Server 2008 and later
#
@dudeitssm
dudeitssm / autoexec.py
Last active January 29, 2022 02:41 — forked from schlomo/autoexec.py
XBMC automatically play all videos in a permanent loop. Ideal for video presentations, digital signage or party mode.
# See also http://wiki.xbmc.org/index.php?title=Autoexec.py
# Put this into the userdata folder, see http://wiki.xbmc.org/index.php?title=Userdata for details where this is for each platform
# on linux,the userdata folder is ~/.kodi/userdata/
import xbmc
xbmc.executebuiltin('xbmc.PlayMedia("/storage/videos/","isdir")')
xbmc.executebuiltin('xbmc.PlayerControl(repeatall)')
xbmc.executebuiltin("Action(Fullscreen)")
@dudeitssm
dudeitssm / plate_shaker.gcode
Last active June 18, 2021 22:15
Prusa I3 plate shaker (for PCB etching, for example)
; plate shaker gcode for reprap printers (runs for 1 hour; you can speed up or slow down your printer if you want)
; g-code reference: https://reprap.org/wiki/G-code
; you don't want to splash chemicals on your printbed or destroy your printer/motors
; set maximum acceleration to something reasonable (mm/s^2)
M201 X1000 Y1000 Z100 E2000
; home X and Y axes
G28 X Y
@dudeitssm
dudeitssm / insignia_ns_rc03a_13.md
Last active March 4, 2021 02:50
Intel NUC Linux keymap for the Insignia NS-RC03A-13 infrared (IR) remote controller

I use this remote controller with an Intel NUC with onboard CIR sensor, running Fedora.
The steps should be more-or-less the same for any modern distribution.

Step 1. Install the v4l-utils package, which contains the program ir-keytable.
Do not use lirc. The latest kernels come with most of lirc functionality built in.

sudo dnf install v4l-utils
sudo apt install v4l-utils
sudo pacman -S v4l-utils