Skip to content

Instantly share code, notes, and snippets.

View bradleypaul's full-sized avatar

Paul Bradley bradleypaul

  • KERV Interactive
  • Austin, TX
View GitHub Profile
@bradleypaul
bradleypaul / readme.md
Created July 19, 2020 17:34
Regex Tutorial

URL Regex Tutorial

Summary

This regex is used to find all valid urls in a list of urls.

/^(https?:\/\/)?([\da-z\.-]+)\.(c{2,6})([\/\w \.-]*)*\/?$/gim
<!DOCTYPE html>
<html>
<head>
<script>
function clickHandler(e) {
window.open('https://www.github.com/' + e.target.innerText, '_blank');
}
@bradleypaul
bradleypaul / README.md
Created May 18, 2020 00:39
Readme from the readme generator

readme-generator

License

Description

A project for streamlining the building of READMEs for new projects. Instead of having to worry about Markdown specifics, users can just input the data and the project does the rest! :)

Table of Contents

Keybase proof

I hereby claim:

  • I am bradleypaul on github.
  • I am bradleypaul (https://keybase.io/bradleypaul) on keybase.
  • I have a public key ASCOwirnz38KwmO1H4CGl0NmuW7v4s1gizbGSBrjpfrqHAo

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12pt;
max-width: 468pt;
padding: 72pt 72pt 72pt 72pt;
@bradleypaul
bradleypaul / common-currency.json
Created June 1, 2018 23:19
Version of Common-Currency as a JSON array in lieu of JSON object for easier use for listing. Original source: https://bit.ly/2snSR1G.
[
{
"symbol":"$",
"name":"US Dollar",
"symbol_native":"$",
"decimal_digits":2,
"rounding":0,
"code":"USD",
"name_plural":"US dollars"
},