Skip to content

Instantly share code, notes, and snippets.

View bbenetskyy's full-sized avatar
👾
Making Apps with MAUI 😛

Bohdan Benetskyi bbenetskyy

👾
Making Apps with MAUI 😛
View GitHub Profile
@bbenetskyy
bbenetskyy / GitCommitEmoji.md
Last active April 6, 2018 10:07 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@bbenetskyy
bbenetskyy / MainPage.xaml
Created January 14, 2019 13:12
MainPage.xaml - Start
<?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:local="clr-namespace:StyledApp"
x:Class="StyledApp.MainPage">
<StackLayout Orientation="Vertical" BackgroundColor="#EE007F8B">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
@bbenetskyy
bbenetskyy / ContentPageStyleSheet.xaml
Created January 14, 2019 13:23
Include StyleSheet into ContentPage
<ContentPage.Resources>
<StyleSheet Source="Styles/MainPage.css"/>
</ContentPage.Resources>
@bbenetskyy
bbenetskyy / MainPage.css
Created January 14, 2019 13:29
Main Page CSS Final
^stackLayout {
-xf-orientation: vertical;
background-color: #EE007F8B;
}
grid > label {
color: #EEE017;
font-size: large;
}
@bbenetskyy
bbenetskyy / MainPage-css.xaml
Created January 14, 2019 13:31
Main Page With Css
<?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:local="clr-namespace:StyledApp"
x:Class="StyledApp.MainPage">
<ContentPage.Resources>
<StyleSheet Source="Styles/MainPage.css"/>
</ContentPage.Resources>
<StackLayout>
<Grid>
@PrimaryBackground: #EE007F8B;
@LabelTextColor: #EEE017;
@ButtonBlueColor: #EE0E009C;
@ButtonGreenTextColor: #0BCC1C;
@import Colors;
^stackLayout {
-xf-orientation: vertical;
background-color: @PrimaryBackground;
}
grid > label {
color: @LabelTextColor;
font-size: large;
var gulp = require("gulp"),
fs = require("fs"),
less = require("gulp-less");
gulp.task("Build Less File", function () {
return gulp.src('MainPage.less')
.pipe(less())
.pipe(gulp.dest('../StyledApp/Styles'));
});
@import "Colors";
^stackLayout {
-xf-orientation: vertical;
background-color: @PrimaryBackground;
}
grid > label {
color: @LabelTextColor;
font-size: large;
@bbenetskyy
bbenetskyy / remove-package.ps1
Created August 1, 2019 06:37
Remove Appx Package from System
#Run it as Administrator!!!
get-appxpackage -all | Where-Object {$_.Publisher -like '*mgi*' } ;
# Name : ec2da877-a252–49ba-b198-dfbe4c62b264
# Publisher : CN=mgi***ki
# Architecture : X86
# ResourceId :
# Version : 1.0.0.0
# PackageFullName : ec2da877-a252–49ba-b198-dfbe4c62b264_1.0.0.0_x86__cmp0vtb8yqdft
# InstallLocation :
# IsFramework : False