GitLab Cookbook


Book Description

This book is aimed at developers and devops that have a GitLab server running, and want to be sure they use it to its full potential. This book will also be useful for people looking for a great Git platform, and learn how to set it up successfully. Some system administrating experience on a UNIX-based system would be useful, but is not required.




GitLab Quick Start Guide


Book Description

Port projects over from GitHub and convert SVN projects to GitLab hosted git projects Key FeaturesEffective guide for GitLab migration from GitHub and SVNLearn to implement DevOps with GitLab 11Manage projects with issue boards and time trackingBook Description Gitlab is an open source repository management and version control toolkit with an enterprise offering. This book is the ideal guide to GitLab as a version control system (VCS), issue management tool, and a continuous integration platform. The book starts with an introduction to GitLab, a walkthrough of its features, and explores concepts such as version control systems, continuous integration, and continuous deployment. It then takes you through the process of downloading and installing a local copy of the on-premise version of GitLab in Ubuntu and/or CentOS. You will look at some common workflows associated with GitLab workflow and learn about project management in GitLab. You will see tools and techniques for migrating your code base from various version control systems such as GitHub and SVN to GitLab. By the end of the book, you will be using Gitlab for repository management, and be able to migrate projects from other VCSs to GitLab. What you will learnSet up CI and test builds for your projectsUnderstand the benefits and limitations of GitLab workflowMigrate from other common VCS platforms to GitlabCreate, review, and merge code changesLearn to branch local code and create a new branch in GitLabConfigure sequential stages and simultaneous stages for CI/CDAccess Mattermost for on-premise GitLabDiscover the issue tracking features of GitLabWho this book is for The book is intended for the developers, SREs, and DevOps professionals who are looking for techniques to port their codebase to GitLab from GitHub or are looking to work with GitLab as their version control system of choice. If you've used other VCSs before, that will help with this book.




Mastering GitLab 12


Book Description

An expert guide to helping you use DevOps techniques with the latest GitLab version to optimize and manage your software workflow Key FeaturesDelve into GitLab's architecture, and install and configure it to fit your environmentLearn about the underlying principles of Agile software development and DevOpsExplore Gitlab's features to manage enterprise cloud-native applications and servicesBook Description GitLab is an open source repository management and version control toolkit with functions for enterprises and personal software projects. It offers configurability options, extensions, and APIs that make it an ideal tool for enterprises to manage the software development life cycle. This book begins by explaining GitLab options and the components of the GitLab architecture. You will learn how to install and set up GitLab on-premises and in the cloud, along with understanding how to migrate code bases from different systems, such as GitHub, Concurrent Versions System, Team Foundation Version Control, and Subversion. Later chapters will help you implement DevOps culture by introducing the workflow management tools in GitLab and continuous integration/continuous deployment (CI/CD). In addition to this, the book will guide you through installing GitLab on a range of cloud platforms, monitoring with Prometheus, and deploying an environment with GitLab. You'll also focus on the GitLab CI component to assist you with creating development pipelines and jobs, along with helping you set up GitLab runners for your own project. Finally, you will be able to choose a high availability setup that fits your needs and helps you monitor and act on results obtained after testing. By the end of this book, you will have gained the expertise you need to use GitLab features effectively, and be able to integrate all phases in the development process. What you will learnInstall GitLab on premises and in the cloud using a variety of configurationsConduct data migration from the SVN, TFS, CVS, and GitHub platforms to GitLabUse GitLab runners to develop different types of configurations in software developmentPlan and perform CI/CD by using GitLab featuresMonitor and secure your software architecture using Prometheus and GrafanaImplement DevOps culture by introducing workflow management tools in GitLabWho this book is for If you are a software developer, DevOps professional, or any developer who wants to master GitLab for productive repository management in your day-to-day tasks, this book is for you. Basic understanding of the software development workflow is assumed.




SQL Cookbook


Book Description

A guide to SQL covers such topics as retrieving records, metadata queries, working with strings, data arithmetic, date manipulation, reporting and warehousing, and hierarchical queries.




Kubernetes - A Complete DevOps Cookbook


Book Description

