Showing posts with label Helpers. Show all posts
Showing posts with label Helpers. Show all posts
Wednesday, September 20, 2017
Thursday, February 16, 2017
Hypervisors
A hypervisor or virtual machine monitor (VMM) is computer software, firmware, or hardware, that creates and runs virtual machines.
A computer on which a hypervisor runs one or more virtual machines is called a host machine, and each virtual machine is called a guest machine. The hypervisor presents the guest operating systems with a virtual operating platform and manages the execution of the guest operating systems.
There are 2 types of hypervisor
Tuesday, January 24, 2017
Sunday, December 25, 2016
Declarative vs imperative programming
Declarative :
- Write code what you want but not necessarily how to get it (Declare the desired results but not the step-by-step)
- A style of building the structure and elements of computer programs—that expresses the logic of a computation without describing its control flow.
- Minimize or eliminate the side effects by describing what program should accomplish
- How is left to the problem implementation
- Only thing a function can do is calculate something and return it as a result.
Declarative languages include, SQL, React, Functional programming like haskell
Functional Prgramming
- In purely functional programming you don't tell the computer what to do as such but rather you tell it what stuff is
- if a function is called twice with the same parameters, it's guaranteed to return the same result. That's called referential transparency and not only does it allow the compiler to reason about the program's behavior, but it also allows you to easily deduce (and even prove) that a function is correct and then build more complex functions by gluing simple functions together
var results = collection.Where( num => num % 2 != 0);
Imperative : - Tell the compiler what you want to happen step by step
- Java, C, C# is imperative
- Main method of computation is assignment variable
- Implements algorithms in explicit steps.
Saturday, August 27, 2016
Frame Box - Lightweight online tool for creating mockups
Show what you need in 3 easy steps:
- Sketch frame using UI units
- Save it and get a link to created frame
- Send a link to your companion
Create basic mockup diagram
Thursday, August 25, 2016
Installing and updating all programs at once using Ninite
Advantages
- Install and Update all your programs at once
- Always Up-to-date (Do not have to watch for updates) Their bots do that
- No Tool Bars
- No clicking Next
- Multiple selection for picking apps
URL : https://ninite.com/
Save requests and organize your APIs into Collections using Postman
Add app to your chome browser by clicking this link
- Create and send any HTTP request using the awesome Postman request builder.
- Write your own test cases to validate response data, response times, and more!
- Easily enter parameters
Sunday, August 21, 2016
Wednesday, January 27, 2016
Responsive Image generator
Have you ever wondered how to create one image and then generate images for different devices?
We can use responsivebreakpoints.com is pretty awesome. Generates all the images required and spits out the picture code
Tuesday, December 1, 2015
Sunday, November 29, 2015
Confirm message before close
If the user unknowingly closes the application. He might loose important information.
Solution
We can avoid this by providing confirm message before close. The user would have the option to save his work or to close the application
The event which we can use is window.onbeforeunload
Saturday, November 28, 2015
Remove JSON properties
We can easily remove specific properties from a JSON object in an array.
Edit in plunkr
Steps involved
In the example below I was supposed to remove some properties. I have removed "Date" property.
Edit in plunkr
Steps involved
- Loop through the JSON object
- Specify the properties which needs to be filtered
In the example below I was supposed to remove some properties. I have removed "Date" property.
Tuesday, November 24, 2015
Refresh Iframe
We can refresh and Iframe content using one line of code
Edit in plunker
In this example we can reset the position of the map based on button click
Edit in plunker
document.getElementById('iframeid').src += '';
In this example we can reset the position of the map based on button click
Thursday, November 19, 2015
Logoff MVC
We cannot call logout function directly from an anchor tag or javascript .Reason they are supposed to be [HttpPost] with [ValidateAntiForgeryToken]
http://localhost:54673/Account/logOFF
we can achieve this by removing [httpPost] and [ValidateAntiForgeryToken]
http://localhost:54673/Account/logOFF
we can achieve this by removing [httpPost] and [ValidateAntiForgeryToken]
ASP ODBC Connection
In classic ASP we had the option to use odbc for connecting to the database. I had to use this in one of my project. I did not find any useful article on this.
Establishing ODBC connection for classic ASP
We can specify the odbc connection in ASP as shown below
Establishing ODBC connection for classic ASP
We can specify the odbc connection in ASP as shown below
Thursday, November 5, 2015
Mapping using automapper
Need for using Automapper
Eventually, in any
application, a developer will need to translate data from one object type to
another.
Common examples include DTOs
(Data Transfer Objects), View Models, or even just some request or response
object from a service or Web API call.
Usually we end up doing
manual mapping.
Friday, August 7, 2015
Basic Git commands
Git ( Distributed revision control )
Git is a version control system that is used for software development and other version control tasks. As a distributed revision control system it is aimed at speed,[8] data integrity, and support for distributed, non-linear workflows.
Git was created by Linus Torvalds in 2005 for development of the Linux kernel, with other kernel developers contributing to its initial development. Its current maintainer is Junio Hamano.
As with most other distributed version control systems, and unlike most client–server systems, every Git directory on every computer is a full-fledged repository with complete history and full version-tracking capabilities, independent of network access or a central server
Git was created by Linus Torvalds in 2005 for development of the Linux kernel, with other kernel developers contributing to its initial development. Its current maintainer is Junio Hamano.
As with most other distributed version control systems, and unlike most client–server systems, every Git directory on every computer is a full-fledged repository with complete history and full version-tracking capabilities, independent of network access or a central server
Subscribe to:
Posts (Atom)
Labels
- Algorithms (52)
- Apache Kafka (7)
- Apache Spark (21)
- Architecture (8)
- Arrays (23)
- Big Data (98)
- Cloud services (6)
- Cognitive technologies (12)
- Data Analytics (3)
- Data Science (6)
- Design (1)
- Hadoop (26)
- Hive (11)
- Java (2)
- JavaScript (65)
- JavaScript Run-time (12)
- Machine learning (11)
- Maths (6)
- MySQL (1)
- Networking (3)
- No SQL (2)
- Node (20)
- Python (28)
- SQL (40)
- Security (4)
- Spark Grpahx (1)
- Spark MLlib (1)
- Spark Sql (3)
- Spark Streaming (4)
- Sqoop (2)
- Strings (13)
- devOps (1)
- mongoDb (2)
- ssis (3)


