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
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder |
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
[ | |
[ | |
[ | |
1388538000000, | |
10.7, | |
14.3 | |
], | |
[ | |
1388624400000, | |
11.4, |
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
{ | |
"leads":{ | |
"id":38, | |
"amountHours":0, | |
"contactId":428, | |
"childName":"Test", | |
"childLastname":"Bad", | |
"notes":"do as lorem", | |
"phaseStatus":4, | |
"childcareType":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
class A { | |
public get static() { | |
return Object.getPrototypeOf(this).constructor; | |
} | |
constructor() { | |
console.log('constructor A'); | |
this.initialize(); | |
} |
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
class A { | |
public get static() { | |
return Object.getPrototypeOf(this).constructor; | |
} | |
constructor() { | |
console.log('constructor A'); | |
this.constructed(A); | |
} |
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
--- | |
name: TSForm.Elements.InputElement - Basic Example | |
authors: | |
- Olivier Andriessen | |
resources: | |
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css | |
- https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js | |
- https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js | |
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js | |
- https://code.angularjs.org/1.4.9/angular.js |
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 Url = TSValidate.Validators.Url; | |
validator.add('url', new Url() | |
.message(':field must be a url') | |
); |
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 Confirmation = TSValidate.Validator.Confirmation; | |
validator.add('password', new Confirmation() | |
.against('confirmPassword') | |
.message('Password doesn\'t match confirmation') | |
); |
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 Between = TSValidate.Validators.Between; | |
validator.add('price', new Between() | |
.minimum(0) | |
.maximum(100) | |
.message('The price must be between 0 and 100') | |
); |
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 StringLength = TSValidate.Validators.StringLength; | |
validation.add('name_last', new StringLength() | |
.max(50) | |
.min(2) | |
.messageMaximum('We don\'t like really long names') | |
.messageMinimum('We want more than just their initials') | |
); |
NewerOlder