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
| xcrun simctl get_app_container booted <bundleId> data |
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 SomeNamespace.Converters | |
| { | |
| using System; | |
| using System.Globalization; | |
| using Microsoft.Maui.Controls; | |
| using Microsoft.Maui.Graphics; | |
| using Syncfusion.Maui.ListView; | |
| public class AlternativeRowColorConverter : BindableObject, IValueConverter | |
| { |
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
| import java.io.FileInputStream; | |
| import java.io.IOException; | |
| import java.nio.file.*; | |
| import java.security.cert.CertificateFactory; | |
| import java.security.cert.X509Certificate; | |
| import java.security.PublicKey; | |
| import java.security.interfaces.RSAPublicKey; | |
| import java.math.BigInteger; | |
| import java.security.MessageDigest; | |
| import java.util.Date; |
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
| import base64 | |
| import json | |
| import sys | |
| from PIL import Image | |
| from io import BytesIO | |
| def get_exif_date_taken(image_data): | |
| try: | |
| image = Image.open(BytesIO(image_data)) | |
| exif_data = image._getexif() |
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
| fastlane run resign \ | |
| ipa:"app.ipa" \ | |
| signing_identity:"iPhone Distribution: something" \ | |
| provisioning_profile:"something.mobileprovision" \ | |
| use_app_entitlements:true |
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
| const admin = require("firebase-admin"); | |
| const serviceAccount = require("./service-account.json"); | |
| const registrationToken = "REGISTRATION_TOKEN_1"; | |
| admin.initializeApp({ | |
| credential: admin.credential.cert(serviceAccount) | |
| }); | |
| const message = { |
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
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <OutputType>Exe</OutputType> | |
| <TargetFramework>net6.0</TargetFramework> | |
| <ImplicitUsings>enable</ImplicitUsings> | |
| <Nullable>enable</Nullable> | |
| </PropertyGroup> | |
| <ItemGroup> |
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
| OWNER=$1 | |
| REPO=$2 | |
| echo "Owner: $OWNER" | |
| echo "Repository: $REPO" | |
| TOTAL_ARTIFACTS=$(gh api -H "Accept: application/vnd.github+json" /repos/$OWNER/$REPO/actions/artifacts | jq '.total_count') | |
| echo "Total Artifacts: $TOTAL_ARTIFACTS" | |
| echo "Deleting artifacts..." |
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
| require "base64" | |
| require "jwt" | |
| ISSUER_ID = "" | |
| KEY_ID = "" | |
| PRIVATE_KEY_FILE="" | |
| private_key = OpenSSL::PKey.read(File.read(PRIVATE_KEY_FILE)) | |
| token = JWT.encode( | |
| { |
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.Net.Http.Headers; | |
| using System.Net.Http.Json; | |
| namespace FirebaseDistributionReleaseRemove | |
| { | |
| class Program | |
| { | |
| static async Task Main(string[] args) | |
| { | |
| // get project & app for each project from firebase console |
NewerOlder