Troubleshooting An App Bug

Troubleshooting An App Bug

I recently found and installed the Step by Step Salah – Namaz app. I saw that a lot of persons installed it and I liked the functionality, how it was organised, the content and the simple UI. But I had a problem though. The salah times for my location (using the location from the smartphone) was way off. There is an option to manually change the location but 1) I couldn’t change it to Trinidad and Tobago and 2) every time I restart the app it would go back to the automatic location. This was really bothering me because I really liked the app. I saw in the review others were having the same problem. I put on my troubleshooting hat and figured out what I could do. Revoke location permission for the app which would force it to use my manually set location. Steps on My Samsung S6 edge+

  • Go to Settings > Applications > Applications Manager
  • Locate the app and select it
  • Select Permissions
  • Uncheck location

I contacted the app developers and I am waiting on a reply but I figured out I could use Barbados or Caracas time in the meanwhile. Sharing on my blog for two reasons 1) for anyone experiencing a similar problem and 2) to show how you can troubleshoot and fix your own problems sometimes.

Facebook Pop-out Video Option

I only now discovered this by accident and apparently it has been around for some time now. There is an icon in the video menu that you can click to pop-out the video to the left column so that you can continue scrolling the news feed while watching the video. I was so amazed that this existed that I had to share it on the blog. Did you also not know that this existed? Let me know in the comments below.

Facebook Pop-out Video Option 2

Facebook Pop-out Video Option 1

Windows 10 VPN – Cannot Ping or Connect to Shared Folder

This will probably help with similar scenarios. This is the scenario. VPN host setup in Windows 10 professional through Network Connections > Create incoming connection. Static IP address and port forwarding and I connect to VPN beautifully. I can see that 1 user is connected to host but I cannot ping host IP address or see network from remote machine when connected to VPN. I start troubleshooting and changed a few things to see what gives. Then I start Googling for help. Ended up on a forum where it was suggested that the firewall on the host could be the problem. Turned off the firewall and problem solved but not really. What I really want to do is make an exception or add rules to the firewall (Windows built-in firewall btw). What I noticed is that I had no problem pinging the machine and accessing the shared folder when I was directly connected to the LAN so yes the firewall but how come? I eventually found out that the VPN connection was coming in under ‘RAS (Dial in) Interface’ and by default this was classified as a public network by the firewall.

windows-10-vpn-cannot-ping-or-connect-to-shared-folder-screen-1

I also found out that I could change this behavior through group policy. RAS stands for Remote Access Server by the way. Follow these steps as shown in screenshot.

[Windows key] + R
gpedit.msc
Computer Configuration > Windows Settings > Security Settings > Network List Manager Policies > RAS (Dial in) Interface > Location Type > Private

Windows 10 VPN - Cannot Ping or Connect to Shared Folder - Screen 2.png

It took me about two hours to get to this and hopefully this blog post saves someone the headache and troubles. Another by the way. One way you can keep using your internet connection while connected to the VPN is to uncheck ‘Use default gateway on remote network’ when setting up your VPN connection. Share your thoughts with us in the comments below.

Windows 10 VPN - Cannot Ping or Connect to Shared Folder - Screen 3.png

Tip : Clear PowerShell History in Windows 10

Tip : Clear PowerShell History in Windows 10

So I was using Power Shell in Windows 10 and realised my command history was being saved across sessions. Clear-History did nothing for me. I found out that I could do either one of these two things (at least)

Run the following command, [Microsoft.PowerShell.PSConsoleReadLine]::ClearHistory()

But the above only clears it for that session and commands come back next session (via the up arrow) Or find the ConsoleHost_history file and clear it

C:\Users\[Your Username]\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline

That permanently deletes the commands across sessions. Also, it occurred to me that I should indicate what version of PowerShell I am working with. The command I used was $PSVersionTable.PSVersion and the result

Major Minor Build Revision
----- ----- ----- --------
5     1     14986 1000

Sharing on the blog because it was not so easy to find this information. Hope this helped you if you came searching and found this.