This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
class NameParser(object): | |
""" | |
Parses a name from a given string. | |
This parser is definitely English/Western specific. | |
Certain assumptions are made such as | |
* first/last name order |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Js for /NAMESPACE/MODULE */ | |
NAMESPACE = NAMESPACE || {}; | |
NAMESPACE.MODULE = (function() { | |
var obj = { | |
// Context to operate in | |
context: '#side-well', | |
init: function ($el) { | |
this.$el = $el; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ui-datepicker-div { | |
padding: 1px 1px 5px; | |
text-align: left; | |
background-color: #fff; | |
background-clip: padding-box; | |
border: 1px solid #ccc; | |
border: 1px solid rgba(0,0,0,.2); | |
border-radius: 6px; | |
-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); | |
box-shadow: 0 5px 10px rgba(0,0,0,.2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$colors = array( | |
'Aqua', | |
'Azure', | |
'Beige', | |
'Black', | |
'Blue', | |
'Brown', | |
'Coral', | |
'Crimson', | |
'Cyan', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$animals = array( | |
'Aardvark', | |
'Alligator', | |
'Ant', | |
'Anteater', | |
'Antelope', | |
'Ape', | |
'Armadillo', | |
'Baboon', | |
'Badger', |