-
Install https://developer.garmin.com/connect-iq/programmers-guide/getting-started/ to
/opt/garmin-connectiq-sdk
export PATH=$PATH:/opt/garmin-connectiq-sdk/bin
-
lib issues
Message pattern: `^\[(.*)\] (.+?)\.([A-Z]+): (.*)`
Message start pattern: `^\[`
Time format: `yyyy-MM-dd HH:mm:ss`
Time capture group: `1`
Severity capture group: `3`
Category capture group: `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
// dbconfig.json | |
{ | |
"server": "localhost", | |
"dbname": "cl_shop", | |
"user" : "root", | |
"pass" : "root" | |
} | |
// class definition | |
class DB { |
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
{# tested with 2.3.5 #} | |
{% trans_default_domain 'EasyAdminBundle' %} | |
{% set _paginator_request_parameters = _request_parameters|merge({'referer': null}) %} | |
{% if paginator.haveToPaginate %} | |
<div class="list-pagination"> | |
<div class="list-pagination-counter"> | |
{{ 'paginator.counter'|trans({ '%start%': paginator.currentPageOffsetStart, '%end%': paginator.currentPageOffsetEnd, '%results%': paginator.nbResults})|raw }} {{ 'easy_admin.results'|trans }} | |
</div> |
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
/** | |
* @ORM\Column(type="decimal", precision=7, scale=1) | |
* @var float | |
*/ | |
private $area; | |
public function setArea(float $area) | |
{ | |
$this->area = $area; | |
} |
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
... | |
- { property: 'area', type: 'number', label: label.area, type_options: { required: true, html5: false, input: 'number', scale: 1 } } | |
... |
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
/** | |
* @ORM\Embeddable() | |
*/ | |
class Amount | |
{ | |
/** | |
* @ORM\Column(type="integer") | |
* @var int | |
*/ | |
private $value; |
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
<?php | |
declare(strict_types=1); | |
namespace App\Form; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\Extension\Core\Type\TextType; | |
use Symfony\Component\OptionsResolver\OptionsResolver; | |
class ColorPickerType extends AbstractType |
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
<div style="border: 1px solid black; height: 20px; width: 60px; background-color: {{ value }}"></div> |
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
{% extends '@!EasyAdmin/default/edit.html.twig' %} | |
{% block main %} | |
{{ parent() }} | |
{% endblock %} | |
{% block body_javascript %} | |
{{ parent() }} | |
<script src="{{ asset('js/jqColorPicker.min.js') }}" type="text/javascript"></script> |
NewerOlder