Firebase Complete Guide for Xamarin

Firebase

Firebase is part of a growing trend known as “Back end as a service”. Traditionally configuration of a server would require you to fetch data via some API you have written in order to retrieve data from your server.  When using SQL, you would have to write code that stores objects and properties that can be accessed in your code.

A cloud-hosted NoSQL database. Data is stored as JSON, synced across connected devices in milliseconds, and available when your app goes offline. Intuitive and easy-to-use API. Remains responsive regardless of network latency or Internet connectivity so apps works offline.

What is amazing about Firebase, is that essentially with one line of code, you are ready to begin writing to your database instantly. This gets stored as JSON (JavaScript Object Notation) and can be read and used in your application nearly as easily.

Firebase expedites the storing and retrieving of data via a third party service and comes with its own API so you don’t have to write one.

firebase

Continue reading “Firebase Complete Guide for Xamarin”

Basic Git Hub Usage Manual

Git Hub Usage Manual

GitHub Account Creation And Setup Configuration:

  1. Need to create an account on https://github.com with official email id. And also activate two factor authentication and set profile picture over there. Once done with these inform Jaco about it, so he can add you in the CeX organization account.
  2. Now create the Personal Access Token from the Settings, it will be useful when we want to push the changes to the remote through Git Bash.
  3. Download GitHub Desktop from https://desktop.github.com/ and Git from http://git-scm.com/download/ and install these two applications.
  4. When you start GitHub desktop, you have to login over there. To login on GitHub Desktop goto Tools And Options and then in Options you will find the add account option.
  5. For Git open Git Bash and run $ git config –global user.email “<EmailID>” command, this will configure your account in Git.

Git vs GitHub

Continue reading “Basic Git Hub Usage Manual”

How to Configure Samba Server on CentOs 7

Configure Samba Server on  CentOs 7

This article will be a quick guide to show you guys how to setup a network share with Samba on CentOs 7 or any other similar Linux distribution like Red Hat.

Samba share allows sharing of files between the server and various different computers on the same network.

Note: The following commands will require super user privileges.

1. Install Samba: Although Samba should come preinstalled on Centos but you can install it or check if it’s installed   using the command

sudo yum install samba

 

Samba 1 (2)

2. Start services smb and nmb: 
                        sudo service smb start && sudo service nmb start

You can now check the status of these services by typing the command

sudo service smb status

Samba 2 (2)

If everything is fine you will get an output like this.

Continue reading “How to Configure Samba Server on CentOs 7”

What is Google Hacking ?

Google Hacking

This article is going to be all about Google Hacking. We live in a world where everything and anything that you might need is available on the internet at your disposal. Most people do not know how powerful a search engine Google is. We can do a lot of useful things with the help Google we just have to use it the right way.

Google Hacking is all about taking Google search to the next level. So if some of you are wondering why do I keep saying Google, there are like some other really good search engines out there, well it’s because of the following reasons.

  1. It is one of the most powerful search engine
  2. It is updated frequently.
  3. It has a very innovative page ranking algorithm which takes into consideration a lot of things.

Google Hacking basically means to use Google to get the best of the best search results. It is achieved by using some special operators known as ‘Google Operators.

Google Hacking

 

Continue reading “What is Google Hacking ?”

Crack Windows passwords using Ophcrack

Ophcrack

Ophcrack is a special kind of Linux distro that focuses primarily on password cracking, Ophcrack is basically a free open source program that requires a Linux based environment to run. Ophcrack can be used to crack passwords for Windows XP, Vista and Windows 7.

How does Ophcrack Work?

To understand how ophcrack cracks password we must first learn about how Windows stores password.

Any computer system that requires password authentication must contain a database of passwords, either hashed or in plaintext.

Windows uses a thing called MD5 Hashes, so what it basically does is when you type a password and create it, it creates a cryptographic hash.

Now hashes don’t work both ways, what that means is you can create a hash from a password, but you can take a hash and change it back to text because you can’t easily decrypt them.

Ophcrack_screenshot

Continue reading “Crack Windows passwords using Ophcrack”

How to create tunnel to localhost using Ngrok

Ngrok – Secure Tunnel to localhost

