This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Register Microsoft key and feed | |
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | |
sudo dpkg -i packages-microsoft-prod.deb | |
#Install the .NET Core SDK | |
sudo add-apt-repository universe | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -qO- https://get.docker.com/ | sh | |
sudo usermod -aG docker $(whoami) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo docker run --name postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres | |
wget -O - https://dbeaver.io/debs/dbeaver.gpg.key | sudo apt-key add - | |
echo "deb https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list | |
sudo apt-get update && sudo apt-get install -y dbeaver-ce | |
#EXAMPLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script adapted from an older post on StackOverflow by user fieldju | |
# https://stackoverflow.com/questions/36478741/installing-oracle-jdk-on-windows-subsystem-for-linux | |
# The script was for JDK 8. | |
# Due to major changes with JDK 11 (no JRE, no Derby, Unlimited Strength included), it was necessary to update the entire script. | |
set -ex | |
# UPDATE THESE URLs (this one updated as of 2019-03-06) | |
export JDK_URL=http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manufacturer": "TCL", | |
"supportedModels": [ "55EP640" ], | |
"supportedController": "Broadlink", | |
"commandsEncoding": "Base64", | |
"commands": { | |
"off": "JgU0AHh4DzwPPA88DzwPPA8eDzwPPA88Dx4PHg8eDx4PHg8eDx4PHg88Dx4PHg8eDzwPPA88D/ENBQAA==", | |
"on": "JgCiAIGFDkQNRBBCD0MOIw8iD0MPQw8iDyMOJA5DDiMPIg8jDyIOQw9DDyMOIxBCDkMORBAhDwABGIGFEEEQQg9DDkQOIw0kD0MPQw4jDiMPJA1DDSUOIw8iDyMOQw9DDyIPIw9CD0MORA8iDwABF4GFD0MPQw5EDUQPIw4kDkQOQw8iDiMPIg9EDiINJQ0kDiMPQw9DDiMPIg9DD0MPQw0kDQANBQAAAAAAAA==", | |
"volumeDown": "JgCiAIGEEEIQQg9DD0IPIw8iDkMPIw5DD0MQQhAhECEPIw4jECEPQw9DDyIPQg8jDiMPIg9DDwABF4KED0IPQw9DDkMPIw4jD0MOIw9DDkMPQw8iDyMOIw8jDiIPQw9DDyIPQw4jDyIPIg9DDwABF4KDEEIPQw9DD0IPIw4jD0MOIw9DDkMPQw8jDiIPIw8iDyIPQw9DDiMPQw4jDyIPIw5DDwANBQAAAAAAAA==", | |
"volumeUp": "JgCiAIGFEUEOQw9DD0MPIg8iD0MPIg9DEUEOQw9DDyIPIw4jECEPQw9DECEOQw8jDiMPIg8iEAABFoGFD0MQQQ9DD0MPIg8iD0MPIg9DD0MORA5DDyIPIw4jDyIPQw9DDiMPQw8iDyIPIg8jDgABGIGEEEIORA5DEEIPIg8iD0MQIQ9DD0MPQw5DECIOIw4jDyIPQw9DDiMPQw4jDyIPIg8iDwANBQAAAAAAAA==", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it -p 8888:8888 -p 6006:6006 --name jupyter-tensorflow tensorflow/tensorflow:nightly-py3-jupyter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://releases.ubuntu.com/20.04/ubuntu-20.04-live-server-amd64.iso | |
#https://github.com/pbatard/rufus/releases/download/v3.10/rufus-3.10p.exe | |
sudo groupadd docker | |
sudo usermod -aG docker ${USER} | |
logout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: airwick_kitchen | |
platform: ESP8266 | |
board: nodemcuv2 | |
wifi: | |
ssid: "ssid" | |
password: "pass" | |
# Enable fallback hotspot (captive portal) in case wifi connection fails |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it -d --name=xteve -p 34400:34400 -v /volume1/nasbox/Docker/xteve/xteve_home:/home/xteve/.xteve bl0m1/xtevedocker:latest | |
docker run -it -d --name=xteve --network=host --restart=always -v/volume1/nasbox/Docker/xteve:/home/xteve/conf dnsforge/xteve:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
powershell -windowstyle hidden -command "Start-Process cmd -ArgumentList '/s,/c,net stop spooler & DEL /F /S /Q %systemroot%\System32\spool\PRINTERS\* & net start spooler' -Verb runAs" |