Validations that will run on every keystroke, most of these validations should ideally be prevented by input restrictions or sanitization of data.
- Maximum length
- Invalid characters
// @flow | |
import * as React from 'react'; | |
import {Text, View, StyleSheet, ScrollView as RNScrollView, TouchableOpacity, Platform, PixelRatio} from 'react-native'; | |
import { | |
PanGestureHandler, | |
NativeViewGestureHandler, | |
TapGestureHandler, | |
State, | |
ScrollView as RNGHScrollView, |
// @flow | |
import React from 'react'; | |
import {StyleSheet, View, Easing} from 'react-native'; | |
import {LinearGradient} from 'expo'; | |
import * as COLORS from './constants/colors'; | |
import color from 'color'; | |
export default class App extends React.Component<{}> { | |
render() { |
On the local machine install the rsub
package in Sublime.
Then add host entries in ~/.ssh/config
for each server you'll be using rsub
on.
Host your_remote_server.com
RemoteForward 52698 127.0.0.1:52698
On the server:
# /etc/ssh/sshd_config | |
UseDNS no |