This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Collections.Generic; | |
namespace HashCollisionChecker | |
{ | |
class MainClass | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
REQUIRED_MAJOR=2 | |
REQUIRED_MINOR=8 | |
MONO_VERSION="$(mono --version | grep 'Mono JIT compiler version ' | cut -f5 -d\ )" | |
MONO_VERSION_MAJOR="$(echo $MONO_VERSION | cut -f1 -d.)" | |
MONO_VERSION_MINOR="$(echo $MONO_VERSION | cut -f2 -d.)" | |
if [ -z "$MONO_VERSION" ] \ | |
|| [ $MONO_VERSION_MAJOR -lt $REQUIRED_MAJOR ] \ | |
|| [ $MONO_VERSION_MAJOR -eq $REQUIRED_MAJOR -a $MONO_VERSION_MINOR -lt $REQUIRED_MINOR ] |