GitHub Actions Cookbook

GitHub Actions Cookbook PDF Author: Michael Kaufmann
Publisher: Packt Publishing Ltd
ISBN: 1835469140
Category : Computers
Languages : en
Pages : 250

Get Book Here

Book Description
Authored by a Microsoft Regional Director, this book shows you how to leverage the power of the community-driven GitHub Actions workflow platform to automate repetitive engineering tasks Key Features Automate CI/CD workflows and deploy securely to cloud providers like Azure, AWS, or GCP using OpenID Create your own custom actions with Docker, JavaScript programming, or shell scripts and share them with others Discover ways to automate complex scenarios beyond the basic ones documented in GitHub Book DescriptionSay goodbye to tedious tasks! GitHub Actions is a powerful workflow engine that automates everything in the GitHub ecosystem, letting you focus on what matters most. This book explains the GitHub Actions workflow syntax, the different kinds of actions, and how GitHub-hosted and self-hosted workflow runners work. You’ll get tips on how to author and debug GitHub Actions and workflows with Visual Studio Code (VS Code), run them locally, and leverage the power of GitHub Copilot. The book uses hands-on examples to walk you through real-world use cases that will help you automate the entire release process. You’ll cover everything, from automating the generation of release notes to building and testing your software and deploying securely to Azure, Amazon Web Services (AWS), or Google Cloud using OpenID Connect (OIDC), secrets, variables, environments, and approval checks. The book goes beyond CI/CD by demonstrating recipes to execute IssueOps and automate other repetitive tasks using the GitHub CLI, GitHub APIs and SDKs, and GitHub Token. You’ll learn how to build your own actions and reusable workflows to share building blocks with the community or within your organization. By the end of this GitHub book, you'll have gained the skills you need to automate tasks and work with remarkable efficiency and agility.What you will learn Author and debug GitHub Actions workflows with VS Code and Copilot Run your workflows on GitHub-provided VMs (Linux, Windows, and macOS) or host your own runners in your infrastructure Understand how to secure your workflows with GitHub Actions Boost your productivity by automating workflows using GitHub's powerful tools, such as the CLI, APIs, SDKs, and access tokens Deploy to any cloud and platform in a secure and reliable way with staged or ring-based deployments Who this book is for This book is for anyone looking for a practical approach to learning GitHub Actions, regardless of their experience level. Whether you're a software developer, a DevOps engineer, anyone who has already experimented with Actions, or someone completely new to CI/CD tools like Jenkins or Azure Pipelines, you’ll find expert insights in this book. Basic knowledge of using Git and command lines is a must.

Automating Workflows with GitHub Actions

Automating Workflows with GitHub Actions PDF Author: Priscila Heller
Publisher: Packt Publishing Ltd
ISBN: 1800569033
Category : Computers
Languages : en
Pages : 216

Get Book Here

Book Description
Build, test, and deploy code right from your GitHub repository by automating, customizing, and executing software development workflows with GitHub Actions Key FeaturesEnhance your CI/CD and DevOps workflows using GitHub ActionsDiscover how to create custom GitHub Actions using Docker and JavaScriptGet up and running with building a CI/CD pipeline effectivelyBook Description GitHub Actions is one of the most popular products that enables you to automate development tasks and improve your software development workflow. Automating Workflows with GitHub Actions uses real-world examples to help you automate everyday tasks and use your resources efficiently. This book takes a practical approach to helping you develop the skills needed to create complex YAML files to automate your daily tasks. You'll learn how to find and use existing workflows, allowing you to get started with GitHub Actions right away. Moving on, you'll discover complex concepts and practices such as self-hosted runners and writing workflow files that leverage other platforms such as Docker as well as programming languages such as Java and JavaScript. As you advance, you'll be able to write your own JavaScript, Docker, and composite run steps actions, and publish them in GitHub Marketplace! You'll also find instructions to migrate your existing CI/CD workflows into GitHub Actions from platforms like Travis CI and GitLab. Finally, you'll explore tools that'll help you stay informed of additions to GitHub Actions along with finding technical support and staying engaged with the community. By the end of this GitHub book, you'll have developed the skills and experience needed to build and maintain your own CI/CD pipeline using GitHub Actions. What you will learnGet to grips with the basics of GitHub and the YAML syntaxUnderstand key concepts of GitHub ActionsFind out how to write actions for JavaScript and Docker environmentsDiscover how to create a self-hosted runnerMigrate from other continuous integration and continuous delivery (CI/CD) platforms to GitHub ActionsCollaborate with the GitHub Actions community and find technical help to navigate technical difficultiesPublish your workflows in GitHub MarketplaceWho this book is for This book is for anyone involved in the software development life cycle, for those looking to learn about GitHub Actions and what can be accomplished, and for those who want to develop a new skill to help them advance their software development career. If you are new to GitHub and GitHub Actions in general, then this book is for you. Basic knowledge of GitHub as a platform will help you to get the most out of this book.

