View Cargo.toml
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
[package] | |
name = 'foo' | |
version = '0.0.0' | |
edition = '2021' | |
[dependencies] | |
semver = "1" | |
[dependencies.reg-index] | |
git = "https://github.com/Stargateur/cargo-index.git" |
View ntp.c
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 <math.h> /* avoids complaints about sqrt() */ | |
#include <stdlib.h> /* for malloc() and friends */ | |
#include <string.h> /* for memset() */ | |
#include <sys/time.h> /* for gettimeofday() and friends */ | |
/* | |
* Data types | |
* | |
* This program assumes the int data type is 32 bits and the long data | |
* type is 64 bits. The native data type used in most calculations is |
View rwby.bash
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 | |
episode="episode7" | |
mkdir "${episode}" | |
if [ $? -eq 1 ] | |
then | |
echo episode already exist | |
exit 1 | |
fi | |
cd ${episode} |
View How to compile tou cpp_spider on windows
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
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 8e9d289..4b88e9d 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -4,17 +4,17 @@ add_definitions( -DBOOST_ALL_NO_LIB ) | |
find_package(Threads) | |
find_package(GTest) | |
# Download and unpack googletest at configure time | |
- | |
+#set(Boost_DEBUG on) |