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
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8mb4 */; | |
-- | |
-- Database: `mydb` | |
-- | |
-- -------------------------------------------------------- |
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
# Define the root folder name | |
$rootFolder = "DXEProjects" | |
# Define the subfolder names | |
$subfolders = @("Addons", "Assets") | |
$assetSubfolders = @("Cameras", "Math", "Plugin", "VCs") | |
# Create the root folder | |
New-Item -ItemType Directory -Path $rootFolder |
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
unsigned char reverse_bit8(unsigned char x) | |
{ | |
x = ((x & 0x55) << 1) | ((x & 0xAA) >> 1); | |
x = ((x & 0x33) << 2) | ((x & 0xCC) >> 2); | |
return (x << 4) | (x >> 4); | |
} | |
unsigned short reverse_bit16(unsigned short x) | |
{ |