Skip to content

Instantly share code, notes, and snippets.

View jojonarte's full-sized avatar
🕶️

Jojo Narte jojonarte

🕶️
  • Secret
  • Cebu City
View GitHub Profile
{
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
error: bundling failed: Error: Unable to resolve module `react-native/Libraries/StyleSheet/StyleSheetPropType` from `/Users/joselitonarte/Documents/Fun/RN/your-stand/node_modules/tipsi-stripe/src/components/PaymentCardTextField.js`: Module `react-native/Libraries/StyleSheet/StyleSheetPropType` does not exist in the Haste module map
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
1. Clear watchman watches: `watchman watch-del-all`.
2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`.
4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`.
at ModuleResolver.resolveDependency (/Users/joselitonarte/Documents/Fun/RN/your-stand/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:183:15)
at ResolutionRequest.resolveDependency (/Users/joselitonarte/Documents/Fun/RN/your-stand/node_modules/
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'YourStand' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for YourStand
pod 'Stripe', '~> 11.2.0'
pod 'Firebase/Core'
@jojonarte
jojonarte / nginxproxy.md
Created April 14, 2020 09:27 — forked from soheilhy/nginxproxy.md
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

@jojonarte
jojonarte / win10_binary_fission.md
Created April 19, 2024 09:26 — forked from dragon788/win10_binary_fission.md
Making the Windows 10 "chubby" install.wim compatible with a FAT32 USB so a UEFI bootable USB can be created from Linux/macOS/ChromeOS

MAGIC aka Making Anything Gruelingly "Impossible" Coherent

Whatever operating system you are using to create the USB, you will need to have a Windows 10 ISO, either from Microsoft or your system manufacturer and have a USB drive 8GB or larger (or one with at least 5GB of free space and using the FAT32 filesystem, but using a fresh and empty one is best).

TL;DR

#macOS/Linux
# First try the `bootiso` program, it has options for splitting the WIM for you!
# https://jsamr.github.io/bootiso/
# You need to already have 7zip aka `p7zip` on macOS and Linux, and `wimlib` macOS via `brew` or `wimtools` on Linux