Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#d3d7cf",
"foreground": "#000000",
"style": "diamond",
<!DOCTYPE html>
<html>
<head>
<title>Encoding Test</title>
</head>
<body>
<p>
<button onclick="alert(1 & 2)">Test 1 not encoded</button>
@SuperRembo
SuperRembo / Program.cs
Last active March 14, 2017 09:31
RSA algorithm in C# using Mpit.NET
// Based on https://gist.github.com/akosma/865b887f993de462369a04f4e81596b8
using System;
using System.Diagnostics;
using Mpir.NET;
namespace RSA
{
class Program
@SuperRembo
SuperRembo / gist:7040951
Created October 18, 2013 12:42
Simple ZLIB compress class that wraps Ionic.Zlib
using System.IO;
using System.Text;
using Ionic.Zlib;
namespace Example
{
public interface ICompressor
{
byte[] Compress(string text);
string Decompress(byte[] bytes);