Skip to main content

Posts

Removing xfreeservice.com adware from Chrome

Removing xfreeservice.com a.xfreeservice.com b.xfreeservice.com c.xfreeservice.com and so on. If your Google search results are filled with useless thumbnails and links are redirected through xfreeservice.com your Google Chrome is infected with a malicious javascript which probably came attached with one of the Chrome Extension.   Problem : Google Search results have thumbnails in front of them and links are redirected  through b.xfreeservice.com or c.xfreeservice.com. In some case, you are redirected to an entirely different page. Google search results are modified with affiliate links. Solution : Remove any/all Chrome extensions that help with downloads. Example: Downloader for Instagram, Video Downloader, Free Download Manager. How? There are very detailed insights on xfreeservice.com being malware or not  here . Needless to say, there's indeed some undesired behaviour. Is morrison.undercomputer.c...

Work around for Broadcast receiver not working in Chinese mobiles

If you're having trouble with your Android app not responding to certain events in Mi, Oppo, Vivo or Letv devices it's not your fault. This could include and is not limited to, service app not working properly, push notifications not working properly, application not opening up when intended.  It is because of the extensive battery saver and the so-called saving the user from apps spamming their activity. Here's the funniest part about it We wrote to someone very senior at Xiaomi. He reverted that they manually whitelist a few apps, and the rest are by default disallowed from accessing the notifications folder. This was the response. "This usually happens because of whitelisting of apps that can access notifications folder. This is a feature to ensure the user is protected from spam and also helps to ensure RAM/battery usage optimization." We asked what the process was to get an app whitelisted, and did not get a response.    This is coming from a...

How to Convert a String to Date in Java

How to Convert a String to Date in Java Converting a string to a date in Java (or any programming language) is a fundamental skill and is useful to know when working on projects. Sometimes, it is easier to work with a string to represent a date, and then convert it to a date object for further use. Date   API The Date / Time API in Java works by default with the ISO 8601 format, which is (yyyy-MM-dd).By default all dates follow this format, and all strings that are converted should follow this if they are using the default formatter. parse() The date-time API provides parse () methods to parse a string that contains date information. To convert string objects to LocalDateTime objects, the string must represent a valid date or time according to ISO_LOCAL_DATE Example, let's convert a String to a java.time . LocalDate : LocalDate date = LocalDate.parse("2018-05-05"); Parse API with a Custom Formate This format specifies three character...

How to convert String To DateTime In Unity C#

How to fetch Day, Month or year from date time string? How to get Hour, minute or second from a date time string? Following snippet of code can be used to deal with most of the forms of date time string in Unity C# Instead of having time in the form of   "2020-1-31 12:10:15"  you can also pass "31/1/2020 12:10:15 PM" and or any such case of Date time in string. Then from this DateTime object you can fetch any particular detail like Year shown in example below. System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("en-US"); DateTime tempDate = Convert.ToDateTime("2020-5-6 12:10:15", culture); Debug.Log("Testing date time conversion: " + tempDate.Year); This could be used to deal with date time strings of the form   "dd:MM:yyyy HH:mm:ss" "yyyy:MM:dd HH:mm:ss"

How to dynamically create object using JSON data from REST API in Unity 3D

Over the years Unity has become all very powerful and not just easy. With it's easy to use interface and handy programming language C# it is one of the best possible IDE out there to make applications and not just games. With the help of SimpleJSON and Unity Networking class you'll see how easy it is to handle web requests in Unity. So today we are going to fetch and display data from REST API request. By displaying data I don't just mean showing the raw output of JSON but making the objects out of the response data which could be further used as per your requirement. Let's get started. First you need to make an API which will return some set of data. For example returning a user's friend list data will contain name, age, joining date of all their friends. For creating an API you may follow my NodeJS tutorial .  Once you have some API let's create a simple Unity application that will make a web request on Button click. Go to a scene in Unity > Right click in ...

[FIXED]Google Chrome all Black after Windows Update

If you're having an issue with your Google Chrome where everything is turned black. The following fix will solve your problem in a matter of seconds. What does it look like? I've added a screenshot of what happened to my Google Chrome after the update. Follow the following steps to fix the problem. Right click on Chrome shortcut and click properties. Inside properties, under Compatibility tab choose to Run this program in compatibility mode for Windows Vista. Any variant would do. If one doesn't work try other. and your Google Chrome should be up and running but if you'll restart it the problem will persist. To fix it permanently we need to tweak some settings. With the Chrome running Go to Settings and under Advanced Settings Disable 'User hardware acceleration when available' Relaunch Chrome and it should be working fine now. This post was updated from Google Chrome, so I know it works. ;)

3 Ways to Open Task Manager on a Laptop PC: Windows 7/8/10

Nowadays the use of electronic devices such as computers is increasing and has a very important role. This has a lot of impact especially on office workers who need computers to do some of their work in the office. The computer itself has a lot of fungi and can simplify the work of its users. To control the overall performance of a computer, a computer is usually equipped with a default application that allows users to see and control the activities that run on that computer.  For example on computers with Windows operating systems, they are equipped with a default application from Microsoft called Task Manager.  Task Manager has quite a lot of functions in a computer. Some functions of the task manager are to be able to see users or users who are online (with the notes the user must be in the same network), can sort and manage active application windows, can send short messages to fellow users on a local network, see applications that are failing consumes a lot of CPU, limiting certai...