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
cmake_minimum_required (VERSION 3.11) | |
project(cmake_example) | |
include(FetchContent) | |
FetchContent_Declare( | |
kodo_rlnc | |
GIT_REPOSITORY git@github.com:steinwurf/kodo-rlnc.git | |
GIT_TAG 17.0.0 | |
) |
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
#!/usr/bin/env python | |
""" | |
os.walk is an awesome generator. | |
However, I needed the same functionality, | |
only I wanted to walk 'up' the | |
directory tree. | |
This allows seaching for files | |
in directories directly above | |
a given directory. |
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
namespace OOP | |
{ | |
class Food { } | |
class Pizza : Food { } | |
class PepperoniPizza : Pizza { } | |
class Salad : Food { } | |
class Document { } | |
class ComputerProgram : Document { } | |
class ComputerGame : ComputerProgram { } |
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/libs/filesystem/src/operations.cpp b/libs/filesystem/src/operations.cpp | |
index 16a336f..a1504b5 100644 | |
--- a/libs/filesystem/src/operations.cpp | |
+++ b/libs/filesystem/src/operations.cpp | |
@@ -73,13 +73,15 @@ using std::wstring; | |
const fs::path dot_dot_path(".."); | |
# include <sys/types.h> | |
# include <sys/stat.h> | |
-# if !defined(__APPLE__) && !defined(__OpenBSD__) | |
+# if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__ANDROID__) |