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
#!/usr/bin/env nix-shell | |
#! nix-shell -i bash | |
#! nix-shell -p cmake gettext ncurses5 pcre2 | |
# This script uses [nix-shell package manager](https://nixos.org/download) | |
# to install fish clearly without any useless packages aftewards | |
set -e | |
FISH_VERSION="3.7.0" |
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
<?php | |
# Algorithm found here: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html | |
class HashBuilder | |
{ | |
private $buf; | |
function __construct() | |
{ | |
$this->buf = imagecreatetruecolor(8, 8); | |
} |