This file contains hidden or 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
| module.exports = [ | |
| {short:" " , name:"Please select a country"}, | |
| {short:"AF" , name:"Afghanistan"}, | |
| {short:"AL" , name:"Albania"}, | |
| {short:"DZ" , name:"Algeria"}, | |
| {short:"AS" , name:"American Samoa"}, | |
| {short:"AD" , name:"Andorra"}, | |
| {short:"AO" , name:"Angola"}, | |
| {short:"AI" , name:"Anguilla"}, |
This file contains hidden or 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
| countries: [ | |
| { id: 21, name: "United States" }, | |
| { id: 22, name: "United Kingdom" }, | |
| { id: 23, name: "Afghanistan" }, | |
| { id: 24, name: "Albania" }, | |
| { id: 25, name: "Algeria" }, | |
| { id: 26, name: "American Samoa" }, | |
| { id: 27, name: "Andorra" }, | |
| { id: 28, name: "Angola" }, | |
| { id: 29, name: "Anguilla" }, |
This file contains hidden or 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
| <select id="user_time_zone" name="user[time_zone]"> | |
| <option data-offset="-36000" value="Hawaii">(GMT-10:00) Hawaii</option> | |
| <option data-offset="-32400" value="Alaska">(GMT-09:00) Alaska</option> | |
| <option data-offset="-28800" value="Pacific Time (US & Canada)">(GMT-08:00) Pacific Time (US & Canada)</option> | |
| <option data-offset="-25200" value="Arizona">(GMT-07:00) Arizona</option> | |
| <option data-offset="-25200" value="Mountain Time (US & Canada)">(GMT-07:00) Mountain Time (US & Canada)</option> | |
| <option data-offset="-21600" value="Central Time (US & Canada)">(GMT-06:00) Central Time (US & Canada)</option> | |
| <option data-offset="-18000" value="Eastern Time (US & Canada)">(GMT-05:00) Eastern Time (US & Canada)</option> | |
| <option data-offset="-18000" value="Indiana (East)">(GMT-05:00) Indiana (East)</option> | |
| <option data-offset="" value="">-------------</option> |
This file contains hidden or 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
| <option value="American Samoa">(GMT-11:00) American Samoa</option> | |
| <option value="International Date Line West">(GMT-11:00) International Date Line West</option> | |
| <option value="Midway Island">(GMT-11:00) Midway Island</option> | |
| <option value="Hawaii">(GMT-10:00) Hawaii</option> | |
| <option value="Alaska">(GMT-09:00) Alaska</option> | |
| <option value="Pacific Time (US & Canada)" selected="selected">(GMT-08:00) Pacific Time (US & Canada)</option> | |
| <option value="Tijuana">(GMT-08:00) Tijuana</option> | |
| <option value="Arizona">(GMT-07:00) Arizona</option> | |
| <option value="Chihuahua">(GMT-07:00) Chihuahua</option> | |
| <option value="Mazatlan">(GMT-07:00) Mazatlan</option> |
This file contains hidden or 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
| var UserSchema = new Schema({ | |
| username: { type: String, required: true, trim: true, unique: true }, | |
| password: { type: String, required: true }, | |
| email: { type: String, lowercase: true, trim: true, unique: true }, | |
| salt: { type: String, required: true }, | |
| hash: { type: String, required: true }, | |
| verificationToken: { type: String }, | |
| verificationTokenExpirationDate: { type: Date }, | |
| isConfirmed: { type: Boolean, default: false }, |
This file contains hidden or 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
| $(document).ready(function () { | |
| $('ul.nav > li > a[href="' + document.location.pathname + '"]').parent().addClass('active'); | |
| }); |
This file contains hidden or 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
| .css-form input.ng-valid.ng-dirty { | |
| background-color: #cbffcb; | |
| } | |
| .css-form input.ng-invalid.ng-dirty { | |
| background-color: #ffcbcb; | |
| } |
This file contains hidden or 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
| rmdir /s /q dirname |
This file contains hidden or 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
| git config --global mergetool.sublime.cmd "subl -w \$MERGED" | |
| git config --global mergetool.sublime.trustExitCode false | |
| git config --global merge.tool sublime | |
| git mergetool -y |
This file contains hidden or 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
| app.get('/api/website', routes.api.website.get); | |
| app.get('/api/website/:id', routes.api.website.getById); | |
| app.post('/api/website', routes.api.website.create); | |
| app.put('/api/website/:id', routes.api.website.update); | |
| app.delete('/api/website/:id', routes.api.website.delete); |
NewerOlder