Skip to content

Instantly share code, notes, and snippets.

View rowlandwatkins's full-sized avatar

Rowland Watkins rowlandwatkins

View GitHub Profile
@rowlandwatkins
rowlandwatkins / manjaro-zfs-root.bash
Last active May 30, 2022 06:09 — forked from hww/manjaro-17.1.2-zfs-root.bash
installation of manjaro zfs root
#!/bin/bash
# ===================================
# Origianly from https://forum.manjaro.org/t/solved-manjaro-16-06-01-zfs-root-installation-problem/4469
# ===================================
loadkeys us
systemctl enable --now systemd-timesyncd
pacman-mirrors --api --set-branch unstable --url http://ftp.cuhk.edu.hk/pub/Linux/manjaro
# ===================================
@rowlandwatkins
rowlandwatkins / WiX service installation
Created March 14, 2013 13:39
WiX Service Installation
http://plainoldstan.blogspot.hk/2010/11/wix-installing-and-uninstalling-windows.html:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="9c78f041-c29e-4d80-8d23-e4839e74038c" Name="StansApp"
Language="1033" Version="1.0.0.0"
Manufacturer="Standa" UpgradeCode="b1adfc21-927f-470a-ac87-a5019c84a253">
<Package InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
Here's my problem: I have a Base64 encoded prime number (128 bytes):
C# Base64 encoded byte[]:
0hro1m5sazztDrPfGibJG97tATwX2EnTDsMJgT5NN5nybbDUlOguxh6p/ccLtcvK8uXxioNklPWOZ8bWFkgMN6fyMGEB/J8PR2j5yXk8K+F2sLfJebQGXT6DVoaj8LhCDGg0yxeTA4be2rKwfdRzRJpIuqsxYoa0IQUkddE0zTs=
Java Base64 encoded byte[]:
ANIa6NZubGs87Q6z3xomyRve7QE8F9hJ0w7DCYE+TTeZ8m2w1JToLsYeqf3HC7XLyvLl8YqDZJT1jmfG1hZIDDen8jBhAfyfD0do+cl5PCvhdrC3yXm0Bl0+g1aGo/C4QgxoNMsXkwOG3tqysH3Uc0SaSLqrMWKGtCEFJHXRNM07