WebSocket connection failure : Neo4J

Problem:

Faced below error while connecting to Neo4J Community instance hosted in AWS EC2

ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket `readyState` is: 3






Change Git user in Windows

Problem: How to change Git user in Windows?

Solution:

Step 1: Remove already saved credentials



Go to: Control Panel -> User Accounts -> Manage your credentials -> Windows Credentials

Change Git User in Windows
Windows Credential Manager



Under Generic Credentials, there are some credentials related to Github,
Click on them and click "Remove".

Now you will be asked for new credentials next time.

Reason:

Default installation for Git for Windows set a Git-Credential-Manager-for-Windows.

Either avoid checking "Git Credential Manager" checkbox during the Git for Windows installation

or

You can disable Git-Credential-Manager-for-Windows as follows:

Option 1:

Run Git Bash as Administrator and use git config --edit --system to remove the helper = manager  line so that it is no longer registered as a credential helper.

Option 2:

Run Git Bash as Administrator and then execute the following command


git config --system --unset credential.helper

Now you will be asked for credentials every time you interact with the remote system.



Regenerate deleted modules .iml files in IntelliJ

Problem: I deleted all the .iml files from my multi module project in order to delete and ignore them from github.

Solution: To re-generate .iml files



Android Library Project using Android Studio

Purpose: Android library at single place - Share across multiple projects



BlueStacks keys mapping


Though the following settings if for Boom Beach. But below you will also find the general approach with which you can edit settings for any game you got in your box.



XAML not updating on debugging

Problem: Experienced a frustrating issue today. XAML was not updating while debugging on emulator or real Windows Phone device. Rebuilding again and then debugging was helping a bit but doing two steps each time was some what cumbersome. Finally got the issue which was really stupid.



Type Indian languages on your smartphone


App Name: Type Indian




Type Indian
Type Indian
App Description: Use it to share your thoughts in Indian languages. This app let you type in English and text will be converted into selected Indian language. That means when you type in English ‘Namste’, you get ‘नमस्ते’. So basically it doesn’t translate but transliterate the text.
Plus you can share your text using any means of communication available on your smartphone.
Features:


Android Activity Life Cycle

Simple straight forward explanation to android activity life cycle


Bitmap too large to be uploaded into a texture

Problem: “Bitmap too large to be uploaded into a texture”Got this error when I tried to run an application from eclipse to physical device.
On googling, found that it relates to some size limit of image for OpenGL hardware textures (2048x2048). But that wasn't the reason in my case. Actually in my case, image was less than 2048 for both x and y dimensions.



Android Color Codes

Android Color Codes
Android Color Codes
Android uses Hex ARGB values, which are formatted as #AARRGGBB. That first pair of letters, the AA, represent the Alpha Channel. You must convert your decimal opacity values to a Hexdecimal value. Here are the steps:



Foundation top bar dropdown not working

Problem: Dropdown menus in top bar are not working in Zurb Foundation.

I just added a class and it worked like charm.

Solution: I altered my HTML like following


Zurb Foundation
Zurb Foundation



A reference to a higher version or incompatible assembly cannot be added to the project - Windows Phone


Problem : Got following error while adding reference(dll) to Windows phone project.


Microsoft Visual Studio Express 2012 for Windows Phone
A reference to a higher version or incompatible assembly cannot be added to the project

A reference to a higher version or incompatible assembly cannot be added to the project
A reference to a higher version or incompatible assembly cannot be added to the project

Solution:


Adding keywords to Blogger : Blogger Tricks

Places where you can add keywords to Blogger:

keywords
keywords
  1. Blog post title
    • best place 
    • attracts search engine a lot like Google, bing, yahoo etc
    • shouldn't loose post title meaning as it is the post title which grabs human brain's attention at first place


Dark Way Down Complete Solution



If you love discover fun time killing games, then Dark Way Down must be on your list.
Its really good game and very simple but great UI.
So here is the complete solution of this game as video in case you are stuck.