Skip to content

Instantly share code, notes, and snippets.


Chase Florell ChaseFlorell

View GitHub Profile
ChaseFlorell / baldurs_gate_3_keybindings.html
Created Oct 14, 2020
Baldur's Gate 3 (III) Keybindings, no ads, no fuss, no muss.
View baldurs_gate_3_keybindings.html
<!DOCTYPE html>
<table class="wiki_table sortable" style="width: 93.9397%; height: 2559px;">
<td colspan="2">
View CoucnbaseMappingTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Couchbase.Lite;
using Couchbase.Lite.Mapping;
using FluentAssertions;
using NUnit.Framework;
// ReSharper disable TailRecursiveCall
View AppStyle.xaml
<Style TargetType="Switch">
<Setter Property="OnColor" Value="{DynamicResource SwitchOnColor}" />
<Setter Property="ThumbColor" Value="{DynamicResource SwitchOnThumbColor}" />
<Trigger TargetType="Switch" Property="IsToggled" Value="False">
<Setter Property="ThumbColor" Value="{DynamicResource SwitchOffThumbColor}" />
ChaseFlorell / Hexadecimal opacity transparency
Last active Jan 6, 2020 — forked from lopspower/
Hexadecimal color code for transparency
View Hexadecimal opacity transparency

Hexadecimal color code for transparency


How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

View VisualState_CollectionView.xaml
<CollectionView ItemsSource="{Binding Addresses}"
<Label Text="No Results (l10n)" TextColor="{StaticResource OsloGrey}" Margin="10" />
ChaseFlorell / .gitconfig
Last active Apr 15, 2019
Customized Git Config
View .gitconfig
autoStash = true
co = checkout
st = status -s
stats = shortlog -sn --no-merges
lg = log --decorate --pretty=format:%h%x09%an%x09%ad%x09%s --no-merges
cleanup = "!git fetch --all && git branch --merged | grep -v '\\*\\|master\\|develop\\|development\\|dev\\|vnext' | xargs -n 1 git branch -d"
new = checkout -b
alias = config --get-regexp ^alias\\. # List all aliases.
ChaseFlorell / example.xaml
Created Mar 3, 2019
trying to adjust FlexLayout.Basis on orientation changed
View example.xaml
<DataTrigger TargetType="Grid" Binding="{Binding CurrentOrientation, Source={x:Static Device.Info}}" Value="{x:Static internals:DeviceOrientation.Portrait}" >
<Setter Property="FlexLayout.Basis" Value="50%" />
<DataTrigger TargetType="Grid" Binding="{Binding CurrentOrientation, Source={x:Static Device.Info}}" Value="{x:Static internals:DeviceOrientation.Landscape}" >
<Setter Property="FlexLayout.Basis" Value="33%" />
View fast-find-powershell-profile.ps1
Set-Alias less "C:\Program Files\Git\usr\bin\less.exe"
function f($text, $files="*.*")
findstr /spin $text $files | less
View PropertyCopy.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace MiscUtil.Reflection
/// <summary>
/// Non-generic class allowing properties to be copied from one instance
/// to another existing instance of a potentially different type.
ChaseFlorell / Progress.cs
Created Apr 26, 2017
How to run two processes simultaneously.
View Progress.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Utils
public static class Progress
public static Task ProgressDots(CancellationToken token)
You can’t perform that action at this time.