Skip to content

Instantly share code, notes, and snippets.

View MzITHiVE's full-sized avatar
🤓

MzIT.HiVE MzITHiVE

🤓
View GitHub Profile
@MzITHiVE
MzITHiVE / PublishAPI.pubxml
Created January 14, 2020 18:04
Visual Studio publish profiles (.pubxml) for ASP.NET Core app. This file is used by the publish/package process of your Web project.
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<PublishProvider>FileSystem</PublishProvider>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
@MzITHiVE
MzITHiVE / Scaffold-DbContext
Last active September 27, 2020 14:41
Entity framework import models database first .NET Core;
Scaffold-DbContext "server=localhost;port=3306;user=USER;password=PASSWORD;database=DATABASE" Pomelo.EntityFrameworkCore.MySql -OutputDir Models/Entities -f
@MzITHiVE
MzITHiVE / .gitlab-ci.yml
Created October 14, 2019 18:17 — forked from superjose/.gitlab-ci.yml
This is an example of a .gitlab-ci.yml that is required for Continuous Integration on GitLab projects.
# Reference: https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/
# GitLab uses docker in the background, so we need to specify the
# image versions. This is useful because we're freely to use
# multiple node versions to work with it. They come from the docker
# repo.
# Uses NodeJS V 9.4.0
image: node:9.4.0
# And to cache them as well.
@MzITHiVE
MzITHiVE / .NetCore.Publish.Win-x64
Created June 17, 2019 06:59
A command script for create a win-x64 publish of a .net core project!
dotnet publish MealsyPOSServices.csproj -c Release --self-contained -r win-x64
@MzITHiVE
MzITHiVE / .gitignore [Common_Web]
Last active September 27, 2019 09:34
Common *.gitignore* for repositories!
# Common *.gitignore* for *Common_Web* repositories!
# v1.0.0.0
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/dist-server
/tmp
/out-tsc