This file contains hidden or 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 | |
# Imports DoD root certificates into Linux CA store | |
# Version 0.4.1 updated 20241216 by AfroThundr | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# For issues or updated versions of this script, browse to the following URL: | |
# https://gist.github.com/AfroThundr3007730/ba99753dda66fc4abaf30fb5c0e5d012 | |
# Dependencies: curl gawk openssl unzip wget |
This file contains hidden or 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
#include "stdafx.h" | |
#define USE_POPEN 1 | |
#if PLATFORM_WINDOWS | |
#define popen _popen | |
#define pclose _pclose | |
#endif | |
class Pipe |
This file contains hidden or 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
package scratch | |
import ( | |
"reflect" | |
"testing" | |
) | |
const numProduce = 1000 | |
const numChannels = 100 | |
const expectedResult int64 = numChannels * numProduce * (numProduce - 1) / 2 |