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 fails and I get value "InstrumentationKey". | |
APPLICATION_INSIGHTS_INSTRUMENTATION_KEY='InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/' | |
# This works and I get the correct full value. | |
APPLICATION_INSIGHTS_CONNECTION_STRING='InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/' |
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
#include <iostream> | |
#include <fstream> | |
#include <filesystem> | |
int main() | |
{ | |
const auto sandbox = std::filesystem::absolute(std::filesystem::path{ "sandbox" }); | |
if (std::filesystem::exists(sandbox)) | |
{ |
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
Trying out compressed suffix array. Implementing ideas really nicely described in www.cs.cmu.edu/~dga/csa.pdf | |
*This file exists just to give the gist a sensible name* | |
This gist contains multiple files. Notice you can clone this gist as any other repository. |
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
// flags: -D EXTRACTION | |
#include <string> | |
#include <iostream> | |
#include <vector> | |
#include <type_traits> | |
#include <cassert> | |
#include <cstring> | |
#include <algorithm> | |
#include <thread> | |
#include <ctime> |
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 | |
case "${1}" in | |
-h|--help) cat <<EOF | |
Simple script to save audio tracks as .mp3 files. | |
This script just automates what VLC can do file by file. | |
Usage: | |
$0 destination-dir start-track [end-track] | |
Example: |
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
if [ "${BASH_SOURCE[0]}" == "${0}" ]; then | |
echo "* This file is supposed to be sourced!" | |
echo "" | |
echo "Usage:" | |
echo " source $0" | |
exit 1 | |
fi | |
function rosalind_help() { |
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 | |
if [ "${BASH_SOURCE[0]}" == "${0}" ]; then | |
echo "* This file is supposed to be sourced!" | |
echo "" | |
echo "Usage:" | |
echo " source $0" | |
exit 1 | |
fi |