Skip to content

Instantly share code, notes, and snippets.

Clive Corbishley clivecorbishley

Block or report user

Report or block clivecorbishley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@clivecorbishley
clivecorbishley / .travis.yml
Last active Oct 15, 2018
Version Tracking Travis config
View .travis.yml
---
...
env:
global:
- APP_VERSION=3.23
...
jobs:
include:
- stage: Deploy
before_deploy:
@clivecorbishley
clivecorbishley / email_regex.rb
Created Jul 23, 2018
Ruby email regex snippets
View email_regex.rb
'email@email.com' =~ URI::MailTo::EMAIL_REGEXP
'email@email.com;split.tes2email@wwwwwww.co.za'.split(';').map { |v| v =~ URI::MailTo::EMAIL_REGEXP }
'email@email.com;split.tes2email@wwwwwww.co.za'.split(';').map { |v| v =~ /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/ }
You can’t perform that action at this time.