Clojure Cookbook

Clojure Cookbook PDF Author: Luke VanderHart
Publisher: "O'Reilly Media, Inc."
ISBN: 1449366414
Category : Computers
Languages : en
Pages : 474

Get Book Here

Book Description
With more than 150 detailed recipes, this cookbook shows experienced Clojure developers how to solve a variety of programming tasks with this JVM language. The solutions cover everything from building dynamic websites and working with databases to network communication, cloud computing, and advanced testing strategies. And more than 60 of the world’s best Clojurians contributed recipes. Each recipe includes code that you can use right away, along with a discussion on how and why the solution works, so you can adapt these patterns, approaches, and techniques to situations not specifically covered in this cookbook. Master built-in primitive and composite data structures Create, develop and publish libraries, using the Leiningen tool Interact with the local computer that’s running your application Manage network communication protocols and libraries Use techniques for connecting to and using a variety of databases Build and maintain dynamic websites, using the Ring HTTP server library Tackle application tasks such as packaging, distributing, profiling, and logging Take on cloud computing and heavyweight distributed data crunching Dive into unit, integration, simulation, and property-based testing Clojure Cookbook is a collaborative project with contributions from some of the world’s best Clojurians, whose backgrounds range from aerospace to social media, banking to robotics, AI research to e-commerce.

R Markdown Cookbook

R Markdown Cookbook PDF Author: Yihui Xie
Publisher: CRC Press
ISBN: 1000290883
Category : Business & Economics
Languages : en
Pages : 353

Get Book Here

Book Description
This new book written by the developers of R Markdown is an essential reference that will help users learn and make full use of the software. Those new to R Markdown will appreciate the short, practical examples that address the most common issues users encounter. Frequent users will also benefit from the wide ranging tips and tricks that expose ‘hidden’ features, support customization and demonstrate the many new and varied applications of the software. After reading this book users will learn how to: Enhance your R Markdown content with diagrams, citations, and dynamically generated text Streamline your workflow with child documents, code chunk references, and caching Control the formatting and layout with Pandoc markdown syntax or by writing custom HTML and LaTeX templates Utilize chunk options and hooks to fine-tune how your code is processed Switch between different language engineers to seamlessly incorporate python, D3, and more into your analysis

Vulkan Cookbook

Vulkan Cookbook PDF Author: Pawel Lapinski
Publisher: Packt Publishing Ltd
ISBN: 1786464705
Category : Computers
Languages : en
Pages : 692

Get Book Here

