Skip to content

Instantly share code, notes, and snippets.

View vdurante's full-sized avatar

Vitor Durante vdurante

  • Hamburg, Germany + São Paulo, Brazil
View GitHub Profile
@vdurante
vdurante / shell-setup.ps1
Created August 1, 2022 13:00 — forked from mikepruett3/shell-setup.ps1
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@vdurante
vdurante / Program.cs
Created January 19, 2022 17:44
FakeItEasy DbContext issue
// create a dotnet 6 project with this file and run A_Fake_Service test
using FakeItEasy;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace FakeItIssue;
// declare a DbContext normally
public class MyDbContext : DbContext
{
@vdurante
vdurante / readme.md
Created October 1, 2019 18:56
How to trust a System Certificate on rooted Android 8+

Pre-Requisites

  • Windows - download cmder. I find it easier to use OpenSSL and nix comands through cmder without having to install anything. Just download, extract the zip, and run cmder.exe
  • Android - it must be rooted
  • Android - you need a file manager with root capabilities. I like using Amaze

How-To

I haven't tested if all these steps are required. I strongly suggest you follow them to generate a valid certificate file using the same structure as Android's.