Skip to content

Instantly share code, notes, and snippets.

View chobberoni's full-sized avatar
👋
Team at Daily Co

Corey Hobbs chobberoni

👋
Team at Daily Co
View GitHub Profile
// ------------
// Blink an LED
// ------------
/*-------------
We've heavily commented this code for you. If you're a pro, feel free to ignore it.
Comments start with two slashes or are blocked off by a slash and a star.
@chobberoni
chobberoni / gold.js
Created November 12, 2015 23:44
inline form validation
function test(){
//inline Validation onType start
$("#email").on('blur', function() {
var re = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(re.test(document.getElementById("email").value)){
document.getElementById("email").style.color ='#3c3c3c;';
return true;
}else{
document.getElementById("email").style.color ='#e35152';
@chobberoni
chobberoni / keybase.md
Created August 5, 2015 21:31
keybase gist for verification

Keybase proof

I hereby claim:

  • I am chobberoni on github.
  • I am chobberoni (https://keybase.io/chobberoni) on keybase.
  • I have a public key whose fingerprint is 30AF 7C42 2C4B 457D F335 FC44 3253 3060 DDF6 7E6B

To claim this, I am signing this object: