Development

Cómo indexar y segmentar cadenas en Python 3 — step-by-step Python tutorial on Progressive Robot

Cómo indexar y segmentar cadenas en Python 3

Los tipos de datos cadena de Python es una secuencia formada por uno o más caracteres individuales que consisten en letras, números, caracteres de espacio en blanco o símbolos. Las cadenas son secuencias y se puede acceder a ellas de la misma manera que a otros tipos de datos basados en secuencias, mediante la indexación y la segmentación. Este tutorial explicará cómo acceder a las cadenas a través de la indexación y cómo segmentarlas en secuencias de caracteres. Asimismo, cubrirá los métodos de

Read more
How To Use Namespaces in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Namespaces in TypeScript

In TypeScript, you can use namespaces to organize your code. Previously known as internal modules, namespaces in TypeScript are based on an early draft of ECMAScript modules. In this tutorial, you will create and use namespaces to illustrate the syntax and what they can be used for. It will lead you through code samples of declaring and merging namespaces, how namespaces work as JavaScript code under the hood, and how they can be used to declare types for external libraries without typing.

Read more
How To Embed a React Application in WordPress on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Embed a React Application in WordPress on Ubuntu 18.04

This tutorial will walk you through best practices for embedding a React application in a WordPress site. You will create a widget intended to be embedded on multiple pages and sometimes multiple times on a page. On the server side, it will be implemented as a WordPress shortcode. By the end of this tutorial, you will have created your own shortcode, inserted it into a page in WP Admin, and published that page.

Read more
How To Write Conditional Statements in PHP — step-by-step Programming tutorial on Progressive Robot

How To Write Conditional Statements in PHP

Decisions written in code are formed using conditionals. “If x, then y.” This tutorial will start with an overview of comparison operators that will be used to build conditional statements. Next, it will take you through writing conditional statements in PHP, including the if, else, and elseif keywords. This also includes combining conditions using the logical operators of “and” or “or”. Finally it will also cover some special conditional operators to more precisely describe a situation.

Read more
How To Build a Responsive About Me Page with Laravel, Sail, and Tailwind CSS — step-by-step Programming tutorial on Progressive Robot

How To Build a Responsive About Me Page with Laravel, Sail, and Tailwind CSS

Laravel Sail is a Docker development environment that is included by default within newer Laravel versions. In this guide, you’ll bootstrap a new Laravel application with Laravel Sail and create a styled “about me” landing page using Tailwind CSS, a utility-first CSS framework designed for rapidly building custom user interfaces. At the end, you’ll have a base that you can use to further develop a Laravel application using Tailwind CSS for the front end and Sail for development.

Read more
How To Secure Your Django Application with a Content Security Policy — step-by-step Python tutorial on Progressive Robot

How To Secure Your Django Application with a Content Security Policy

Websites use various services, styles, scripts, and images to load and render content, and the browser will execute all of it. Using a Content Security Policy (CSP) can help ensure that users are protected from malicious code. In this tutorial, you’ll implement a CSP in a basic Django app, customizing the CSP to allow certain domains and inline resources to run. You’ll also set up Sentry to log violations.

Read more
CHAT