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
| <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:vm="clr-namespace:Vapolia.OustGame.ViewModels" | |
| xmlns:controls="clr-namespace:Vapolia.OustGame.Views.Controls" | |
| x:Class="Vapolia.OustGame.Views.ColorPickerPopup" | |
| x:DataType="vm:ColorPickerPopupViewModel" | |
| BackgroundColor="Transparent" | |
| NavigationPage.HasNavigationBar="False"> | |
| <Grid BackgroundColor="#80000000"> |
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
| #CONVERT SOLFLARE PRIVATE KEY FORMAT (decimal json) INTO HELIUM WALLET PRVATE KEY FORMAT (base58) | |
| #pip install base58 | |
| import json | |
| import base58 | |
| # Your Solana private key as a JSON array of integers | |
| solana_private_key_json = '[79, 60, 46, 159, 168, 210, 229, 181, 155, 62, 45, 118, 26, 77, 75, 81, 205, 71, 201, 184, 159, 45, 110, 19, 200, 162, 167, 210, 229, 181, 195, 214]' | |
| # Parse the JSON array to a list of integers |
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.Collections.Concurrent; | |
| using System.Diagnostics; | |
| using System.Reflection; | |
| using SkiaSharp; | |
| using SkiaSharp.Views.Maui; | |
| using Animation = SkiaSharp.Skottie.Animation; | |
| namespace Skottie; | |
| /// <summary> |
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
| # Xamarin.iOS | |
| # Build a Xamarin.iOS project. | |
| # Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin | |
| trigger: | |
| - release/store | |
| pool: | |
| vmImage: 'macos-latest' |
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
| namespace Vapolia | |
| { | |
| public interface IScreenLocation | |
| { | |
| PointF GetCoordinates(VisualElement view); | |
| } | |
| } |
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
| /// <summary> | |
| /// Author: softlion (softlion@softlion.com) | |
| /// </summary> | |
| /// <remarks> | |
| /// Thanks to: Stuart Lodge | |
| /// </remarks> | |
| public class MvxRadioGroupSelectedIndexBinding : MvxAndroidTargetBinding | |
| { | |
| bool stopListeningCheckChanged = 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.Threading; | |
| using Android.App; | |
| using Android.Graphics; | |
| using Android.OS; | |
| using Android.Util; | |
| using Android.Views; | |
| using Vapolia.Droid.Lib.Renderers; | |
| using Xamarin.Forms; | |
| using Xamarin.Forms.Platform.Android; | |
| using XamSvg; |
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
| // 1. load https://www.linkedin.com/mynetwork/ | |
| // 2. make sure your LinkedIn is in English | |
| // 3. paste this script on chrome dev tools at your own risk | |
| async function moreConnectionsPlease() { | |
| // maximum limit of Connect buttons clicked | |
| const LIMIT = 500; | |
| // wait in ms before each scroll | |
| const SCROLL_TIMEOUT = 600; | |
| // bulk scroll will scroll this amount of times |
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
| //Xamarin iOS | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using CoreAnimation; | |
| using CoreGraphics; | |
| using Foundation; | |
| using UIKit; | |
| namespace Vapolia.Ios.Lib.Ui | |
| { |
NewerOlder