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.PickADate = Ember.View.extend | |
| attributes: ['monthsFull', 'monthsShort', 'weekdaysFull', 'weekdaysShort', | |
| 'monthPrev', 'monthNext', 'showMonthsFull', 'showWeekdaysShort', 'today', | |
| 'clear', 'format', 'formatSubmit', 'hiddenSuffix', 'firstDay', 'monthSelector', | |
| 'yearSelector', 'dateMin', 'dateMax', 'datesDisabled', 'disablePicker'] | |
| events: ['onOpen', 'onClose', 'onSelect', 'onStart'] | |
| attributeBindings: ['type', 'value', 'placeholder'] | |
| type: 'text' | |
| tagName: 'input' |
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
| UI.DatePicker = Ember.View.extend UI.Widget, | |
| uiType: 'datepicker' | |
| uiOptions: ['disabled', 'contrainInput', 'dateFormat', 'defaultDate', 'maxDate', 'minDate', ] | |
| uiEvents: ['create', 'beforeShow', 'beforeShowDay', 'onChangeMonthYear' | |
| 'onClose', 'onSelect'] | |
| attributeBindings: ['type', 'value', 'placeholder'] | |
| type: 'text' | |
| tagName: 'input' |
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
| /*global App*/ | |
| window.App = Ember.Application.create(); | |
| // Router | |
| App.Router.map(function() { | |
| this.resource('inventory', function(){ | |
| this.route('review'); | |
| this.resource('vehicle', { path: '/vehicle/:stock_no' }, function(){ |
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
| .visible-desktop { | |
| display: inherit; | |
| } | |
| .visible-tablet { | |
| display: none !important; | |
| } | |
| .visible-mobile { | |
| display: none !important; |
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
| def show | |
| @post = Post.find params[:id] | |
| redirect_to @post if params[:id] != @post.to_param | |
| end |
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
| eval "$(rbenv init -)" | |
| export PATH=/usr/local/bin:/usr/local/sbin:$PATH |
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
| <?php | |
| include('../../sqlconnection/config.php'); | |
| $business = array( | |
| "name" => $_POST['name'], | |
| "country" => $_POST['country'], | |
| "email" => $_POST['email'], | |
| "phone" => $_POST['phone'], | |
| "website" => $_POST['website'], | |
| "tagline" => $_POST['tagline'], | |
| "category" => $_POST['category'], |
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
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
| <script> | |
| $('#onArizonaClick').click(function(e) { | |
| //handle here | |
| }); | |
| </script> |
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
| tell application "Messages" | |
| activate | |
| repeat with myBuddy in buddies | |
| if handler of myBuddy is "+18505555555" then | |
| repeat | |
| send "hey" to myBuddy | |
| end repeat | |
| end if | |
| end repeat | |
| end tell |