Skip to content

Instantly share code, notes, and snippets.

View cleardemon's full-sized avatar
🐺
Awoo.

Bart King cleardemon

🐺
Awoo.
View GitHub Profile
@arkada38
arkada38 / AAA.md
Last active February 4, 2024 14:39
Using Tailwind CSS v3.2 with Blazor (.Net 6 or above)

Using Tailwind CSS v3.2 with Blazor (.Net 6 or above)

This method works for Blazor Server and Blazor WebAssembly with hot reload, style isolation and tailwind jit compilation.

Setup with using Standalone Tailwind CSS CLI without Node.js

For this method you need added to path Tailwind CSS CLI binary. Read more about Standalone CLI.

Just create a StaticAssets folder in the root of your project with next structure.

@akaegi
akaegi / appcenter-post-build.sh
Last active December 7, 2021 14:11
Publish Android app bundle to Google App Center internal track
if [[ -z "$APPCENTER_PLAY_STORE_PUBLISH_TO_INTERNAL_TRACK" ]]; then
echo "Define environment variable APPCENTER_PLAY_STORE_PUBLISH_TO_INTERNAL_TRACK to run this post-build script."
exit 0
fi
PACKAGE_NAME=com.aa.xfspike
echo "Installing required Python packages"
pip3 install httplib2 google-api-python-client oauth2client
@nthdeveloper
nthdeveloper / NUnit_Cheat_Sheet.md
Last active May 22, 2024 08:57
NUnit Cheat Sheet for the most common test scenarios.

Installation

Install-Package NUnit

Install-Package NUnit.TestAdapter

Install-Package Microsoft.NET.Test.Sdk

Test Execution Workflow

using NUnit.Framework;
@JonDouglas
JonDouglas / xamarinandroidbindings.md
Last active March 12, 2024 10:36
Xamarin Android Bindings Troubleshooting

Approaching a Xamarin.Android Bindings Case

1. Investigation

One of the best ways to investigate a problematic Xamarin.Android Binding is to first ensure you have the proper tooling available:

@protrolium
protrolium / ffmpeg.md
Last active May 15, 2024 18:27
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with: