Skip to content

Instantly share code, notes, and snippets.

View spurgeonbj's full-sized avatar
🏠
Working from home

Spurgeon spurgeonbj

🏠
Working from home
  • India
View GitHub Profile
@DKrepsky
DKrepsky / Enable bridge network android studio emulator.md
Last active April 18, 2023 16:27
Enable bridge network Android Studio Emulator

sudo ip tuntap add dev tap0 mode tap group kvm sudo brctl addif br0 tap0 sudo ip link set dev tap0 up promisc on #sudo sysctl -w net.ipv4.ip_forward=1

emulator -avd Pixel_3a_API_30_x86 -netfast -accel auto -qemu -device virtio-net,netdev=net0,mac=52:55:00:d1:55:51 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no

adb root

@abobija
abobija / wsl2-ubuntu-lamp.md
Last active March 17, 2025 14:16
LAMP stack on WSL2 (Ubuntu 20.04) - Apache, MySQL, PHP, PhpMyAdmin

LAMP stack on WSL2 (Ubuntu 20.04) - Apache, MySQL, PHP, PhpMyAdmin

Apache

sudo apt-get update && sudo apt-get upgrade 
sudo apt-get install -y apache2

PHP

@jramnai
jramnai / commands.md
Last active September 20, 2024 09:30
Useful commands in Open edX

Useful commands in Open edX

Change access permission of pem file

sudo chmod 400 my_private_key.pem  

SSH into your server

ssh -i my_private_key.pem ubuntu@