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 stickyHeaderTop = $('#jetmenu').offset().top; | |
| $(window).scroll(function(){ | |
| if( $(window).scrollTop() > stickyHeaderTop ) { | |
| $('#jetmenu').css({position: 'fixed', top: '0px'}); | |
| $('#jetmenu').css('display', 'block'); | |
| } else { | |
| $('#jetmenu').css({position: 'static', top: '0px'}); | |
| } | |
| }); |
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
| https://laracogs.com/docs/services/crud/ |
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
| ListView::widget([ | |
| 'dataProvider' => $listDataProvider, | |
| 'pager' => [ | |
| 'firstPageLabel' => 'first', | |
| 'lastPageLabel' => 'last', | |
| 'prevPageLabel' => 'previous', | |
| 'nextPageLabel' => 'next', | |
| 'maxButtonCount' => 3, | |
| ], | |
| ]) |
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
| yii migrate/create add_position_column_to_post_table --fields="position:integer" |
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 artisan make:migration:pivot tags posts |
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
| toggleSocialIcons = () => { | |
| this.setState({show: !this.state.show}); | |
| }; |
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 /home/woundlibraryapi/public_html/yii cron/sync-airtables-data |
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 myarr = mystr.split(":"); |
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
| <Form.Field defaultValue={this.state.searchFreeText} icon={{ name: 'search' }} onBlur={this.handleFreeTextSearchChange.bind(this)} control={Input} width={4} label="Search for:" placeholder="Search" /> |
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
| $products = AirtablesProduct:: find() | |
| ->with('airtablesProductsTypes.airtablesProductType') | |
| ->with('airtablesProductsComponents.airtablesComponent') | |
| ->with('airtablesProductsSizes.airtablesProductSize') | |
| ->with('airtablesProductsSpecies.airtablesSpecie') | |
| ->orderBy('name ASC') | |
| ->asArray(); |