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 options = new MqttClientOptionsBuilder() | |
| .WithWebSocketServer("some ws server") | |
| .WithTls(new MqttClientOptionsBuilderTlsParameters { UseTls = true, SslProtocol = SslProtocols.Tls12 }) | |
| .WithCredentials("some credential", "some credential") | |
| .WithClientId("some clientid") | |
| .WithCleanSession() | |
| .WithTimeout(TimeSpan.FromSeconds(100)) | |
| .Build(); | |
| try |
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
| """ Map leader to space --------------------- | |
| let mapleader=" " | |
| """ Plugins -------------------------------- | |
| set surround | |
| set multiple-cursors | |
| set commentary | |
| set argtextobj | |
| set textobj-entire |
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
| :nmap gc :vsc Edit.ToggleLineComment<CR> | |
| :vmap gc :vsc Edit.ToggleLineComment<CR> | |
| :vmap <space>p \"_dP | |
| :nmap gk :vsc Edit.PreviousMethod<CR> | |
| :nmap gr :vsc Edit.FindAllReferences<CR> | |
| :nmap gi :vsc Edit.GoToImplementation<CR> | |
| let mapleader=" " | |
| set incsearch | |
| set relativenumber |
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
| export interface MarkerClustererOptions { | |
| /** | |
| * The grid size of a cluster in pixels. The grid is a square. | |
| * | |
| * @default `60` | |
| */ | |
| gridSize?: number; | |
| /** | |
| * The maximum zoom level at which clustering is enabled or | |
| * `null` if clustering is to be enabled at all zoom levels. |
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
| addClusteringMarkers(guid, mapGuid, markers, imagePath = "_content/BlazorGoogleMaps/m") { | |
| const map = window._blazorGoogleMapsObjects[mapGuid]; | |
| const originalMarkers = markers.map((marker, i) => { | |
| return window._blazorGoogleMapsObjects[marker.guid]; | |
| }); | |
| const markerCluster = new MarkerClusterer(map, originalMarkers, { | |
| imagePath: | |
| imagePath |

