Skip to content

Instantly share code, notes, and snippets.

marcbarry

Block or report user

Report or block marcbarry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marcbarry
marcbarry / Password.cs
Created Dec 21, 2016
C# Password Generator
View Password.cs
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
namespace Pingfu.Security
{
/// <summary>
/// PasswordGenerator
/// </summary>
public class Password
@marcbarry
marcbarry / Example.cpp
Created Nov 8, 2016 — forked from reklis/Example.cpp
reliability-and-flow-control
View Example.cpp
/*
Reliability and Flow Control Example
From "Networking for Game Programmers" - http://www.gaffer.org/networking-for-game-programmers
Author: Glenn Fiedler <gaffer@gaffer.org>
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
View IPAddressExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ConsoleApplication1
{
@marcbarry
marcbarry / machine.config.markdown
Last active Mar 12, 2020
Security hardening pointers for web.config and machine.config
View machine.config.markdown
Prevent applications running if debug=true
<system.web>
  <deployment retail="true"/>
</system.web>
@marcbarry
marcbarry / machine.config
Last active Jun 17, 2019
complete security hardening web.config template
View machine.config
<system.web>
<deployment retail="true" />
</system.web>
@marcbarry
marcbarry / simple-aes.cs
Last active Aug 29, 2015
Simple (non-AEAD) c# helper console app
View simple-aes.cs
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace SimpleAES
{
class Program
{
You can’t perform that action at this time.