Skip to content

Instantly share code, notes, and snippets.

View MrTechGadget's full-sized avatar

Joshua Clark MrTechGadget

View GitHub Profile
@MrTechGadget
MrTechGadget / logserve.py
Last active September 24, 2017 02:27
Basic Queue Monitor webpage for ARM (Automatic Ripping Machine)
#!/usr/bin/env python
"""
Very basic web access to log and queue monitor for ARM (Automatic Ripping Machine) https://github.com/ahnooie/automatic-ripping-machine
Usage::
Place script in /opt/arm directory
sudo ./logserve.py [<port>]
View the empty.log in reverse order::
@MrTechGadget
MrTechGadget / highsierra_bootable.sh
Last active November 26, 2017 02:55 — forked from agentsim/highsierra_bootable.sh
Create bootable ISO from HighSierra Installer
# Generate a BaseSystem.dmg with 10.13 Install Packages
hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
@MrTechGadget
MrTechGadget / keybase.md
Created January 15, 2018 01:45
Keybase Proof

Keybase proof

I hereby claim:

  • I am audioeng on github.
  • I am mrtechgadget (https://keybase.io/mrtechgadget) on keybase.
  • I have a public key ASAq_g6wl74HZpr-6Q5GKDGNf3dILkqrL40hXs_PyxkDzQo

To claim this, I am signing this object:

@MrTechGadget
MrTechGadget / installARM.sh
Last active February 9, 2018 22:39
Automate installation of ARM v2_master on Ubuntu Server 16.04 LTS
sudo groupadd arm
sudo useradd -m arm -g arm
sudo passwd arm
sudo apt-get -y install git
sudo add-apt-repository ppa:heyarje/makemkv-beta
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo add-apt-repository ppa:mc3man/xerus-media
sudo apt update
sudo apt -y install makemkv-bin makemkv-oss
sudo apt -y install handbrake-cli libavcodec-extra

Keybase proof

I hereby claim:

  • I am mrtechgadget on github.
  • I am mrtechgadget (https://keybase.io/mrtechgadget) on keybase.
  • I have a public key ASAq_g6wl74HZpr-6Q5GKDGNf3dILkqrL40hXs_PyxkDzQo

To claim this, I am signing this object:

@MrTechGadget
MrTechGadget / WorkInstall.ps1
Last active December 13, 2023 13:36
Steps to configure a new PC with normal tools
# Install Apps #
winget install Microsoft.Powertoys -e
winget install Microsoft.PowerShell -e
winget install Postman.Postman -e
winget install vscode -e
winget install Git.Git -e
winget install Google.Chrome -e
winget install Zoom.Zoom -e
winget install Microsoft.WindowsTerminal -e
winget install mRemoteNG.mRemoteNG -e
@MrTechGadget
MrTechGadget / light-zone-interaction.yaml
Last active May 15, 2021 20:14
Light Zone Action Blueprint
blueprint:
name: Light Zone action
description: Changes Light Color when a person leaves or enters a specific zone
domain: automation
input:
person_entity:
name: Person
description: The person you want to track
selector:
entity:
@MrTechGadget
MrTechGadget / ikea_open_close_remote.yaml
Last active April 8, 2024 15:19 — forked from r3mcos3/ikea_open_close_remote.yaml
Home Assistant Blueprint For ZHA IKEA Open/Close Remote
blueprint:
name: IKEA Open/Close Remote
description: |
'Control your roller blind with an IKEA 2 button remote (the square ones).
this is the remote that's been delivered by the "Fytur" and " Kadrilj"
roller blinds.'
domain: automation
input:
remote:
name: Remote