Skip to content

Instantly share code, notes, and snippets.

View znoxx's full-sized avatar

Nikolay O. Zabrodotskiy znoxx

View GitHub Profile
@znoxx
znoxx / wol.service
Created September 17, 2025 12:28
Simple systemd service to enable WOL on your Linux PC
[Unit]
Description=Enable Wake On Lan
[Service]
Type=oneshot
ExecStart = /sbin/ethtool -s enp3s0 wol g
[Install]
WantedBy=basic.target
@znoxx
znoxx / java8inst.sh
Created January 10, 2016 11:46
Install java8 arm on debian. Should be fired under root account (e.g. sudo)
#!/bin/sh
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer