Translate

Monday, April 23, 2018

Step by Step working with GitHub Repository and Visual Studio 2017


Step by Step working with GitHub Repository and Visual Studio 2017

GitHub is a place where you can show your code.For example, when you learn new technology, go create a repository with some small proof of concept how to leverage that technology and upload it to GitHub.
GitHub is Git’s cloud-based publishing tool and hosting platform. It also has a desktop application for locally storing projects.
Now, what does git mean?
Git is used by programmers, developers, and designers to store projects and keep track of changes to their files. It basically is a version control system like any other like CVS and Subversion.

Git is an open-source version control system that was started by Linus Trovalds – the same person who created Linux. Git is similar to other version control systems Subversion, CVS, and Mercurial to name a few.








First You Download GitHub Exe and install in your system.

https://git-scm.com/download/win

Below are the steps for adding your existing code in GitHub.
1). Open a solution in Visual Studio.
2). If solution is not already initialized as a Git repository, select Add to Source Control from the File menu. 
Step by Step working with GitHub Repository and Visual Studio 2017
3). Open Team Explorer
 

Step by Step working with GitHub Repository and Visual Studio 2017









4). In Team Explorer, click Sync.
Step by Step working with GitHub Repository and Visual Studio 2017
 









5). Click the Publish to GitHub button.

Step by Step working with GitHub Repository and Visual Studio 2017
 








6). Enter a name and description for the repository on GitHub.
7). Check the Private Repository box if you want to upload the repository as a private repository on GitHub. You must have a Developer, Team or Business account to create private repositories.
8). Click the Publish button.

finally you can see your code.











Tag | github visual studio 2017,using git with visual studio 2015,how to use github extension for visual studio,visual studio 2017 github tutorial,using git with visual studio 2017,github extension for visual studio 2013,open github project in visual studio,visual studio git plugin

Go for cloud computing concepts post :
Cloud computing concepts and architecture


Thursday, April 5, 2018

convert html to pdf using javascript

convert html to pdf using javascript

convert html to pdf using javascriptThere are many scenario when we need to generate PDF using JavaScript. It is possible to generate html to pdf using jquery and jsPDF library. It allows you to select the DOM elements                                                                                that you would wish to                                                                                    publish to PDF.
Below is the Sample Code for generating PDF.  Add libraries- JQuery and jsPDF
  
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.0.272/jspdf.debug.js"></script>
    <style> 
        table
            font-family: arial, sans-serif
            border-collapse: collapse
            width: 100%
        } 
 
        td, th
            border: 1px solid #dddddd
            text-align: left
            padding: 8px
        } 
 
        tr:nth-child(even)
            background-color: #dddddd
        } 
    </style>
</head>

<body>
    <form id="form1" runat="server">
             
       <table>
            <tbody> 
                <tr> 
                    <th>Company</th> 
                    <th>Contact</th> 
                    <th>Country</th> 
                </tr> 
                <tr> 
                    <td>HCL</td> 
                    <td>Maria Anders</td> 
                    <td>USA</td> 
                </tr> 
                <tr> 
                    <td>Conduent</td> 
                    <td>Francisco Chang</td> 
                    <td>UK</td> 
                </tr> 
                <tr> 
                    <td>Wipro</td> 
                    <td>Roland Mendel</td> 
                    <td>Austria</td> 
                </tr> 
                <tr> 
                    <td>NIIT Technologies LTD</td> 
                    <td>Helen Bennett</td> 
                    <td>INDIA</td> 
                </tr> 
                <tr> 
                    <td>Laughing Bacchus Winecellars</td> 
                    <td>Yoshi Tannamuri</td> 
                    <td>Canada</td> 
                </tr> 
                <tr> 
                    <td>Magazzini Alimentari Riuniti</td> 
                    <td>Giovanni Rovelli</td> 
                    <td>Italy</td> 
                </tr> 
            </tbody> 
        </table>

    </form>
</body>
     <script>
         let doc = new jsPDF('p', 'pt', 'a4'); 
         doc.addHTML(document.body, function () {
             doc.save('html.pdf');
         });

    </script>
</html>


For more details about C# interview question you can use below site.

References
 | pdf js library



Tag | convert html page to pdf using jquery,convert webpage to pdf using javascript,export html page to pdf on user click using javascript,javascript convert html to pdf source code,convert html to pdf using jquery example,generate pdf using jquery,jspdf html to pdf,export div content to pdf using javascript


Want to Learn C#.net interview questions and answers visit below link.

Thursday, March 22, 2018

Google cloud fundamentals for beginners


 Google Cloud fundamentals for beginners
Introduced in 2011, Google Cloud Platform is the youngest platform. Designed to meet the needs of Google Search and Youtube, it became available to
Google cloud fundamentals for beginners
everyone as a part of the Google for Work package. It has more than 50 services and 6 global data centers, with another 8 announced for 2017. With only 5% of market share and quite aggressive expansion, Google’s moment is yet to come.
       Google Cloud platform enables developers to build,test and deploy applications on Google's highly-scalable and reliable infrastructure. choose from computing,storage and application services for your web,mobile and backend solutions.
Google Cloud platform is a set of modular cloud-based services that allow you to create anything from simple websites to complex applications.
Why Google Cloud Platform?


Tuesday, March 20, 2018

C Sharp algorithm interview questions and answers


c# algorithm interview questions and answers Part 1


1) Question : Given two strings. U has to find the second string as a substring of first string. If the string is found as substring of first string then return the index where it started in the first string otherwise return -1.
   


Write Input “Internet” and search string is “net”.     
           Out put : 5    

Code is below :

Tuesday, March 13, 2018

Internet of things for beginners


Internet of things for beginners

The Internet of Things (IoT) is the network of physical objects—devices, vehicles, buildings and other items embedded with electronics, software, sensors, and network connectivity—that enables these objects to collect and exchange data.
The technologies and solutions that enable integration of real world data and services into the current information networking technologies are often described under the umbrella term of the Internet of Things (IoT)

Internet of things for beginnersIoT allows objects to be sensed and controlled remotely across existing network infrastructure, creating opportunities for more direct integration between the physical world and computer-based systems, and resulting in improved efficiency, accuracy and economic benefit.

In simple words,Internet of Things(IoT) is an ecosystem of connected physical objects that are accessible through the internet.

It is also referred to as Machine-to-Machine(M2M),Skynet or Internet of Everything.




Wednesday, March 7, 2018

Cloud computing concepts and architecture


Cloud computing concepts and architecture


Cloud computing concepts and architecture
Cloud computing is a general term for the delivery of hosted services over the internet. In the cloud, we have a shared pool of computer resources(servers, storage, applications, etc.) at our disposal. When you need more resources, all you need is to ask. Provisioning resources immediately is a piece of cake for the cloud. You can free resources when they are not needed. In this way, you only pay for what you use. Your cloud provider will take care of all the maintenance.It is the delivery of computing and storage capacity as a service to a recipient or a community of end-recipients


Tuesday, March 6, 2018

ultimate-handbook-on-devops-and-aws


 The Ultimate handbook On Devops And Aws


 The Ultimate handbook On Devops And Aws

DevOps is the combination of cultural philosophies, practices, and tools that increases an organization’s ability to deliver applications and services at high velocity: evolving and improving products at a faster pace than organizations using traditional software development and infrastructure management processes. This speed enables organizations to better serve their customers and compete more effectively in the market.
                           DevOps on the other hand is all about a culture of a better collaboration between Developers and IT operations guys which are achieved by adopting some principles such as Infrastructure as code, Automation, Continuous integration, Continuous Delivery etc. To Achieve DevOps culture a lot of tools are there that can facilitate adoption of these principles. At the level of an engineer you would need to learn about these DevOps tools such as Jenkins, chef, Docker etc.