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
constexpr uint32_t hash(uint32_t in) | |
{ | |
constexpr uint32_t r[]{ | |
0xdf15236c, 0x16d16793, 0x3a697614, 0xe0fe08e4, | |
0xa3a53275, 0xccc10ff9, 0xb92fae55, 0xecf491de, | |
0x36e86773, 0x0ed24a6a, 0xd7153d80, 0x84adf386, | |
0x17110e76, 0x6d411a6a, 0xcbd41fed, 0x4b1d6b30 | |
}; | |
uint32_t out{ in ^ r[in & 0xF] }; | |
out ^= std::rotl(in, 020) ^ r[(in >> 010) & 0xF]; |
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 bash | |
# | |
# Author: Markus (MawKKe) ekkwam@gmail.com | |
# Date: 2018-03-19 | |
# | |
# | |
# What? | |
# | |
# Linux dm-crypt + dm-integrity + dm-raid (RAID1) | |
# |
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/bash | |
# btrfs-undelete | |
# Copyright (C) 2013 Jörg Walter <info@syntax-k.de> | |
# This program is free software; you can redistribute it and/or modify it under | |
# the term of the GNU General Public License as published by the Free Software | |
# Foundation; either version 2 of the License, or any later version. | |
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
echo |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>URL</key> | |
<string>http://init.ess.apple.com/WebObjects/VCInit.woa/wa/getBag?ix=4</string> | |
<key>CachedBag</key> | |
<dict> | |
<key>gk-p2p-post-connectivity-check</key> | |
<true /> |
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
/*** | |
This file is part of PulseAudio. | |
Copyright 2004-2006 Lennart Poettering | |
Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB | |
PulseAudio is free software; you can redistribute it and/or modify | |
it under the terms of the GNU Lesser General Public License as published | |
by the Free Software Foundation; either version 2.1 of the License, | |
or (at your option) any later version. |