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
| #include <SPI.h> | |
| #include <RF24Network.h> | |
| #include <RF24.h> | |
| #include <ESP8266WiFi.h> | |
| const char* ssid = "ssid"; | |
| const char* password = "password"; | |
| const char* host = "coolapp.herokuapp.com"; |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| watch -n1 'mysql -uUSER -pPASSWORD --execute="SHOW PROCESSLIST"' |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
| set number | |
| highlight Comment ctermfg=yellow | |
| set list | |
| set listchars=trail:. | |
| set statusline+=%F | |
| set laststatus=2 | |
| set hlsearch | |
| set ic | |
| set incsearch | |
| set ruler |
| #!/usr/bin/ruby | |
| # Requirements: | |
| # - rb-dayone and doing gems installed for the system Ruby. | |
| # (Mine (OSX 10.10) are in /Library/Ruby/Gems/2.0.0/gems/) | |
| # | |
| # How to run: | |
| # $./dayone-to-doing.rb 0A8BE4BB9F7E40B5A6F3F621797FC6F5.doentry | |
| # The parameter passed to the script is the doentry file that was just created. | |
| # The script will: |
Create a branch:
$ git branch <name_of_your_new_branch>
Push the branch on github :
$ git push origin <name_of_your_new_branch>
Switch to your new branch :