Skip to content

Instantly share code, notes, and snippets.

View giggio's full-sized avatar
💭
Nada a perder.

Giovanni Bassi giggio

💭
Nada a perder.
View GitHub Profile
@giggio
giggio / Windows Defender Exclusions for Developer.ps1
Last active October 3, 2024 08:47 — forked from nerzhulart/Windows Defender Exclusions for Developer.ps1
Adds Windows Defender exclusions for developers (Visual Studio, JetBrains Rider, IntellIJ Idea, Git, MsBuild, dotnet, mono etc.)
[cmdletbinding()]
Param()
$ErrorActionPreference = "Stop"
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$programFilesX86 = ${env:ProgramFiles(x86)}
if ($null -eq $programFilesX86) {
@giggio
giggio / npm.cmd
Created February 2, 2016 16:54 — forked from mykohsu/npm.cmd
Alternative npm.cmd for VS201X node tools integration. Caches npm ls -g result until a different npm command is issued.
@ECHO OFF
SETLOCAL
SET "NODE_EXE=%~dp0\node.exe"
IF NOT EXIST "%NODE_EXE%" (
SET "NODE_EXE=node"
)
SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js"
@giggio
giggio / WageTest.cs
Created April 11, 2012 14:29 — forked from ldaniel/assunto.txt
Relação entre testes, design e métricas
using FluentAssertions;
using NUnit.Framework;
using CleanCode.After.After;
namespace Metricas
{
[TestFixture]
public class WageTest
{