Skip to content

Instantly share code, notes, and snippets.

Avatar
💾
Bashing __(ง'̀-'́)ง__ bugs

Lance McCarthy LanceMcCarthy

💾
Bashing __(ง'̀-'́)ง__ bugs
View GitHub Profile
@LanceMcCarthy
LanceMcCarthy / Lance_McCarthy_Progress_public.asc
Created Dec 1, 2020
Lance McCarthy GPG Key Progress Software
View Lance_McCarthy_Progress_public.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBF/BYpsBDACpvtR0aTeVY3jwc84YXkQSSpf+Ihe8Si9OQGOiVRkD3bx0PeLg
HsjP6R5MarxVpOb1QN4v0tFuXm4xn2RAqgRjScwII8meGVjYrhvcr2dBfEykFn44
WNErRwzfn6gg8DpHQe9y/kIx15CzeTJw+iDUppsyLd9jXVohEH01C6q/l+LpX2Y8
dgUw/7F9dP6S8N4GjyZ7OiG5Wo7Y2DZVqgJSfjU5tjQDNUgl/8jY59lI0MePJwoE
0b5wQapiSfy95t40b4AftSYYnyrhq9aX9cU7A2ojE3QUjfj5FWHja34C54gkuS7u
Pq9FgvGzW68BAJNL6ZAh0u8LnOSPyJlB7KsMjGWjAfnZKFHz68RogjfmO4Tdd5JQ
T5+3taV6ug8zmt3HDR/T1O/PSn1bn3KUlNqyTiYDsmiHecFFdTv9xFrUuZCDSXWc
TW2QzhVYvImhh0B2l9/+Ke9qjNtYjVm/r7MPQ/GJEjwiHFfflbLHIbSua6mHTPqN
@LanceMcCarthy
LanceMcCarthy / App.xaml
Last active Aug 28, 2020
Lance Uno and Telerik app.xaml
View App.xaml
<Application
x:Class="UnoTester.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:UnoTester"
xmlns:controls="using:Telerik.UI.Xaml.Controls">
<Application.Resources>
<ResourceDictionary>
View publickey.dvluper@protonmail.com.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v4.10.7
Comment: https://openpgpjs.org
xsBNBF86jgoBCAC1/Im2RowZhvTar/iP73DXcmOdV7hT6DWFZIAhHoGz9liV
jJwZktuD/oD4JGQDG6Yq3DsBfqCeY/FBj/I9ZHjxi4pXO08EPjSfw28ChSwo
yoxt4eRDrUGrHPGxt4x+tzNxBIqgBUjVrBsU58DQhUuZnBB2DLNspKkoFZwx
coVG8hCnhZ8nhsabPFwrkZZ6n+qMJsG0QD9bXamCg82k+XWomMZLkhYlUnvy
s5I0sP+GQPUpeIjXVt3lMQ2Ix/DYQpMw8P2SuKBUSI6UU97n5UoRkwImJjbg
8poDR3o536vqEwUXKgfbewfPgUD5Sj4H2qUhvIbFFPIvTsWrcIRQxsxHABEB
@LanceMcCarthy
LanceMcCarthy / CredentialsHelper.cs
Created Aug 23, 2020
Modern Password Salt and Ecryptor
View CredentialsHelper.cs
using System;
using System.Linq;
using System.Security.Cryptography;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace PwdTools
{
/* =======================
* HASHED PASSWORD FORMATS
* =======================
@LanceMcCarthy
LanceMcCarthy / Failed.txt
Created Jun 28, 2020
OMV UDEV Rules Update Output
View Failed.txt
root@omvpi:/home/pi# udevadm test /sys/block/sdb
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
Load module index
Skipping empty file: /etc/systemd/network/99-default.link
Parsed configuration file /run/systemd/network/10-netplan-eth0.link
Created link configuration context.
Reading rules file: /lib/udev/rules.d/01-md-raid-creating.rules
View keybase.md

Keybase proof

I hereby claim:

  • I am lancemccarthy on github.
  • I am dvluper (https://keybase.io/dvluper) on keybase.
  • I have a public key ASA1QiBTnifxGUFSWRI0tNol-Oq1wcSuXbXZ57q1zdU0Ywo

To claim this, I am signing this object:

@LanceMcCarthy
LanceMcCarthy / MainPage.xaml
Last active Jan 30, 2020
Http POST using C++
View MainPage.xaml
<Page x:Class="FacePostProject.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<StackPanel VerticalAlignment="Center"
@LanceMcCarthy
LanceMcCarthy / MainPage.xaml
Created Dec 27, 2019
RadImageEditor with Remove BG API Tool
View MainPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ie="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
x:Class="ImageEditorTools.Portable.MainPage"
BackgroundColor="LightGray">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
@LanceMcCarthy
LanceMcCarthy / gist:38e31db561fe939952947c49ccee93c8
Created Dec 7, 2019
YAML for Release Pipeline Copy To Azure Blob
View gist:38e31db561fe939952947c49ccee93c8
steps:
- task: AzureFileCopy@2
displayName: 'AzureBlob File Copy'
inputs:
SourcePath: '$(System.DefaultWorkingDirectory)/YOUR_DROP_FILES/drop/'
azureSubscription: 'YOUR_AZURE_SERVICE_CONNECTION' (use release pipeline task pickers to help and authenticate)
Destination: AzureBlob
storage: NAME_OF_AZURE_STORAGE_ACCOUNT (use release pipeline task pickers to help)
ContainerName: 'YOUR_BLOB_NAME' (find this in Azure, or use desktop Azure Storage Explorer to help)
AdditionalArgumentsForBlobCopy: '/Pattern:*.zip' (IMPORTANT!!! It seems to fail unless you set a folder as SoucePath and use a pattern to match the file extension. Or use *.* if you want all files copied into folder)
@LanceMcCarthy
LanceMcCarthy / MainPage.xaml
Created Aug 9, 2019
Xamarin.Forms RadBarcode to Bitmap
View MainPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode"
x:Class="BarcodeCanvasToBitmap.Portable.MainPage">
<Grid>
<telerikBarcode:RadBarcode x:Name="barcode"
Value="https://www.telerik.com/xamarin-ui"
WidthRequest="100"
You can’t perform that action at this time.