Removes older versions
sudo rm -rf /usr/local/go* && sudo rm -rf /usr/local/go
public class ImageEx : Image | |
{ | |
public static readonly BindableProperty TrueAspectProperty = | |
BindableProperty.Create( | |
propertyName: nameof(TrueAspect), | |
returnType: typeof(AspectEx), | |
declaringType: typeof(AspectEx), | |
defaultValue: AspectEx.AspectFit, | |
defaultBindingMode: BindingMode.OneWay, | |
propertyChanged: OnAspectExPropertyChanged); |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace StudyCode | |
{ | |
public static class Combination | |
{ | |
public static List<int[]> Combinations(HashSet<int> availableNumbers, int[] currentArray, int index) | |
{ |
#!/bin/bash | |
echo "Downloading the latest Swagger UI release..." | |
LATEST_VERSION=$(curl -s https://api.github.com/repos/swagger-api/swagger-ui/releases/latest | grep '"tag_name"' | cut -d '"' -f 4) | |
echo "The latest release version is: $LATEST_VERSION" | |
ZIP_FILE="swagger-ui-$LATEST_VERSION.zip" | |
curl -L -o "$ZIP_FILE" "https://github.com/swagger-api/swagger-ui/archive/refs/tags/$LATEST_VERSION.zip" |