Skip to content

Instantly share code, notes, and snippets.

@lagz0ne
lagz0ne / readme.md
Created December 12, 2022 10:24
Getting WSA to work with expo debug

Install React-Native dependencies

Visit react-native to refer to their list. React-Native requires Android SDK to be installed, including adb

Install WSA on Windows, assume that you are on Windows 11

  • Install Amazon App Store, it'll ask you to install Windows Subsystem for Android
  • Once installation is done, go ahead and open Windows Subsystem for Android on Windows. This is the app to control Android settings.
  • Uncheck Advanced Networking. You may not be able to connect to server hosted in WSL from Android in this mode (similar to WSL trying to connect to application running in Windows). This put Android in non-magic WSL networking
  • Turn off WSA (there's button to do that). Optional: Set System resources to Continuos so the Android is left running when all apps are closed
  • Visit Developer tab to access Manage developer settings. This to trigger Android app to start again.
@lagz0ne
lagz0ne / docker-install.sh
Last active July 20, 2016 04:54
Install docker on ubuntu 14.04
sudo apt-get update && \
sudo apt-get install apt-transport-https ca-certificates && \
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && \
sudo touch /etc/apt/sources.list.d/docker.list && \
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee -a /etc/apt/sources.list.d/docker.list && \
sudo apt-get update && \
sudo apt-get purge lxc-docker && \
sudo apt-cache policy docker-engine && \
echo "--------------------------" && \
echo "Installing docker" && \