Leverage Kubernetes and container architecture to successfully run production-ready workloads Key FeaturesImplement Kubernetes to orchestrate and scale applications proficientlyLeverage the latest features of Kubernetes to resolve common as well as complex problems in a cloud-native environmentGain hands-on experience in securing, monitoring, and troubleshooting your applicationBook Description Kubernetes is a popular open source orchestration platform for managing containers in a cluster environment. With this Kubernetes cookbook, you’ll learn how to implement Kubernetes using a recipe-based approach. The book will prepare you to create highly available Kubernetes clusters on multiple clouds such as Amazon Web Services (AWS), Google Cloud Platform (GCP), Azure, Alibaba, and on-premises data centers. Starting with recipes for installing and configuring Kubernetes instances, you’ll discover how to work with Kubernetes clients, services, and key metadata. You’ll then learn how to build continuous integration/continuous delivery (CI/CD) pipelines for your applications, and understand various methods to manage containers. As you advance, you’ll delve into Kubernetes' integration with Docker and Jenkins, and even perform a batch process and configure data volumes. You’ll get to grips with methods for scaling, security, monitoring, logging, and troubleshooting. Additionally, this book will take you through the latest updates in Kubernetes, including volume snapshots, creating high availability clusters with kops, running workload operators, new inclusions around kubectl and more. By the end of this book, you’ll have developed the skills required to implement Kubernetes in production and manage containers proficiently. What you will learnDeploy cloud-native applications on KubernetesAutomate testing in the DevOps workflowDiscover and troubleshoot common storage issuesDynamically scale containerized services to manage fluctuating traffic needsUnderstand how to monitor your containerized DevOps environmentBuild DevSecOps into CI/CD pipelinesWho this book is for This Kubernetes book is for developers, IT professionals, and DevOps engineers and teams who want to use Kubernetes to manage, scale, and orchestrate applications in their organization. Basic understanding of Kubernetes and containerization is necessary.




Arduino Cookbook


Book Description

Create your own robots, toys, remote controllers, alarms, detectors, and more with the Arduino device. This simple microcontroller has become popular for building a variety of objects that interact with the physical world. These recipes provide solutions for the most common problems and questions Arduino users have.




Game Physics Cookbook


Book Description

Discover over 100 easy-to-follow recipes to help you implement efficient game physics and collision detection in your games About This Book Get a comprehensive coverage of techniques to create high performance collision detection in games Learn the core mathematics concepts and physics involved in depicting collision detection for your games Get a hands-on experience of building a rigid body physics engine Who This Book Is For This book is for beginner to intermediate game developers. You don't need to have a formal education in games—you can be a hobbyist or indie developer who started making games with Unity 3D. What You Will Learn Implement fundamental maths so you can develop solid game physics Use matrices to encode linear transformations Know how to check geometric primitives for collisions Build a Physics engine that can create realistic rigid body behavior Understand advanced techniques, including the Separating Axis Theorem Create physically accurate collision reactions Explore spatial partitioning as an acceleration structure for collisions Resolve rigid body collisions between primitive shapes In Detail Physics is really important for game programmers who want to add realism and functionality to their games. Collision detection in particular is a problem that affects all game developers, regardless of the platform, engine, or toolkit they use. This book will teach you the concepts and formulas behind collision detection. You will also be taught how to build a simple physics engine, where Rigid Body physics is the main focus, and learn about intersection algorithms for primitive shapes. You'll begin by building a strong foundation in mathematics that will be used throughout the book. We'll guide you through implementing 2D and 3D primitives and show you how to perform effective collision tests for them. We then pivot to one of the harder areas of game development—collision detection and resolution. Further on, you will learn what a Physics engine is, how to set up a game window, and how to implement rendering. We'll explore advanced physics topics such as constraint solving. You'll also find out how to implement a rudimentary physics engine, which you can use to build an Angry Birds type of game or a more advanced game. By the end of the book, you will have implemented all primitive and some advanced collision tests, and you will be able to read on geometry and linear Algebra formulas to take forward to your own games! Style and approach Gain the necessary skills needed to build a Physics engine for your games through practical recipes, in an easy-to-read manner. Every topic explained in the book has clear, easy to understand code accompanying it.




Cloud Native Microservices Cookbook


Book Description

