Java Log Helper using Scanner OUTPUT Problem Statement: Sometimes it becomes very tedious to find some thing in a huge log file, most of the time we look for some string pattern in the log file, For example we look for keywords like "success", "failure", "error", "warning", "java stack trace", "error code" , etc. Through this utility, without opening the log file and effortlessly we can find the string we are looking for within the log file. If there is a match the utility will return a match along with the line numbers the string you are looking for is present. From the sample.txt file I am finding the string "com0113: package sudas.utils; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Scanner; public class LogScannerHelper { public static void main(String[] args) { ...
Posts
gbwhatsapp-apk-download-latest-version GbWhatsapp Apk Download Latest Version for Android GBWhatsApp Apk GBWhatsapp Apk Download Latest Version for Android, this is what you are looking for. Am I right? Yes, I am 100% sure. GBWhatsapp is an alternate of official Whatsapp which you are using right now on your mobile. It is very interesting and popular app for Android devices as compared to official app. What makes it more famous is, It have lots of cool tweaks and mods which are not available in any other versions of Whatsapp. What cool things you can do in GB Whatsapp App? Aha! Start listening, one of the main purpose which makes it most useful is that you can run two Whatsapp accounts in single phone using it. You can Hide your last seen, Message seen tick, Online status, Read messages without being online and much more features are available in this app. From where to download GBWhatapp latest version? Wel...
Remove post date, time and author name in Blogger posts We recently Googled this and we haven't found out any acceptable answers or easy solutions on this Topic. Most of the Sites were mentioning about changing codes in your Blogger template file in order to remove post date, time and author name in blogger posts. This is unnecessary and we don't know why people are mentioning the hard way when there is an easy solution that comes with Blogger itself. Here we will see how to hide or remove post date, time and author name in Blogger blog posts. Is Removing Dates From Blog Posts A Good Idea ? By default Blogger displays date header at each blog posts. Based on your settings it will show the posted date, day, month and year at the top of each blog posts. You can modify the date format and also you can remove it, but removing dates from blog posts is good? The one worded answer is no. First of all showing posted dates in each blog posts will improve your user experience. Imagine a ...
Find Facebook Chat Friend real location Facebook messenger now shows exact location of every chat message. Just click on a previous chat bubble and, if location was enabled, a map appears. #privacyfail? Perhaps, and here’s why: Reason 1: It used to just show city. Now it shows full location, retroactively. When the location feature was introduced in chats, it showed the city where the chat originated. Like most people, I thought it just showed city, essentially “blurring” my exact location. Facebook, however, was storing the exact location, and now it has decided to include it in all previous chats. Fortunately, it’s not a problem for me. But imagine, if someone was telling their ex, “I just need a break right now.” and thought they were sending their city (and had all but forgotten about the seemingly innocuous feature) and now have their location (e.g. friend’s house) completely revealed. You can probably imagine other situations where this could be problematic. One can now lo...
How To Display Only Post Title in Feedburner email Feeds Owned by Google, A free service that allows publishers to deliver their content to feeds subscribers via email. Also referred by Rss Feeds. There might be other uses and technicalities involved in FeedBurner but I'm going to explain this with the perspective of bloggers (especially newbies...). So the thing is, whenever you publish a new post, it will be delivered to the users who subscribed your blog via email. By default the post you published will be delivered complete. Just noticed on many top Blogs, i.e Mybloggertricks, just wondered, why they are giving highly priority to subscribe by email, "because if you are subscribed to feeds to your own blog, you might noticed that you are delivering complete post". Things Changed: Now if you deliver only Post Title with Optional summary of posts, then you can allow the subscriber to visit your site or blog. the tool we will used is Summary burner. Summary Burner: Someti...
Get Your Content Displayed In Google Quick Answer Box Google's Quick Answer box - while useful for the casual searcher, creates a lot of challenges for webmasters. On the one hand, if your content is used by the Quick Answer box, you get prominence. But at the same time, if users can get their questions answered on the SERPs, why would they click through to your site, right? Their utility is debatable. Today, however, we will talk about how to get your content displayed on Google's Quick Answer box.The Google Knowledge Graph is what powers certain components on a search results page, and the quick answers box is just one of those components. Semantic markup, like that provided by Schema.org, is just one way to help communicate what’s on a page to search engines. According to Schema.org; On-page markup enables search engines to understand the information on web pages and provide richer search results in order to make it easier for users to find relevant information on the web. M...
101 Ways to Increase Website Traffic Creating a blog is easy, but creating a successful blog is hard. What makes a blog successful? Obviously Traffic! But the problem is how to increase your website traffic. Lack of website traffic is one of the most common problems of bloggers. Traffic is the only thing where it all starts. No traffic means Nothing. There is no huge secret in increasing your website traffic. It all comes to passion, patience, hardwork, quality content and most important, the 101 Ways that we're going to share today. So, if you just created a blog or you're struggling to increase your traffic then this article is going to be a great resource for you. There are thousand of ways that you can use for generating traffic. In this article, I am going to share 101 ways for increasing your website traffic. I hope you find it useful. Get Social: 1- Share your Posts on Facebook 2- Create a Facebook Page for your Blog 3- Link your Blog on your Page and Share your blog pos...
Adding Disqus Recent Comments Widget To Blogger Today, we will learn a simple and useful tutorial on how to add an attractive and fast-loading Disqus Recent Comments widget on a Blogger blog. Widgets like these let readers know about the conversations going on at your blog, and if you're fairly active, it adds up to a good impression. This widget in question is well-scripted and the JavaScript is hosted at Disqus so as to reduce the load time on your blog. So lets learn how to add it to blogger. You can add this widget code inside any text/html block inside your blog. Go to Blogger >> Layout Click on Add a Gadget Choose the HTML/JavaScript widget Now add it anywhere you like on your blog. Now copy and paste the following code inside the HTML/JS widget. <divid="RecentComments"class="dsq-widget"><scripttype="text/javascript" src="http://bloggeraddict.disqus.com/recent_comments_widget.js?num_items=5&hide_mods=0&hide_avatars=0...
How to create a Sitemap/Table of Contents in Blogger Sitemap/Table of Contents is a page that shows all the posts that are published on your blog in a separate page. As we know, that blog archive shows all the required data but not in a single page. This Table of Contents will make it easier for your readers to find that they are looking for. The gadget we are going to share with you today will help you to add a Table of Contents in a single page. This table of contents shows post titles with separated labels and a New! text with recently published posts. How To Create A Sitemap/Table Of Contents In Blogger ? Step 1 . Log in to your Blogger Dashboard Step 2 . Go to Pages >> New Page and select Blank Page from the list as shown below Step 3 . Click on HTML and Paste the following code in the HTML Box <style> p.labels a{color: #242424 ; text-transform: uppercase;font-size: 15px ;} a.post-titles {color: #0000FF;} ol li{list-style-type:decim...