Skip to content

Instantly share code, notes, and snippets.

View shassaan's full-sized avatar
⚒️
Hacking

Syed Hassaan Ahmed shassaan

⚒️
Hacking
View GitHub Profile
@pasdam
pasdam / cpr.sh
Last active March 4, 2024 10:26
Script to automatically create a PR to main
#!/bin/sh
set -e
REPO_DIR=$1
if [ -z "$REPO_DIR" ]; then
REPO_DIR="./"
fi
REPO_DIR=$(git rev-parse --show-toplevel)
if [ "$REPO_DIR" = ".git" ]; then
@SteveSandersonMS
SteveSandersonMS / ITab.cs
Created November 15, 2018 11:33
Blazor tab example
using Microsoft.AspNetCore.Blazor;
public interface ITab
{
RenderFragment ChildContent { get; }
}