Mastering Linux Shell Scripting, 2nd EditionIn this book, you'll discover everything you need to know to master shell scripting and make informed choices about the elements you employ.
Grab your favorite editor and start writing your best Bash scripts step by step. Get to grips with the fundamentals of creating and running a script in normal mode, and in debug mode. Learn about various conditional statements code snippets, and realize the power of repetition and loops in your shell script. You will also learn to write complex shell scripts. This book will also deep dive into file system administration, directories, and system administration like networking, process management, user authentications, and package installation and regular expressions. Towards the end of the book, you will learn how to use Python as a BASH Scripting alternative.
By the end of this book, you will know shell scripts at the snap of your fingers and will be able to automate and communicate with your system with keyboard expressions.
Make, execut ...
PostgreSQL: Up and Running, 3rd EditionThinking of migrating to PostgreSQL? This clear, fast-paced introduction helps you understand and use this open source database system. Not only will you learn about the enterprise class features in versions 9.5 to 10, you'll also discover that PostgeSQL is more than a database system - it's an impressive application platform as well.
With examples throughout, this book shows you how to achieve tasks that are difficult or impossible in other databases. This third edition covers new features, such as ANSI-SQL constructs found only in proprietary databases until now: foreign data wrapper (FDW) enhancements; new full text functions and operator syntax introduced in version 9.6; XML constructs new in version 10; query parallelization features introduced in 9.6 and enhanced in 10; built-in logical replication introduced in Version 10.e.
If you're a current PostgreSQL user, you'll pick up gems you may have missed before.
Learn basic administration tasks such as role management, data ...
Web Scraping with Python, 2nd EditionIf programming is magic then web scraping is surely a form of wizardry. By writing a simple automated program, you can query web servers, request data, and parse it to extract the information you need. The expanded edition of this practical book not only introduces you web scraping, but also serves as a comprehensive guide to scraping almost every type of data from the modern web.
Part I focuses on web scraping mechanics: using Python to request information from a web server, performing basic handling of the server's response, and interacting with sites in an automated fashion. Part II explores a variety of more specific tools and applications to fit any web scraping scenario you're likely to encounter.
Parse complicated HTML pages; Develop crawlers with the Scrapy framework; Learn methods to store data you scrape; Read and extract data from documents; Clean and normalize badly formatted data; Read and write natural languages; Crawl through forms and logins; Scrape JavaScript and ...
Python in a Nutshell, 3rd EditionUseful in many roles, from design and prototyping to testing, deployment, and maintenance, Python is consistently ranked among today's most popular programming languages. The third edition of this practical book provides a quick reference to the language - including Python 3.5, 2.7, and highlights of 3.6 - commonly used areas of its vast standard library, and some of the most useful third-party modules and packages.
Ideal for programmers with some Python experience, and those coming to Python from other programming languages, this book covers a wide range of application areas, including web and network programming, XML handling, database interactions, and high-speed numeric computing. Discover how Python provides a unique mix of elegance, simplicity, practicality, and sheer power.
Python syntax, Object-Oriented Python, standard library modules, and third-party Python packages; Python's support for file and text operations, persistence and databases, concurrent execution, and nume ...
Building JavaScript GamesBuilding JavaScript Games teaches game programming through a series of engaging, arcade-style games that quickly expand your JavaScript and HTML5 skills. JavaScript is in the top ten most-used programming languages world wide, and is the basis for applications that can run in any modern browser, on any device from smart phone to tablet to PC. Especial emphasis is given to touch-based interface, but all games also run using a regular mouse and keyboard setup.
The approach in Building JavaScript Games follows the basic structure of a game rather than the syntax of a language. From almost the very first chapter you are building games to run on your phone or other device and show to your friends. Successive projects teach about handling player input, manipulating game objects, designing game worlds, managing levels, and realism through physics. All told, you'll develop four well-designed games, making Building JavaScript Games one of the most enjoyable ways there is to learn about progr ...
CoffeeScript in ActionJavaScript runs (almost) everywhere but it can be quirky and awkward. Its cousin CoffeeScript is easier to comprehend and compose. An expressive language, not unlike Ruby or Python, it compiles into standard JavaScript without modification and is a great choice for complex web applications. It runs in any JavaScript-enabled environment and is easy to use with Node.js and Rails.
CoffeeScript in Action teaches you how, where, and why to use CoffeeScript. It immerses you in CoffeeScript's comfortable syntax before diving into the concepts and techniques you need in order to write elegant CoffeeScript programs. Throughout, you'll explore programming challenges that illustrate CoffeeScript's unique advantages. For language junkies, the book explains how CoffeeScript brings idioms from other languages into JavaScript. ...
Google Glass For DummiesWith this easy-to-use guide, you can wear your Google Glass with confidence! From setup and configuration, to learning how to tap into the amazing features of Google Glass, this book has it all. Soon you'll be taking photos and video, accessing the display, using the applications, and operating the arm's touchpad. This must-have guide is filled with the important information you need. Keep the book on hand and refer to it often as you explore the world through your Google Glass.
Google Glass For Dummies is the only guide you'll need to control this extraordinary technology that includes a camera, display, touchpad, battery, and microphone all built into the frames of the glasses. Not only do they allow you to access the display in your field of vision—so you can access the time, date, and weather—they also give you the ability to film videos, take and share photos, search the web, and translate languages-all on the go! ...
MATLAB Matrix AlgebraMATLAB is a high-level language and environment for numerical computation, visualization, and programming. Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java.
MATLAB Matrix Algebra introduces you to the MATLAB language with practical hands-on instructions and results, allowing you to quickly achieve your goals. Starting with a look at symbolic and numeric variables, with an emphasis on vector and matrix variables, you will go on to examine functions and operations that support vectors and matrices as arguments, including those based on analytic parent functions. ...
Practical Data Science CookbookStarting with the basics, this book will cover how to set up your numerical programming environment, introduce you to the data science pipeline (an iterative process by which data science projects are completed), and guide you through several data projects in a step-by-step format. By sequentially working through the steps in each chapter, you will quickly familiarize yourself with the process and learn how to apply it to a variety of situations with examples in the two most popular programming languages for data analysis - R and Python. ...
Jupyter CookbookJupyter has garnered a strong interest in the data science community of late, as it makes common data processing and analysis tasks much simpler. This book is for data science professionals who want to master various tasks related to Jupyter to create efficient, easy-to-share, scientific applications.
The book starts with recipes on installing and running the Jupyter Notebook system on various platforms and configuring the various packages that can be used with it. You will then see how you can implement different programming languages and frameworks, such as Python, R, Julia, JavaScript, Scala, and Spark on your Jupyter Notebook. This book contains intuitive recipes on building interactive widgets to manipulate and visualize data in real time, sharing your code, creating a multi-user environment, and organizing your notebook. You will then get hands-on experience with Jupyter Labs, microservices, and deploying them on the web.
By the end of this book, you will have taken your kn ...