Skip to content

Instantly share code, notes, and snippets.

View NickersF's full-sized avatar
🚀
Preparing to launch a great product.

Nicholas Fazzolari NickersF

🚀
Preparing to launch a great product.
  • Association of Oregon Counties
  • Portland Or
View GitHub Profile
@NickersF
NickersF / conn_SQLLocalDB.ps
Created May 16, 2021 20:31
Gets connection pipe to allow MS SQL Server Studio to connect the VS SQL Server
& 'C:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe' info mssqllocaldb
@NickersF
NickersF / kendoGetAllGridData.js
Created April 23, 2021 22:17
JQuery call to get the data from a Kendo UI grid instance.
let allGridData = $('#countyDataGrid').data("kendoGrid").dataSource.data().toJSON();
$(document).ready(function () {
// JQuery code here...
});
let oregonCounties = [
'Baker',
'Benton',
'Clackamas',
'Clatsop',
'Columbia',
'Coos',
'Crook',
'Curry',
'Deschutes',
@NickersF
NickersF / FluentColor.cs
Created November 30, 2020 15:35
Fluent Color Setters
// Telerik color theme generator color pallete for RadGridView
FluentPalette.Palette.AccentColor = (Color)ColorConverter.ConvertFromString("#FF0078D7");
FluentPalette.Palette.AccentFocusedColor = (Color)ColorConverter.ConvertFromString("#FF4CB0FF");
FluentPalette.Palette.AccentMouseOverColor = (Color)ColorConverter.ConvertFromString("#FF008EFF");
FluentPalette.Palette.AccentPressedColor = (Color)ColorConverter.ConvertFromString("#FF0063B1");
FluentPalette.Palette.AlternativeColor = (Color)ColorConverter.ConvertFromString("#FFF2F2F2");
FluentPalette.Palette.BasicColor = (Color)ColorConverter.ConvertFromString("#33000000");
FluentPalette.Palette.BasicSolidColor = (Color)ColorConverter.ConvertFromString("#FFCDCDCD");
FluentPalette.Palette.ComplementaryColor = (Color)ColorConverter.ConvertFromString("#FFCCCCCC");
FluentPalette.Palette.IconColor = (Color)ColorConverter.ConvertFromString("#CC000000");
@NickersF
NickersF / RadGridViewFluentInclude.xaml
Created November 30, 2020 15:32
RadGridView Theme Include
<telerik:RadGridView.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/System.Windows.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</telerik:RadGridView.Resources>
@NickersF
NickersF / git-reset.bash
Last active February 2, 2021 21:47
Reset Your Branch To Previous Commit
In Visual Studio:
View > Terminal
In Terminal
cd {to where your repo is stored}
git checkout -{desired branch}
git reset --hard {id of commit} // You can find it on GitHub or through the Git Changes view in Visual Studio
git push -f
@NickersF
NickersF / FullTelerikAppLevelResourceDictionary.xaml
Created November 19, 2020 00:59
Global Application Telerik NoXAML Resource Dictionaries
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/System.Windows.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Chart.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Data.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windo
@NickersF
NickersF / DashBoardRoundedRect.xaml
Created November 18, 2020 18:57
Rounded Rectangles (Borders) for Dashboard
<Border x:Name="borderAsRoundedRect"
Grid.Column="1"
Grid.Row="1"
Background="MediumSpringGreen"
HorizontalAlignment="Stretch"
CornerRadius="8,0,0,8"
/>
<Border x:Name="borderAsRoundedRectRight"
Grid.Column="2"
@NickersF
NickersF / App.xaml
Last active November 18, 2020 18:21
Telerik WPF Control Template Resource Dictionary
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/System.Windows.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>