Skip to content

Instantly share code, notes, and snippets.

View SY6502's full-sized avatar

A2 SY6502

  • BG
View GitHub Profile
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active April 19, 2024 12:30
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active April 12, 2024 17:23
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@grugq
grugq / gist:03167bed45e774551155
Last active April 6, 2024 10:12
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

@bschwind
bschwind / Server.cs
Created April 14, 2012 01:44
Implements a simple TCP server with one thread per client
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Collections.Concurrent;
namespace GraphicsToolkit.Networking
@schacon
schacon / FUGPL.txt
Created September 25, 2008 18:49
the anti-gpl license
The FUGPL License
===================
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software with only one restriction. No part of
it may be included in software projects that are solely distributed under
strong copyleft restricted licenses. This license is *NOT* GPL compatible,
and that is it's only restriction.
@OrganicIrradiation
OrganicIrradiation / ESP8266_deepsleep.ino
Created April 19, 2016 18:14
Simple ESP8266 deepsleep example
#include <ESP8266WiFi.h>
const char* ssid = "#########";
const char* password = "#########";
byte connect_wifi() {
byte timeout = 0;
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);