Book Description
Work through recipes to unlock the full potential of the next generation graphics API—Vulkan About This Book This book explores a wide range of modern graphics programming techniques and GPU compute methods to make the best use of the Vulkan API Learn techniques that can be applied to a wide range of platforms desktop, smartphones, and embedded devices Get an idea on the graphics engine with multi-platform support and learn exciting imaging processing and post-processing techniques Who This Book Is For This book is ideal for developers who know C/C++ languages, have some basic familiarity with graphics programming, and now want to take advantage of the new Vulkan API in the process of building next generation computer graphics. Some basic familiarity of Vulkan would be useful to follow the recipes. OpenGL developers who want to take advantage of the Vulkan API will also find this book useful. What You Will Learn Work with Swapchain to present images on screen Create, submit, and synchronize operations processed by the hardware Create buffers and images, manage their memory, and upload data to them from CPU Explore descriptor sets and set up an interface between application and shaders Organize drawing operations into a set of render passes and subpasses Prepare graphics pipelines to draw 3D scenes and compute pipelines to perform mathematical calculations Implement geometry projection and tessellation, texturing, lighting, and post-processing techniques Write shaders in GLSL and convert them into SPIR-V assemblies Find out about and implement a collection of popular, advanced rendering techniques found in games and benchmarks In Detail Vulkan is the next generation graphics API released by the Khronos group. It is expected to be the successor to OpenGL and OpenGL ES, which it shares some similarities with such as its cross-platform capabilities, programmed pipeline stages, or nomenclature. Vulkan is a low-level API that gives developers much more control over the hardware, but also adds new responsibilities such as explicit memory and resources management. With it, though, Vulkan is expected to be much faster. This book is your guide to understanding Vulkan through a series of recipes. We start off by teaching you how to create instances in Vulkan and choose the device on which operations will be performed. You will then explore more complex topics such as command buffers, resources and memory management, pipelines, GLSL shaders, render passes, and more. Gradually, the book moves on to teach you advanced rendering techniques, how to draw 3D scenes, and how to improve the performance of your applications. By the end of the book, you will be familiar with the latest advanced techniques implemented with the Vulkan API, which can be used on a wide range of platforms. Style and approach This recipe-based guide will empower you to implement modern graphic programming techniques and help gain a solid understanding of the new Vulkan API.

Hands-on GitHub Actions

Hands-on GitHub Actions PDF Author: Chaminda Chandrasekara
Publisher: Apress
ISBN: 9781484264638
Category : Computers
Languages : en
Pages : 162

Get Book Here

Book Description
Implement continuous integration/continuous delivery (CI/CD) workflows for any application you develop through GitHub Actions. This book will give you an in-depth idea of implementation patterns, solutions for different technology builds, guidelines to implement your own custom components as actions, and usage of features available with GitHub Actions workflows, to set up CI/CD for your repositories. Hands-on GitHub Actions starts with an introduction to GitHub actions that gives an overview on CI/CD followed by an introduction to its workflows. Next, you will learn how to use variables in a GitHub workflow along with tokens via a REST API. Further, you will explore artifacts and caching dependencies in GitHub and use artifacts in subsequent jobs. Using self-hosted runners is discussed next where you will set up your own hardware and software to run GitHub actions. You will go through publishing packages and migrate to Azure DevOps Pipelines. Along the way, you will use Redis service and PostgreSQL service containers and create custom actions. Finally, you will work with GitHub apps and understand the syntax reference for GitHub Actions and workflows. What You Will Learn Create workflows for any platform and any language with GitHub Actions Develop custom GitHub actions to enhance features and usage of database and service containers Use hosted runners and create self-hosted runners for GitHub workflows Use GitHub Package registry with GitHub Actions to share and use packages Who This Book Is For DevOps teams who want to build quality CI/CD workflows.

CMake Cookbook

CMake Cookbook PDF Author: Radovan Bast
Publisher: Packt Publishing Ltd
ISBN: 1788472349
Category : Computers
Languages : en
Pages : 600

Get Book Here

Book Description
Learn CMake through a series of task-based recipes that provide you with practical, simple, and ready-to-use CMake solutions for your code Key FeaturesLearn to configure, build, test, and package software written in C, C++, and FortranProgress from simple to advanced tasks with examples tested on Linux, macOS, and WindowsManage code complexity and library dependencies with reusable CMake building blocksBook Description CMake is cross-platform, open-source software for managing the build process in a portable fashion. This book features a collection of recipes and building blocks with tips and techniques for working with CMake, CTest, CPack, and CDash. CMake Cookbook includes real-world examples in the form of recipes that cover different ways to structure, configure, build, and test small- to large-scale code projects. You will learn to use CMake's command-line tools and master modern CMake practices for configuring, building, and testing binaries and libraries. With this book, you will be able to work with external libraries and structure your own projects in a modular and reusable way. You will be well-equipped to generate native build scripts for Linux, MacOS, and Windows, simplify and refactor projects using CMake, and port projects to CMake. What you will learnConfigure, build, test, and install code projects using CMakeDetect operating systems, processors, libraries, files, and programs for conditional compilationIncrease the portability of your codeRefactor a large codebase into modules with the help of CMakeBuild multi-language projectsKnow where and how to tweak CMake configuration files written by somebody elsePackage projects for distributionPort projects to CMakeWho this book is for If you are a software developer keen to manage build systems using CMake or would like to understand and modify CMake code written by others, this book is for you. A basic knowledge of C++, C, or Fortran is required to understand the topics covered in this book.

Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook PDF Author: David Saltares Márquez
Publisher: Packt Publishing Ltd
ISBN: 1783287306
Category : Computers
Languages : en
Pages : 816

Get Book Here

Book Description
If you want to make cross-platform games without the hassle and dangers of writing platform-specific code, or If you are a game programmer who may have some experience with Java and you want to learn everything you need to know about Libgdx to produce awesome work, this is the book for you. To take full advantage of the recipes in this book, you are expected to be familiar with java with good game programming knowledge.

Boost C++ Application Development Cookbook

Boost C++ Application Development Cookbook PDF Author: Antony Polukhin
Publisher: Packt Publishing Ltd
ISBN: 1787284832
Category : Computers
Languages : en
Pages : 433

Get Book Here

Book Description
Learn to build applications faster and better by leveraging the real power of Boost and C++ About This Book Learn to use the Boost libraries to simplify your application development Learn to develop high quality, fast and portable applications Learn the relations between Boost and C++11/C++4/C++17 Who This Book Is For This book is for developers looking to improve their knowledge of Boost and who would like to simplify their application development processes. Prior C++ knowledge and basic knowledge of the standard library is assumed. What You Will Learn Get familiar with new data types for everyday use Use smart pointers to manage resources Get to grips with compile-time computations and assertions Use Boost libraries for multithreading Learn about parallel execution of different task Perform common string-related tasks using Boost libraries Split all the processes, computations, and interactions to tasks and process them independently Learn the basics of working with graphs, stacktracing, testing and interprocess communications Explore different helper macros used to detect compiler, platform and Boost features In Detail If you want to take advantage of the real power of Boost and C++ and avoid the confusion about which library to use in which situation, then this book is for you. Beginning with the basics of Boost C++, you will move on to learn how the Boost libraries simplify application development. You will learn to convert data such as string to numbers, numbers to string, numbers to numbers and more. Managing resources will become a piece of cake. You'll see what kind of work can be done at compile time and what Boost containers can do. You will learn everything for the development of high quality fast and portable applications. Write a program once and then you can use it on Linux, Windows, MacOS, Android operating systems. From manipulating images to graphs, directories, timers, files, networking – everyone will find an interesting topic. Be sure that knowledge from this book won't get outdated, as more and more Boost libraries become part of the C++ Standard.

IPython Interactive Computing and Visualization Cookbook

IPython Interactive Computing and Visualization Cookbook PDF Author: Cyrille Rossant
Publisher: Packt Publishing Ltd
ISBN: 178328482X
Category : Computers
Languages : en
Pages : 899

Get Book Here

Book Description
Intended to anyone interested in numerical computing and data science: students, researchers, teachers, engineers, analysts, hobbyists... Basic knowledge of Python/NumPy is recommended. Some skills in mathematics will help you understand the theory behind the computational methods.