Discover and read the best of Twitter Threads about #regex

Most recents (6)

Secret Regex List

List of regular expressions to search for API keys and other juicy info.

Useful when searching in public code repositories as well as when researching files on the computer/server that is your target.

github.com/h33tlit/secret…

#regex #api

🧵
You can check how the regular expressions in the list above work on the grep.app.

This tool searches code from over a half million public repositories on #GitHub.

🧵
If you want to search for API keys in files on the computer/server, any of the many grep utilities can be used.

Their list with a brief description can be found in this repository:

github.com/cipher387/awes…

#regex #grep #osint

🧵
Read 4 tweets
¿Conoces qe son las expresiones regulares y su utilidad en SEO'

Si la respuesta es no este hilo #SEO sobre #regex te será de gran utilidad.

Dentro HILO 🧵
¿Qué son las expresiones regulares (Regex) y para que sirven?

Las expresiones regulares (También conocidas como Regex) te permitirán buscar y encontrar una determinada frase dentro de un texto de forma rápida.
¿Cuándo se utilizan las REGEX?

Una Regex se podrás utilizar siempre y cuando exista un patrón detectable dentro de una frase, un código o un texto.
Read 14 tweets
New post! Blocking Resources in Playwright 🚧

Save time and money by downloading only the essential resources while web scraping or testing.

zenrows.com/blog/blocking-…
Learn how to use @playwrightweb in #python to avoid CSS files, images, or Javascript from loading and executing.

You can use glob ("**/*.svg") or #regex (r"\.(jpg|png|svg)$").
For more general use, you can access requests resource type, for example image:
route.request.resource_type == "image"

And being even more aggressive, allow only documents:
route.request.resource_type != "document"

playwright.dev/python/docs/ne…
Read 7 tweets
How to get archive catalog entries from PDF to a spreadsheet, using Zotfile and regular expressions. Still plan to do a video on this later, but for now here’s the process via thread. #twitterstorians #regex 1/
What you'll need: app to mark up the PDF (I use iAnnotate on the iPad; Preview works too), @Zotero plus Zotfile, non-Word text editor (I use TextMate on Mac; hear Notepad++ is great for PC) for regular expressions, spreadsheet app 2/
Regular expressions are a sort of syntax used across varying programming languages. Think of them as a fancy find-and-replace. I can't do them justice here (there are plenty of guides online), but here's a cheat sheet for the commands I model here 3/
Read 13 tweets
This year for #merryCSSmas I'll be covering some of the most requested styling features and how they can be used with CSS. This will be a month-long series showing ways that simple, valid CSS, and simple JavaScript functions can work together to style anything you can imagine!
Dec 1: Parent Selector 🎄🎁 Though CSS doesn't have a :parent selector, you can create your own with a small JavaScript function and use a selector like [--parent] in your CSS stylesheets today!

demo: codepen.io/tomhodgins/pen…
code: npmjs.com/package/jsincs…

#css #javascript Supporting your own parent selector in CSS with [--parent]
Dec 2: The :has() Selector ⭐️✨ Even though this selector has been specced in CSS for years, no browsers support it yet. Thankfully it's easy for us to support with a selector like [--has] in our CSS

demo: codepen.io/tomhodgins/pen…
code: github.com/tomhodgins/jsi…

#rwd #webdesign
Read 21 tweets
Não deu pra ir no #codabr18? Foi, mas queria mesmo era se clonar pra ver as muitas atividades simultâneas? A gente reuniu quase 40 apresentações e recursos didáticos usados nas mesas, bootcamps e workshops! Conhecimento bom é conhecimento aberto! #ddj escoladedados.org/2018/11/21/apr…
Vamos revisitar aos poucos as apresentações do #CodaBr18 :

Na abertura, o @albertocairo abordou a democratização da visualização de dados, falando de sua busca para que esta prática se torne uma linguagem universal 🌐

drive.google.com/file/d/1PrDaDB…
@viegasf falou de suas pesquisas sobre inteligência artificial, #dataviz e inovação no Google. Aqui, você confere a oficina que ela deu sobre Interpretação e Fairness em Machine Learning

bit.ly/mlfairness-coda
Read 37 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!