- Bambulab printer
- Home Assistant with experience how to use it.
- Google account (i.e. Gmail)
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
| /* ============================================ | |
| * bootstrap-infiniteScroll.js | |
| * ============================================ */ | |
| !function ($) { | |
| 'use strict'; | |
| var InfiniteScroll = function (el, options) { | |
| this.$element = $(el); | |
| this.$data = $(el).data(); | |
| this.$options = options; |
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
| <template> | |
| <div | |
| class="virtual-scroll" | |
| ref="root" | |
| :style="rootStyle" | |
| @scroll="onScroll"> | |
| <div | |
| class="virtual-scroll__viewport" | |
| :style="viewportStyle"> | |
| <div |
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
| # Example how to add rich editor capabilities to your models in admin. | |
| from django.contrib.admin import site, ModelAdmin | |
| import models | |
| # we define our resources to add to admin pages | |
| class CommonMedia: | |
| js = ( | |
| 'https://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js', |
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
| # Example how to add rich editor capabilities to your models in admin. | |
| from django.contrib.admin import site, ModelAdmin | |
| import models | |
| # we define our resources to add to admin pages | |
| class CommonMedia: | |
| js = ( | |
| 'https://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js', |
Inertia.js ships with a fantastic form helper but it falls short when also using API/Axios calls in your project.
Here's a composable, built on top of the Inertia's form helper that hooks into it to replace the API calls with Axios.
To use, just replace useForm with useAPIForm.
const form = useAPIForm({
title: '',
});- Add deploy.sh and releases_clear.php to project folder
- Set variables in deploy.sh:
repo, branch, path_user, path_composer, path_main - Set variables in releases_clear.php:
$path_releases - Run bash script in folder project for deploy:
bash deploy.sh - Run php script for clear releases folders:
php releases_clear.php
OlderNewer