Linux : How to find a remote port is opened or not ?
Helllo Team,
If you are trying to findout whether a remote server port is opened or closed, then there are so many ways.
Here In this article I am posting on same using telnet and nc commands.
Using telnet
Telnet usually holds prompt, so to avoid that, we are using echo in front of the command.
> $ echo | telnet xxxxxx 22
Trying...
ServiceNow: How to read the content of a text file from an incident record attachment
How to read the content of a text file from an incident record attachment: GlideSysAttachment API is used to handle attachments.With this API, we can copy attachment from one record to anotherread the content of a attached file as text, base64 or content streamwrite the contentread all attachments of a record and also we can delete any of the attachment of a recordvar attachment = new GlideSysAttachment();var...
OS Internals: Interprocess Communication ( IPC)
Python Notes - Strings
hljs.highlightAll();
Python Notes
String Methods
string.capitalize() Capitalized first letter of string.
string.strip() Strips whitespaces both left and right side.
string.lstrip() Strips whitespaces left side
string.rstrip() Strips whitespaces right side
string.lower() turns string into lower case
string.upper() turns...
JavaScript: Understanding Prototype and Class methods
GoLang: How To work with JSON Data and Nested structs
GoLang: How To work with JSON Data and Nested structs
Hello Everyone,
I spent sometime today to craft this code, so this article slowly walk you through how to build a nested struct, how to load data into it, then converting it into JSON, writing to a file, reading from a file and append new data etc.
I was learning GoLang and found needed something like this. Hope it helps.
package...
Subscribe to:
Posts (Atom)