Skip to main content

Posts

Showing posts from 2016

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!

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

Traceroute is a network utility program to trace the path from one network to another. It displays response times that occur at each stop (hops) along the route. We can know if there is any connectivity issue or latency connecting to a target. The stops having issue can be identified by looking into the report generated by traceroute. Command: tracert hostname hostname - Name of the destination server that is traced Example: Reading the traceoute test results: There are 6 rows. Each row represents a hop. Route can be traced up to maximum of 30 hops. There are 5 columns in each row. Hop# - No. of hops that packets are traveled RTT (Rount Trip Time) Columns - Time taken by packets to communicate with the host (both way). Three separate packets are sent. It helps to check consistency or a lack in the route. Domain/IP Address - IP address of the router. Domain name is displayed if it's available The data of RTT columns are important to check if there are fa

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 not any standard value

Change the old description, title or image shown from a blog/website shared on Facebook or add Open Graph protocol

The Open Graph protocol is used to allow web pages to have a rich set of objects in a social graph. To turn web pages into the graph object, basic meta tags need to add in the pages. How to add it: Specify additional meta tags in the <head> section of a blog/website.  Eg. <head>     <!-- opengraph - ddtechone.blogspot.com -->     <meta content='DD Tech' property='og:title'/>     <meta content='Startup: Tech Talk' property='og:description'/>     <meta content='http://ddtechone.blogspot.my' property='og:url'/>     <meta content='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf9QrQViNGpZrG_plwC_6dkACpp5CGlS8wT2QXxnpFdezL0f8kDpTpaM3WiEhqNhHkX5Y__i8jC3TMah3PGXivm64MHHRYTmmzU8T2CsB1vwCT_yq3uboNJrXfOHkiZila2bslnKhK/s1600/IMG_20150601_132034.jpg' property='og:image'/> </head> Save it. Now if you share your blog/website on Facebook, old description,

Add meta tags in blog, blogger

Meta tags are important block of codes in the HTML of your blog or website. They tell search engines about your blog/website title, description and etc. So when users search the web for materials that are relevant to your blog/website, search engines suggest them your blog/website. Steps to add meta tags: Login to your Blogger Account Click on the Template Tab Click on Edit HTML Search for <head> Copy the following Code and Paste it Below  <head> < !-- Meta Tags - ddtechone.blogspot.com  -- >   < meta content='Your Blog Description' name='description'/ >   < meta content='Keyword1,Keyword2,...' name='keywords'/ >   < meta content='Author Name' name='Author'/ >   < meta content='all' name='robots'/ >   < meta content='Language Name' name='language'/ >   < meta content='Country Name' name='country'/ > < !-- /Meta Tags -

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.

Blogger Favicon Not Updating!

Sometimes favicon is not updated after you changed it. It could be fixed by simply refreshing the page. Enter the address on your browser.                 [Blog URL] /favicon.ico Refresh the page. Now, it's done. Note: Still doesn't appear? Clear your cache.

XIAOMI MI4 stuck – Make your phone normal again!

Last week, my MI4 stuck after I installed and applied new theme (theme win10) to my phone. I searched few forums and knew that sometimes MI phones get stuck when some apps are installed. I found some solutions as well to fix it. One of them was to wipe all the data by rebooting to recovery mode. I was worried, I didn’t want to wipe my data at all. So instead of wiping all the data, I cleared cache and my phone came back to normal stage again. These are the steps that I did: Turn off phone by pressing the power button. Press “volume UP + power” button to go into recovery. Select “English” from the menu and go to next screen. Select “Wipe & Reset” and go to next screen. Select “Wipe Cache” and go to next screen. Now select “YES” to confirm wipe cache. After that, go back to main menu and reboot the phone.  It’s done now. I didn’t lose my data.