Skip to content

Instantly share code, notes, and snippets.

Antoine PLASKOWSKI Stargateur

Block or report user

Report or block Stargateur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Stargateur
Stargateur / ntp.c
Created Dec 6, 2017
ntp implementation with llvm code style from https://www.ietf.org/rfc/rfc5905.txt
View ntp.c
#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
@Stargateur
Stargateur / rwby.bash
Last active Dec 25, 2016
download rwby episode
View rwby.bash
#/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
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)
You can’t perform that action at this time.