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
{ | |
"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
#!/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
#!/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 | |
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 | |
#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
#!/usr/bin/env bash | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg | |
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/ | |
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
sudo apt-get install apt-transport-https | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get install code # or code-insiders |
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 apt update && | |
sudo apt -y upgrade && | |
#Install curl | |
sudo apt install curl && | |
#Install git | |
sudo apt install git && |
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
#NodeJS | |
sudo apt-get update | |
sudo apt-get -f install | |
sudo apt-get install curl | |
sudo apt-get install build-essential | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash | |
nvm install --lts | |
nvm use --lts | |
echo "nvm use --lts" >> .bash_profile |
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
entity_id: media_player.tcl_tv | |
command: "am start -n com.tcl.tv/.TVActivity" |