Unlock the secrets of cloud-native success with step-by-step recipes for conquering every stage of microservice deployment KEY FEATURES ● Develop, test, build, and deploy with cloud-native microservices. ● Orchestrate microservices with containerization in the cloud. ● Ensure cloud observability and security in implementation. DESCRIPTION The convergence of microservices and cloud technology represents a significant paradigm shift in software development. To fully leverage the potential of both, integration from the outset of application development is crucial. Cloud-native microservices cookbook serve as a conduit, harmonizing disparate elements of microservice construction by establishing a cohesive framework from inception to deployment. This book meticulously outlines the various stages involved in launching an application utilizing cloud-native microservices. It commences with the foundational aspects of application development, emphasizing microservice architecture principles such as configuration and service discovery, considering cloud infrastructure. Progressing through containerization, continuous integration (CI), and continuous deployment (CD) pipelines, the book explores the intricacies of orchestration, high availability (HA), auto scalability, and cloud security. Subsequently, it elucidates the significance of observability in monitoring microservices post-deployment, concluding with a comprehensive exploration of Infrastructure as Code (IaC) for cloud infrastructure provisioning. Explore cloud-native microservices basics using real-world examples from the finance sector. Follow curated recipes from concept to cloud deployment for a clear understanding and smooth application development. WHAT YOU WILL LEARN ● Learn the fundamental principles of data architecture. ● Practical methodology encompassing the development, testing, building, containerization, and orchestration of microservices. ● Software development, spanning from initial design to cloud hosting. ● Achieve microservice auto scalability and high availability. ● Utilizing cloud services and experimenting with newfound services confidently. ● Meticulously track cloud expenditures, alleviating any apprehension surrounding cost management. WHO THIS BOOK IS FOR The book is ideal for software developers, solution designers, and DevOps engineers with a foundational understanding of programming concepts and professionals seeking to deepen their expertise in system architecture and full-stack development within cloud environments. TABLE OF CONTENTS 1. Microservices and Cloud 2. Developing Microservices and Test Cases 3. Externalize Application Configurations 4. Implementing Dynamic Services 5. Containerization Using Docker 6. Pipeline Automation for CI/CD 7. Microservices Orchestration 8. Auto Scalability, High Availability, and Disaster Recovery 9. Cloud Security 10. Observability 11. Infrastructure Automation with IaC




Mercurial: The Definitive Guide


Book Description

This instructive book takes you step by step through ways to track, merge, and manage both open source and commercial software projects with Mercurial, using Windows, Mac OS X, Linux, Solaris, and other systems. Mercurial is the easiest system to learn when it comes to distributed revision control. And it's a very flexible tool that's ideal whether you're a lone programmer working on a small project, or part of a huge team dealing with thousands of files. Mercurial permits a countless variety of development and collaboration methods, and this book offers several concrete suggestions to get you started. This guide will help you: Learn the basics of working with a repository, changesets, and revisions Merge changes from separate repositories Set up Mercurial to work with files on a daily basis, including which ones to track Get examples and tools for setting up various workflow models Manage a project that's making progress on multiple fronts at once Find and fix mistakes by isolating problem sources Use hooks to perform actions automatically in response to repository events Customize the output of Mercurial Mercurial: The Definitive Guide maintains a strong focus on simplicity to help you learn Mercurial quickly and thoroughly.




Java Swing


Book Description

Swing is a fully-featured user interface development kit for Java applications. Building on the foundations of the Abstract Window Toolkit (AWT), Swing enables cross-platform applications to use any of several pluggable look-and-feels. Swing developers can take advantage of its rich, flexible features and modular components, building elegant user interfaces with very little code. This second edition of Java Swing thoroughly covers all the features available in Java 2 SDK 1.3 and 1.4. More than simply a reference, this new edition takes a practical approach. It is a book by developers for developers, with hundreds of useful examples, from beginning level to advanced, covering every component available in Swing. All these features mean that there's a lot to learn. Even setting aside its platform flexibility, Swing compares favorably with any widely available user interface toolkit--it has great depth. Swing makes it easy to do simple things but is powerful enough to create complex, intricate interfaces. Java Swing, 2nd edition includes : A new chapter on Drag and Drop Accessibility features for creating a user interface meeting the needs of all users Coverage of the improved key binding infrastructure introduced in SDK 1.3 A new chapter on JFormattedTextField and input validation Mac OS X coverage and examples Coverage of the improved focus system introduced in SDK 1.4 Pluggable Look-and-Feel coverage Coverage of the new layout manager, SpringLayout, from SDK 1.4 Properties tables that summarize important features of each component Coverage of the 1.4 Spinner component Details about using HTML in components A new appendix listing bound actions for each component A supporting web site with utilities, examples, and supplemental materials Whether you're a seasoned Java developer or just trying to find out what Java can do, you'll find Java Swing, 2nd edition an indispensable guide.