pecl channel-update pecl.php.net
pecl clear-cache
pecl install xdebug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {forwardRef, useRef, useImperativeHandle, useState, useCallback, useMemo} from 'react'; | |
const Accordion = (props) => { | |
let items = useRef(new Map()).current; | |
const handleOnToggle = (id) => { | |
items.forEach((value, key) => { | |
if (key != id) { | |
value.close(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var httpProxy = require('http-proxy'), | |
http = require('http'), | |
accesslog = require('access-log'), | |
addresses; | |
var LISTENPORT = 80; //port we're listening to the outside world | |
var METEORPORT = 3000; //port meteor is run on the guests | |
var MINIP = 10; //Minimum IP address we can use. Smaller numbers are for admin purposes |