since the control is just a ContentView
it can be customized in many ways - this is an example of a Clip
applied to the color picker.
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
using Sample; | |
var d1 = new DateTime(2024, 05, 11, 08, 31, 49); // End of Clip_00002 | |
var d2 = new DateTime(2024, 05, 11, 13, 09, 20); // Start of Clip_00003 | |
var res = d2 - d1; | |
Console.WriteLine("Diff {0}", res); | |
var timeLine = new DateTime(2024, 01, 1, 0, 1, 16) + res; // Last clip timeline end | |
Console.WriteLine("Put next video at {0:HH:mm:ss:ff}", timeLine); /// ?? Less than 4:33 |
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
using System.ComponentModel; | |
using System.Diagnostics; | |
using MAUI = Microsoft.Maui.Controls.Shapes; | |
namespace TelemetryExporter.UI.CustomControls; | |
// It will be good that range slider to be Generic and initialize it from code behind. | |
// For example RangeSlider<T> where T : Struct (or something comparable) | |
public class RangeSlider : ContentView, INotifyPropertyChanged |
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
jQuery('[name="tc_input_field_form_element[field_name][]"],[name="tc_select_field_form_element[field_name][]"]') | |
.map((i, x) => `${x.value} ${jQuery(x).nextAll('[name="tc_input_field_form_element[field_label][]"],[name="tc_select_field_form_element[field_label][]"]').get(0).value}`) |
- https://racetimingbg.com
- https://tracksport.live/
- https://gps.tracksport.eu/ (Събитията на живо)
- https://drace.bg/ (Събитията се добавят като наближат)
- https://trailseries.bg/ (Бегачески състезания)
- https://www.race-tracking.com/ (Състезания източна българия/черномоерието)
- https://bgeventsandguiding.com/competitions (Състезания северозападна българия врачанско, монтанско)
- https://racecalendar.bg/ (Повечето са бегачески състезания, но има и за колоездене)
- https://sportenkalendar.bg/kalendar (Събития от всички спортове - държавни първенства)
- https://mtb-bg.com/events (Събитията се добавят като наближат)
- Basebike
- allmountain
- niko bikes
- hala bikes
- pumpmybike.eu
- 1001parts
- veloserviz.com
- bikeshop-bg.com
- champion-bikeshop.com
- pavebikeshop
When working with nullable booleans and using null condiional operator could be wrong:
Let's take the follwoing example:
bool? isRecording = savedInstanceState?.GetBoolean("isRecording");
if (isRecording)
- This won't compile. need another approach.
The condition if (isRecording == false)
will be true when the variable is equal to false and when it is null
.
It's logical to work like that since the default value of bool
is false
and the null
value is more suitable to false
.
But we should be careful if the logic need to be executed only if it's equal to 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
using System; | |
using System.IO; | |
using iText.Kernel.Colors; | |
using iText.Kernel.Pdf; | |
using iText.Layout; | |
using iText.Layout.Element; | |
public class Program | |
{ |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<connectionStrings> | |
<add name="LocalDb" connectionString="Data Source=LENOVO-G710;Initial Catalog=PredicateBuilder;Integrated Security=True" providerName=""/> | |
</connectionStrings> | |
</configuration> |
NewerOlder