Skip to main content

WhatsApp Text Formatting!

WhatsApp rolls out text formatting options including bold, italic, strike-through and combinations of these in messages.

It can be done as below.

Bold using asterisk: *bold text*
Italic using underscore: _italic text_
Strike-through using tilde: ~strikethrough text~
Combination for bold and italic: *_bold italic_*

Thank you!

Comments

Popular posts from this blog

How to run and read ping test in Windows, Networking!

Ping is a network utility program to test if a particular host is reachable. It   uses the internet connection to send out packets of data to a host and are sent back  the packets to the source computer. So we can know if any packets were lost. We can  see the amount of time it takes to communicate with the host. Command: ping target [-t] [-n count] [-w timeout] [-l size] target - Destination host to ping [-t] - Ping until you force to stop [-n count] - Send number of requests (default 4 requests) [-w timeout] - Set timeout in milliseconds (default 1,000) [-l size] - Set size of packet (default size 32 bytes) There are more options available. Only some of them are mentioned here. Example: Reading the ping test results: There are no loss in packets (0% loss). Source machine has received all the sent packets.  Minimum time to communicate with the destination (both way) is 4ms and maximum is  6ms. Although, there is...

Set focus to a control from code behind, ASP.NET!

I tried to focus on error message in a control (asp.net table)  but I couldn't get it. So I added a hyperlink control next to the table and set focus on it. It worked perfectly. What I did: Add the following code in aspx.      <asp:HyperLink ID="LnkFocus" runat="server">      </asp:HyperLink> Add this in code behind      LnkFocus.Focus(); That's all. I think this is one of the easiest way to set focus on a control.

Important Git commands to view logs

Here are some common and important Git commands for viewing logs: git log Show the commit history for the current branch. Press Q to return git log -n Show the last n commits. git log --oneline Show the commit history in a single line format. git log --decorate Shows the commit history with reference labels such as branches and tags that point to specific commits. git log --graph Show the commit history in a graphical format. Combination of different options: git log --decorate --oneline --graph Alias can be created for long query. git config --global alias.logDetail "log --decorate --oneline --graph" git logDetail   git log -p or git log --patch Show the commit history with changes made in each commit (Show changes lines). git log -1 --stat Show the commit history with statistics about changes (Show committed files) and 1 displays latest one commit onl...