git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
| #include <opencv2/dnn.hpp> | |
| #include <opencv2/opencv.hpp> | |
| using namespace cv; | |
| using namespace cv::dnn; | |
| using namespace std; | |
| int main(int argc, char **argv) | |
| { | |
| String modelTxt = "c:/data/mdl/faceboxes/deploy.prototxt"; |
| #include <string> | |
| #include <fstream> | |
| #include <dlpack/dlpack.h> | |
| #include <tvm/runtime/module.h> | |
| #include <tvm/runtime/registry.h> | |
| #include <tvm/runtime/packed_func.h> | |
| # Created by https://www.gitignore.io/api/c++,cmake | |
| ### C++ ### | |
| # Prerequisites | |
| *.d | |
| # Compiled Object files | |
| *.slo | |
| *.lo |
git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
| #!/usr/bin/env bash | |
| # | |
| # gh-dl-release! It works! | |
| # | |
| # This script downloads an asset from latest or specific Github release of a | |
| # private repo. Feel free to extract more of the variables into command line | |
| # parameters. | |
| # | |
| # PREREQUISITES | |
| # |
| #include <GL/glew.h> | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <cmath> | |
| #include <cstdio> | |
| #include <limits> | |
| #include <chrono> | |
| #include <thread> | |
| #include <mutex> |
| /* | |
| * An implementation of C11 stdatomic.h directly borrowed from FreeBSD | |
| * (original copyright follows), with minor modifications for | |
| * portability to other systems. Works for recent Clang (that | |
| * implement the feature c_atomic) and GCC 4.7+; includes | |
| * compatibility for GCC below 4.7 but I wouldn't recommend it. | |
| * | |
| * Caveats and limitations: | |
| * - Only the ``_Atomic parentheses'' notation is implemented, while | |
| * the ``_Atomic space'' one is not. |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |