Here are several different ways to test a TCP port without telnet.
BASH (man page)
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
Here are several different ways to test a TCP port without telnet.
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
| class Frame extends Component { | |
| componentDidMount() { | |
| this.iframeHead = this.node.contentDocument.head | |
| this.iframeRoot = this.node.contentDocument.body | |
| this.forceUpdate() | |
| } | |
| render() { | |
| const { children, head, ...rest } = this.props | |
| return ( |
| <!--DOCUSAURUS_CODE_TABS--> | |
| <!--JavaScript--> | |
| ```js | |
| console.log('Hello, world!'); | |
| ``` | |
| <!--Python--> | |
| ```py | |
| print('Hello, world!') | |
| ``` |
| exercise-pose-analyzer | WARNING:tensorflow:From /app/nnet/pose_net.py:54: calling resnet_arg_scope (from tensorflow.contrib.slim.python.slim.nets.resnet_utils) with is_training is deprecated and will be removed after 2017-08-01. | |
| exercise-pose-analyzer | Instructions for updating: | |
| exercise-pose-analyzer | Pass is_training directly to the network instead of the arg_scope. | |
| exercise-pose-analyzer | WARNING:tensorflow:From /app/nnet/pose_net.py:54: calling resnet_arg_scope (from tensorflow.contrib.slim.python.slim.nets.resnet_utils) with is_training is deprecated and will be removed after 2017-08-01. | |
| exercise-pose-analyzer | Instructions for updating: | |
| exercise-pose-analyzer | Pass is_training directly to the network instead of the arg_scope. | |
| exercise-pose-analyzer | 2018-10-20 14:44:19.454505: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. | |
| exerc |
| exercise-pose-analyzer | WARNING:tensorflow:From /app/nnet/pose_net.py:54: calling resnet_arg_scope (from tensorflow.contrib.slim.python.slim.nets.resnet_utils) with is_training is deprecated and will be removed after 2017-08-01. | |
| exercise-pose-analyzer | Instructions for updating: | |
| exercise-pose-analyzer | Pass is_training directly to the network instead of the arg_scope. | |
| exercise-pose-analyzer | WARNING:tensorflow:From /app/nnet/pose_net.py:54: calling resnet_arg_scope (from tensorflow.contrib.slim.python.slim.nets.resnet_utils) with is_training is deprecated and will be removed after 2017-08-01. | |
| exercise-pose-analyzer | Instructions for updating: | |
| exercise-pose-analyzer | Pass is_training directly to the network instead of the arg_scope. | |
| exercise-pose-analyzer | 2018-10-20 14:44:19.454505: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. | |
| exerc |
| <?php | |
| require_once __DIR__.'/../vendor/autoload.php'; | |
| use Symfony\Component\Console\Helper\Table; | |
| use Symfony\Component\Console\Output\ConsoleOutput; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| use Silex\Application; | |
| /** |
RunInBrowser.js script by copying and pasting into the Developer Tools' Console.| function install_faiss() { | |
| pyenv shell rise | |
| pip install numpy | |
| sudo apt-get install -y \ | |
| build-essential \ | |
| libopenblas-dev \ | |
| gfortran \ | |
| swig | |
| PREFIX_MAIN=$(pyenv virtualenv-prefix) |
| import string | |
| import re | |
| import nltk | |
| def normalize(text): | |
| # remove punctuation | |
| text = re.sub('[%s]' % re.escape(string.punctuation), '', text) | |
| # split into words | |
| # nltk.data.path.append("/nltk_data") | |
| from nltk.tokenize import word_tokenize |
| import string | |
| import re | |
| import nltk | |
| def normalize(text): | |
| # remove punctuation | |
| text = re.sub('[%s]' % re.escape(string.punctuation), '', text) | |
| # split into words | |
| # nltk.data.path.append("/nltk_data") | |
| from nltk.tokenize import word_tokenize |