background preloader

Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript

https://regex101.com/

Related:  joahnna72teaching: regular expressions

CSS - position In order to make more complex layouts, we need to discuss the position property. It has a bunch of possible values, and their names make no sense and are impossible to remember. Let's go through them one by one, but maybe you should bookmark this page too. static Regular Expressions in grep Searching Files on UNIX On MPE you can display files using the :Print command, Fcopy, Magnet, or Qedit (with pattern match searches). On HP-UX you can display files using cat and even better using more (and string search using the slash "/" command), and Qedit (including searches of $Include files, and so on), but if you really want to search for patterns of text like a UNIX guru, grep is the tool for you.

Griddify, a Tiny Photoshop Panel for Guides and Grids Griddify is tiny and fast. It helps you compose custom grid systems, vertical rhythm, and do a bunch of other stuff with guides in photoshop. Watch the short tutorial to learn how it works: Using list() With explode() In PHP A simple way to convert a string into a set of variables is through the use of the explode() and list() functions. list() is a language construct (not really a function) that will convert an array into a list of variables. For example, to convert a simple array into a set of variables do the following: list($variable1, $variable2) = array(1, 2); In this example $variable1 now contains the value 1 and $variable2 contains the value 2. This can be adapted to use the explode() function to take a string and convert it into a set of variables.

Google Opens Its Cloud Vision API To All Developers After a short limited preview, Google today announced the public beta of its Cloud Vision API — a service that allows developers to easily build image recognition and classification features into their applications. Google’s technology do basic things like extracting text from images, but its real power is in actually recognizing the objects in an image. This is the same technology that powers the image search in Google Photos and it can recognize anything from flowers, food and animals to local landmarks. Google says it has trained the algorithm to recognize “thousands” of different objects. Image classification is probably the most interesting feature in the API, but the service can also flag inappropriate content, for example, so if you want to keep your photo-centric app PG-rated, the Cloud Vision API can help you there, too. And if you only want to see happy people in your images, the Vision API also features sentiment analysis.

Bootstrap 4 Cheat Sheet - The ultimate list of Bootstrap classes justify-content-*-between justify-content-between <div class="d-flex justify-content-between"><div class="p-2">Flex item 1</div><div class="p-2">Flex item 2</div><div class="p-2">Flex item 3</div></div><! Pattern (Java Platform SE 6) java.lang.Object java.util.regex.Pattern All Implemented Interfaces: Serializable public final class Patternextends Objectimplements Serializable A compiled representation of a regular expression. 20 Best Photoshop Plugins For Designers Although there are many great and free alternatives, Photoshop is still the most popular and powerful graphics editor, and the default choice of many designers, illustrators and photographers. If there’s a feature you need, but can’t find in Photoshop, don’t worry – countless scripts and plugins are available to help you extend and improve Photoshop’s functionality. Here is a selection of 20 useful Photoshop plugins for designers. Photoshop Plugins For Mockups and Layouts 1.

Creating Real Time Applications with PHP and WebSockets Introduction This article will explore the main PHP libraries used to create real time, bi-directional applications between clients and servers over WebSockets. WebSocket is full-duplex client/server communication over TCP. It is also a new feature available in browsers as a part of the HTML5 specs that allows JavaScript clients to open bi-directional socket connections to a server. Why big IT projects always go wrong In 1975, a computer scientist named Fred Brooks published one of the seminal texts in the literature of computing. It had the intriguing title of The Mythical Man-Month and it consisted simply of a set of essays on the art of managing large software projects. Between its covers is distilled more wisdom about computing than is contained in any other volume, which is why it has never been out of print. And every government minister, civil servant and chief executive thinking about embarking on a large IT project should be obliged to read it – and answer a multiple-choice quiz afterwards.

Related:  codeIT stuffDéveloppementLinuxR and programmingOutils