This file contains hidden or 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, { useState, useCallback, forwardRef } from 'react'; | |
| import { Input } from 'antd'; | |
| import PhoneInput from 'react-phone-number-input/min'; | |
| import 'react-phone-number-input/style.css'; | |
| const PhoneInputComponent = forwardRef(({ onChange, ...props }, ref) => { | |
| const handleChange = useCallback(e => onChange(e.target.value), [onChange]); | |
| return <Input ref={ref} {...props} onChange={handleChange} />; | |
| }); |
This file contains hidden or 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
| # what we want: | |
| # client -> OpenVPN -> Tor -> Internet | |
| # Install & configure OpenVPN | |
| # https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04 | |
| # assumed OpenVPN configuration | |
| # 10.8.0.1/24-Subnet | |
| # tun0-Interface |
This file contains hidden or 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
| git archive --format zip --output /full/path/to/zipfile.zip master |