Skip to content

Instantly share code, notes, and snippets.

View GeeksRock's full-sized avatar

Michelle Edmondson GeeksRock

  • Arkansas City, KS
View GitHub Profile
@GeeksRock
GeeksRock / isValidPassword.js
Created March 30, 2018 13:14
isValidPassword created by MichelleEdmonds - https://repl.it/@MichelleEdmonds/isValidPassword
function isValidPassword(password) {
/* giving credit... http://www.thegeekstuff.com/2008/06/the-ultimate-guide-for-creating-strong-passwords */
var ucAlphaCount = 0, lcAlphaCount = 0, numberCount = 0, specialCount = 0,
parsedPwd = password.split(''), specialChars = ['!', '@', '#', '$', '%', '&', '_'];
//0. 8 characters in length
if (password.toString().trim().length < 8) { return false; }
//1. at least one lower case alphabet
//2. at least one upper case alphabet
//3. at least one number
@GeeksRock
GeeksRock / isValidPassword.js
Created March 30, 2018 13:14
isValidPassword created by MichelleEdmonds - https://repl.it/@MichelleEdmonds/isValidPassword
function isValidPassword(password) {
/* giving credit... http://www.thegeekstuff.com/2008/06/the-ultimate-guide-for-creating-strong-passwords */
var ucAlphaCount = 0, lcAlphaCount = 0, numberCount = 0, specialCount = 0,
parsedPwd = password.split(''), specialChars = ['!', '@', '#', '$', '%', '&', '_'];
//0. 8 characters in length
if (password.toString().trim().length < 8) { return false; }
//1. at least one lower case alphabet
//2. at least one upper case alphabet
//3. at least one number
@GeeksRock
GeeksRock / .gitignore
Created July 22, 2017 19:44 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@GeeksRock
GeeksRock / Interactive Resume
Last active August 29, 2015 14:13
Interactive Resume // source http://jsbin.com/jilaxo
Interactive Resume
------------------
http://jsbin.com/jilaxo/205/