Skip to content

Instantly share code, notes, and snippets.

/*
* Filename:
* Logger.ts
* Author:
* Pramod Kotipalli (p13i@stanford.edu)
* Description:
* A custom logging service for react-native/expo apps
* that provides more verbose options, including printing
* the device's name/brand to the console, useful when
* debugging multiple devices from the same console output.
set -e
# Source: https://askubuntu.com/a/1188143/1622689
sudo apt-get install build-essential linux-headers-`uname -r`
sudo apt-get install autoconf automake bc bison build-essential flex gcc g++ make python -y
sudo apt-get purge virtualbox -y
sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -c | cut -f2) non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'