Skip to content

Instantly share code, notes, and snippets.

@imwilliamxy
imwilliamxy / MySQL_5.7_macOS-Big_Sur.md
Created July 16, 2025 02:22 — forked from wpconsulate/MySQL_5.7_macOS-Big_Sur.md
Install MySql 5.7 on MacOS Big Sur

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@imwilliamxy
imwilliamxy / gist:3f815eaf55d982be0e4ac1a1fe847f62
Last active February 10, 2021 01:47
react-native-dropdown-autocomplete-textinput
'use strict';
import { useNavigation } from '@react-navigation/core';
import React, { useState, useEffect, } from 'react';
import {
KeyboardAvoidingView,
ScrollView,
View,
} from 'react-native';
// import { ScrollView } from 'react-native-gesture-handler';
import { useSelector } from 'react-redux';