Skip to content

Instantly share code, notes, and snippets.

View Karbust's full-sized avatar

António Carlos Silva Karbust

View GitHub Profile
@Karbust
Karbust / gist:31ecb8998ab941a74530ce2bff839c3e
Created August 1, 2021 22:31 — forked from dnburgess/gist:b0562675f27d9ab44fa6fc17cbc48ee7
Setup Google OAuth for Portainer Remote Access
You're going to need a Google Developer's Account: https://console.developers.google.com/
https://console.cloud.google.com/projectselector2/home/dashboard?authuser=2&organizationId=0&supportedpurview=project
You'll need to know what you want your Portainer URL to be.
Create a Project
Enter a Project Name and click "Create"
APIs & Services
@Karbust
Karbust / AESGCM.cs
Created January 10, 2018 23:22 — forked from jbtule/AESGCM.cs
I have two code examples that I wrote for best practices encrypting a string in c#. They are both using authenticated encryption. http://stackoverflow.com/a/10366194/637783
/*
* This work (Modern Encryption of a String C#, by James Tuley),
* identified by James Tuley, is free of known copyright restrictions.
* https://gist.github.com/4336842
* http://creativecommons.org/publicdomain/mark/1.0/
*/
using System;
using System.IO;
using System.Text;
@Karbust
Karbust / aes_example.cs
Created January 10, 2018 23:20 — forked from mark-adams/aes_example.cs
AES String Encryption (CBC) Example Code for C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace aes_example
{
using System;
@Karbust
Karbust / Stopcallinghome.txt
Created October 26, 2017 19:35 — forked from CHEF-KOCH/Stopcallinghome.txt
Windows 10 seems to be an privacy nightmare, here is how you can stop the home calling function
Microsoft's Windows 10 has permission to spy on you
Well first of all "spying" is a bit misleading, it's written down in the eula/terms what can be collected, the major problem is that
this will be collected even on the first installation without getting any chance to change that.
Available Tools:
Destroy Windows 10 Spying
DoNotSpy10