Skip to content

Instantly share code, notes, and snippets.

View ChaseFlorell's full-sized avatar
🇨🇦

Chase Florell ChaseFlorell

🇨🇦
View GitHub Profile
/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
#include <stdbool.h>
using System;
using System.Reactive.Disposables;
namespace cannect.Core
{
public class DisposableObject : ICancelable
{
public bool IsDisposed { get; private set; }
public void Dispose()
@ChaseFlorell
ChaseFlorell / baldurs_gate_3_keybindings.html
Created October 14, 2020 02:13
Baldur's Gate 3 (III) Keybindings, no ads, no fuss, no muss.
<!DOCTYPE html>
<html>
<body>
<table class="wiki_table sortable" style="width: 93.9397%; height: 2559px;">
<thead>
<tr>
<td>
<h4>ACTION</h4>
</td>
<td colspan="2">
@ChaseFlorell
ChaseFlorell / CoucnbaseMappingTests.cs
Created July 17, 2020 14:34
Couchbase Mapping Idea
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
<Style TargetType="Switch">
<Setter Property="OnColor" Value="{DynamicResource SwitchOnColor}" />
<Setter Property="ThumbColor" Value="{DynamicResource SwitchOnThumbColor}" />
<Style.Triggers>
<Trigger TargetType="Switch" Property="IsToggled" Value="False">
<Setter Property="ThumbColor" Value="{DynamicResource SwitchOffThumbColor}" />
</Trigger>
</Style.Triggers>
</Style>
@ChaseFlorell
ChaseFlorell / Hexadecimal opacity transparency codes.md
Last active January 6, 2020 21:44 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

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

<CollectionView ItemsSource="{Binding Addresses}"
VerticalOptions="Start"
SelectionMode="Single"
HeightRequest="350"
SelectionChanged="OnItemSelected">
<CollectionView.EmptyView>
<Label Text="No Results (l10n)" TextColor="{StaticResource OsloGrey}" Margin="10" />
</CollectionView.EmptyView>
<CollectionView.ItemTemplate>
<DataTemplate>
@ChaseFlorell
ChaseFlorell / .gitconfig
Last active April 30, 2021 22:18
Customized Git Config
[user]
name = MY NAME
email = MY.EMAIL@gmail.com
initials = ME
[branches]
default = master
[rebase]
autoStash = true
[alias]
co = checkout
@ChaseFlorell
ChaseFlorell / example.xaml
Created March 3, 2019 17:08
trying to adjust FlexLayout.Basis on orientation changed
<Grid.Triggers>
<DataTrigger TargetType="Grid" Binding="{Binding CurrentOrientation, Source={x:Static Device.Info}}" Value="{x:Static internals:DeviceOrientation.Portrait}" >
<Setter Property="FlexLayout.Basis" Value="50%" />
</DataTrigger>
<DataTrigger TargetType="Grid" Binding="{Binding CurrentOrientation, Source={x:Static Device.Info}}" Value="{x:Static internals:DeviceOrientation.Landscape}" >
<Setter Property="FlexLayout.Basis" Value="33%" />
</DataTrigger>
</Grid.Triggers>
Set-Alias less "C:\Program Files\Git\usr\bin\less.exe"
function f($text, $files="*.*")
{
findstr /spin $text $files | less
}