Skip to content

Instantly share code, notes, and snippets.

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

Sean Matabire seanmatabs

🏠
Working from home
View GitHub Profile
@MianJawadAhmad
MianJawadAhmad / React Native error and solution
Created May 26, 2020 19:13
React Native error and solution
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: spawnSync ./gradlew EACCES at Object.spawnSync (internal/child_process.js:1045:20) at spawnSync (child_process.js:597:24) at execFileSync (child_process.js:624:15) at runOnAllDevices
Soluton: chmod 755 android/gradlew
@soheilhy
soheilhy / nginxproxy.md
Last active March 22, 2024 08:54
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers