Mastering GitHub Actions

Mastering GitHub Actions
Author: Eric Chapman
Publisher: Packt Publishing Ltd
Total Pages: 490
Release: 2024-03-22
Genre: Computers
ISBN: 1805123300

Explore the full spectrum of GitHub Actions to unlock your team's potential and become a pro in no time Key Features Master GitHub events to foster a self-service mindset Elevate your GitHub Actions knowledge to a whole new level through real-world examples Learn how to integrate with popular cloud-based products within your workflows Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionNavigating GitHub Actions often leaves developers grappling with inefficiencies and collaboration bottlenecks. Mastering GitHub Actions offers solutions to these challenges, ensuring smoother software development. With 16 extensive chapters, this book simplifies GitHub Actions, walking you through its vast capabilities, from team and enterprise features to organization defaults, self-hosted runners, and monitoring tools. You’ll learn how to craft reusable workflows, design bespoke templates, publish actions, incorporate external services, and introduce enhanced security measures. Through hands-on examples, you’ll gain best-practice insights for team-based GitHub Actions workflows and discover strategies for maximizing organization accounts. Whether you’re a software engineer or a DevOps guru, by the end of this book, you'll be adept at amplifying productivity and leveraging automation's might to refine your development process.What you will learn Explore GitHub Actions' features for team and business settings Create reusable workflows, templates, and standardized processes to reduce overhead Get to grips with CI/CD integrations, code quality tools, and communication Understand self-hosted runners for greater control of resources and settings Discover tools to optimize GitHub Actions and manage resources efficiently Work through examples to enhance projects, teamwork, and productivity Who this book is for This book is for developers with a foundation in CI/CD, code quality tools, and team communication keen on exploring GitHub Actions. It’s ideal for DevOps engineers, system administrators, software developers, IT specialists, automation aficionados, and university students focused on software integration and deployment. Those familiar with GitHub's ecosystem will find this content insightful.

Automating Workflows with GitHub Actions

Automating Workflows with GitHub Actions
Author: Priscila Heller
Publisher: Packt Publishing Ltd
Total Pages: 216
Release: 2021-11-11
Genre: Computers
ISBN: 1800569033

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.

Mastering Shiny

Mastering Shiny
Author: Hadley Wickham
Publisher: "O'Reilly Media, Inc."
Total Pages: 372
Release: 2021-04-29
Genre: Computers
ISBN: 149204735X

Master the Shiny web framework—and take your R skills to a whole new level. By letting you move beyond static reports, Shiny helps you create fully interactive web apps for data analyses. Users will be able to jump between datasets, explore different subsets or facets of the data, run models with parameter values of their choosing, customize visualizations, and much more. Hadley Wickham from RStudio shows data scientists, data analysts, statisticians, and scientific researchers with no knowledge of HTML, CSS, or JavaScript how to create rich web apps from R. This in-depth guide provides a learning path that you can follow with confidence, as you go from a Shiny beginner to an expert developer who can write large, complex apps that are maintainable and performant. Get started: Discover how the major pieces of a Shiny app fit together Put Shiny in action: Explore Shiny functionality with a focus on code samples, example apps, and useful techniques Master reactivity: Go deep into the theory and practice of reactive programming and examine reactive graph components Apply best practices: Examine useful techniques for making your Shiny apps work well in production

Mastering Prometheus

Mastering Prometheus
Author: William Hegedus
Publisher: Packt Publishing Ltd
Total Pages: 310
Release: 2024-04-19
Genre: Computers
ISBN: 180512532X

Learn how to effectively implement, manage, and optimize Prometheus for monitoring your systems Key Features Achieve high availability with Prometheus by using Thanos Integrate Prometheus into your broader observability stack with OpenTelemetry Tweak, tune, and debug Prometheus to reliably scale without limits Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionWith an increased focus on observability and reliability, establishing a scalable and reliable monitoring environment is more important than ever. Over the last decade, Prometheus has emerged as the leading open-source, time-series based monitoring software catering to this demand. This book is your guide to scaling, operating, and extending Prometheus from small on-premises workloads to multi-cloud globally distributed workloads and everything in between. Starting with an introduction to Prometheus and its role in observability, the book provides a walkthrough of its deployment. You’ll explore Prometheus’s query language and TSDB data model, followed by dynamic service discovery for monitoring targets and refining alerting through custom templates and formatting. The book then demonstrates horizontal scaling of Prometheus via sharding and federation, while equipping you with debugging techniques and strategies to fine-tune data ingestion. Advancing through the chapters, you’ll manage Prometheus at scale through CI validations and templating with Jsonnet, and integrate Prometheus with other projects such as OpenTelemetry, Thanos, VictoriaMetrics, and Mimir. By the end of this book, you’ll have practical knowledge of Prometheus and its ecosystem, which will help you discern when, why, and how to scale it to meet your ever-growing needs.What you will learn Deploy Prometheus and Node Exporter to public clouds and Kubernetes Gain in-depth knowledge of how Prometheus's underlying code works Build your own custom service-discovery providers for Prometheus Debug Prometheus performance issues to identify cardinality issues in your environment Use VictoriaMetrics and/or Grafana Mimir for remote storage of Prometheus data Define and implement SLO-based alerting Who this book is for The book is for site reliability engineers (SREs), developers, and platform engineers involved in the monitoring and observability of their team or company’s systems. A background in Prometheus is assumed, so the book dedicates minimal time to the basics of getting Prometheus up and running. Whether you aim to expand monitoring capabilities, streamline configuration management, or enhance integration with existing tools, this book will help you maximize the potential of your Prometheus monitoring stack.

Mastering Transformers

Mastering Transformers
Author: Savaş Yıldırım
Publisher: Packt Publishing Ltd
Total Pages: 374
Release: 2021-09-15
Genre: Computers
ISBN: 1801078890

Take a problem-solving approach to learning all about transformers and get up and running in no time by implementing methodologies that will build the future of NLP Key Features Explore quick prototyping with up-to-date Python libraries to create effective solutions to industrial problems Solve advanced NLP problems such as named-entity recognition, information extraction, language generation, and conversational AI Monitor your model's performance with the help of BertViz, exBERT, and TensorBoard Book DescriptionTransformer-based language models have dominated natural language processing (NLP) studies and have now become a new paradigm. With this book, you'll learn how to build various transformer-based NLP applications using the Python Transformers library. The book gives you an introduction to Transformers by showing you how to write your first hello-world program. You'll then learn how a tokenizer works and how to train your own tokenizer. As you advance, you'll explore the architecture of autoencoding models, such as BERT, and autoregressive models, such as GPT. You'll see how to train and fine-tune models for a variety of natural language understanding (NLU) and natural language generation (NLG) problems, including text classification, token classification, and text representation. This book also helps you to learn efficient models for challenging problems, such as long-context NLP tasks with limited computational capacity. You'll also work with multilingual and cross-lingual problems, optimize models by monitoring their performance, and discover how to deconstruct these models for interpretability and explainability. Finally, you'll be able to deploy your transformer models in a production environment. By the end of this NLP book, you'll have learned how to use Transformers to solve advanced NLP problems using advanced models.What you will learn Explore state-of-the-art NLP solutions with the Transformers library Train a language model in any language with any transformer architecture Fine-tune a pre-trained language model to perform several downstream tasks Select the right framework for the training, evaluation, and production of an end-to-end solution Get hands-on experience in using TensorBoard and Weights & Biases Visualize the internal representation of transformer models for interpretability Who this book is for This book is for deep learning researchers, hands-on NLP practitioners, as well as ML/NLP educators and students who want to start their journey with Transformers. Beginner-level machine learning knowledge and a good command of Python will help you get the best out of this book.

Mastering Git

Mastering Git
Author: Jakub Narębski
Publisher: Packt Publishing Ltd
Total Pages: 444
Release: 2024-08-23
Genre: Computers
ISBN: 1835080057

Harness the full power of the Git version control system, gaining insights into Git best practices and strengthening your understanding of its architecture, underlying concepts, and behavior Key Features Set up Git for solo and collaborative development as well as for code, documentation, configuration, or data Leverage the Git version control system to customize and extend existing recipes, and write your own Discover how to efficiently manage large and complex repositories Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionDevelopers often feel overwhelmed by complex version control issues, especially when managing large repositories. This updated second edition of our Git guide empowers you to tackle these challenges head-on and emerge as a Git pro. The book gets you up to speed with the latest Git version, its features, and advanced branching techniques, helping you master complex development scenarios. A new chapter on tackling challenges while managing large repositories has been added, providing invaluable strategies for efficient version control with Git. The book goes beyond the basics to take you through Git’s architecture, behavior, and best practices in depth. The chapters help you develop a clear understanding of customizing workflows, creating unique solutions, and tackling any version control hurdle. As you advance, you’ll explore a wide range of functionalities, from examining project history to collaborating seamlessly with teammates. Detailed descriptions guide you through managing your work, collaborating with others, administering Git, and navigating project history. By the end of this book, you’ll have become a Git pro and be confident enough to handle advanced branching, manage large repositories, customize workflows, collaborate effectively, and troubleshoot any version control issues.What you will learn Explore project history and find revisions using different criteria Manage your working directory and staging area Set up repositories and branches for collaboration Configure and set up support for the chosen workflow Submit your own contributions and integrate contributions made by others Customize Git behavior system-wide, from per-user to per-file basis Perform Git administration to set up and manage repositories Who this book is for This book is for developers looking to elevate their Git skills beyond the basics. Whether you're a seasoned developer or just getting started with version control, this book will help you leverage Git for efficient collaboration, code management, and improved workflows. The book also equips DevOps professionals with the knowledge they need to configure Git for seamless integration within DevOps workflows, enabling smoother collaboration between development and operations teams.

Mastering Kotlin for Android 14

Mastering Kotlin for Android 14
Author: Harun Wangereka
Publisher: Packt Publishing Ltd
Total Pages: 370
Release: 2024-04-05
Genre: Computers
ISBN: 1837631131

Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust apps with the help of this part-color guide Key Features Apply best practices and industry-essential skills used by Google Developer Experts Find out how to publish, monitor, and improve your app metrics on the Google Play Store Learn how to debug issues, detect leaks, inspect network calls, and inspect your app’s local database Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionWritten with the best practices, this book will help you master Kotlin and use its powerful language features, libraries, tools, and APIs to elevate your Android apps. As you progress, you'll use Jetpack Compose and Material Design 3 to build UIs for your app, explore how to architect and improve your app architecture, and use Jetpack Libraries like Room and DataStore to persist your data locally. Using a step-by-step approach, this book will teach you how to debug issues in your app, detect leaks, inspect network calls fired by your app, and inspect your Room database. You'll also add tests to your apps to detect and address code smells. Toward the end, you’ll learn how to publish apps to the Google Play Store and see how to automate the process of deploying consecutive releases using GitHub actions, as well as learn how to distribute test builds to Firebase App Distribution. Additionally, the book covers tips on how to increase user engagement. By the end of this Kotlin book, you’ll be able to develop market-ready apps, add tests to their codebase, address issues, and get them in front of the right audience.What you will learn Build beautiful, responsive, and accessible UIs with Jetpack Compose Explore various app architectures and find out how you can improve them Perform code analysis and add unit and instrumentation tests to your apps Publish, monitor, and improve your apps in the Google Play Store Perform long-running operations with WorkManager and persist data in your app Use CI/CD with GitHub Actions and distribute test builds with Firebase App Distribution Find out how to add linting and static checks on CI/CD pipelines Who this book is for If you’re an aspiring Android developer or an Android developer working with Java, then this book is for you. Basic Java programming skills are a must if you want to fully utilize the techniques and best practices showcased in this book.

GitHub Actions Cookbook

GitHub Actions Cookbook
Author: Michael Kaufmann
Publisher: Packt Publishing Ltd
Total Pages: 250
Release: 2024-04-30
Genre: Computers
ISBN: 1835469140

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.

Mastering Ethereum

Mastering Ethereum
Author: Andreas M. Antonopoulos
Publisher: O'Reilly Media
Total Pages: 424
Release: 2018-11-13
Genre: Computers
ISBN: 1491971916

Ethereum represents the gateway to a worldwide, decentralized computing paradigm. This platform enables you to run decentralized applications (DApps) and smart contracts that have no central points of failure or control, integrate with a payment network, and operate on an open blockchain. With this practical guide, Andreas M. Antonopoulos and Gavin Wood provide everything you need to know about building smart contracts and DApps on Ethereum and other virtual-machine blockchains. Discover why IBM, Microsoft, NASDAQ, and hundreds of other organizations are experimenting with Ethereum. This essential guide shows you how to develop the skills necessary to be an innovator in this growing and exciting new industry. Run an Ethereum client, create and transmit basic transactions, and program smart contracts Learn the essentials of public key cryptography, hashes, and digital signatures Understand how "wallets" hold digital keys that control funds and smart contracts Interact with Ethereum clients programmatically using JavaScript libraries and Remote Procedure Call interfaces Learn security best practices, design patterns, and anti-patterns with real-world examples Create tokens that represent assets, shares, votes, or access control rights Build decentralized applications using multiple peer-to-peer (P2P) components

Mastering the Lightning Network

Mastering the Lightning Network
Author: Andreas M. Antonopoulos
Publisher: "O'Reilly Media, Inc."
Total Pages: 466
Release: 2021-11-22
Genre: Computers
ISBN: 149205481X

The Lightning Network (LN) is a rapidly growing second-layer payment protocol that works on top of Bitcoin to provide near-instantaneous transactions between two parties. With this practical guide, authors Andreas M. Antonopoulos, Olaoluwa Osuntokun, and Rene Pickhardt explain how this advancement will enable the next level of scale for Bitcoin, increasing speed and privacy while reducing fees. Ideal for developers, systems architects, investors, and entrepreneurs looking to gain a better understanding of LN, this book demonstrates why experts consider LN a critical solution to Bitcoin's scalability problem. You'll learn how LN has the potential to support far more transactions than today's financial networks. This book examines: How the Lightning Network addresses the challenge of blockchain scaling The Basis of Lightning Technology (BOLT) standards documents The five layers of the Lightning Network Protocol Suite LN basics, including wallets, nodes, and how to operate one Lightning payment channels, onion routing, and gossip protocol Finding paths across payment channels to transport Bitcoin off-chain from sender to recipient