Want to host your localhost server to the Internet ? Yes Ngrok is what you are looking for. With Ngrok you can create a secure tunnel to your localhost website.  Ngrok is the lightweight tool which creates a secure tunnel on your local machine along with a public URL so that it can be accessible over web. Ngrok will give you following features :

  • Demo without deploying
  • Simplify mobile device testing
  • Build webhook integrations with ease
  • lightweight alternative to VPN
  • Run personal cloud services from your own private networkNgrok a secure tunnel to localhost

Continue reading “How to create tunnel to localhost using Ngrok”

Git Tutorials for Beginner

Before we start with this article I will suggest you to first have a quick look to these articles.

  1. Understanding GIT and GitHub
  2. Basic commands that are used in GIT

Okay.. Want to start working with Git ? Confused ! where to start..  Alright I have a few suggestions for you that will answer you where to start working and get your hands-on on Git commands.

Git Tutorials Playlist

This Git Tutorials Playlist cover all basic concepts and understanding about Git, Git bash, and all basic git operations.

Git Tutorials for Beginner

Git – Self-paced Learning

This will familiarize you with Git commands with giving you the good Visual  guide. I simply call it as learn with fun. 😉

Git eBooks

These are the free eBooks for git which helps you know more about Git.

Hope you found this useful.. Happy Coding.. !!

JSON with Javascript and Jquery

JSJavascript has grown  from a way to add interactivity on your page , to a language that lets you perform tasks that once belonged to servers.JSON provides for an easy way to create and store data structures within JavaScript. JSON stands for JavaScript Object Notation…it’s called that because storing data with JSON creates a JavaScript object. The JavaScript object can be easily parsed and manipulated with JavaScript.

First, we create a variable to hold our data, and then we use JSON to define our object. Our sample object above is a simple as it gets. Just an item called firstName and it’s value Sam. When using strings with JSON, you should use them with quotations as above. If you use numbers, then you don’t have to use quotations.

<script> var data = { “Firstname”: “Sam” }; alert(data.Firstname); </script>

Let’s put data inside an HTML element.

<script>
var data = {
"Firstname": "Sam",
"Lastname": "Legend",
"Age": "34"
};

 document.getElementById("placeholder").innerHTML = data.Firstname + " " + data.Lastname + " " + data.Age;
</script>
  • Every object in json is stored with curly braces {}, an array is stored with brackets[].

  • So in order to organize our data, we created an object called users, which held an array (using brackets).

  • That object had a couple of other objects…each stored like before with curly braces {}.

  • Each element in that object was separated by commas.

<html>
<head>
<meta charset="utf-8" />
<title>JSON Data</title>
</head>
<body>
 <div id="placeholder"> </div>
</body>
</html>
<script>
var data = {
"users": [
{
"Firstname": "Sam",
"Lastname": "Legend",
"Age": "34"
},
{
"Firstname": "John",
"Lastname": "Watson",
"Age": "22"
}
]
};
 document.getElementById("placeholder").innerHTML = data.users[0].Firstname + " " + data.users[0].Lastname + " " + data.users[0].Age;
</script>


DLL Hell Problem and Solution

DLL Hell Problem

DLL Hell is a problem in which two different Application share a common assembly and If one Application changes the common assembly, the changes which are not backward compatible will cause another Application to crash. Let us understand this with an example.

Let say you have two Applications, we can call it as Application1 and Application2  and both Applications shares a common Assembly we can call it as Shared. Both Application consumes GetOperation().

Dll hell problem

Continue reading “DLL Hell Problem and Solution”

Microsoft HoloLens

HoloLensAnnounced completely by surprise at the January 21, Windows 10: The next chapter event, HoloLens is Microsoft’s brand new head-worn Windows 10 computing device. Running a ‘holographic’ version of Windows 10, the HoloLens will immerse you in your personal computing environment.

Be that playing Minecraft, making a Skype call, even walking on Mars, all and more are possible with the HoloLens. It was developed “hiding in plain sight” on Microsoft’s main campus in Redmond.

It’s completely wireless, has spatial sound and a see-through lens so that you can still see the real world in front of you, but with the holograms laid atop it.

It is basically a holographic computer that you wear. It enables you to bring your digital world into your real world.

Continue reading “Microsoft HoloLens”