$ sudo apt install xrdp -y
This file contains hidden or 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 | |
| #set -e | |
| #trap 'echo " * Script failed with exit code $?"' EXIT | |
| echo "" | |
| echo "===========================================================================" | |
| echo "= Welcome to the Scailable Edge AI Manager installer =" | |
| echo "===========================================================================" | |
| echo "" |
This file contains hidden or 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 <stdio.h> | |
| #include <gst/gst.h> | |
| #include <gst/app/gstappsink.h> | |
| #include <glib.h> | |
| #include <libavcodec/avcodec.h> | |
| #include "stb/stb_image.h" | |
| void minimal_rtsp() { |
This file contains hidden or 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 | |
| default_branch=`basename $(git symbolic-ref --short refs/remotes/origin/HEAD)` | |
| git checkout --orphan tmp | |
| git add -A # Add all files and commit them | |
| git commit | |
| git branch -D $default_branch # Deletes the default branch | |
| git branch -m $default_branch # Rename the current branch to default | |
| git push -f origin $default_branch # Force push default branch to github |
This file contains hidden or 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 | |
| echo "" | |
| echo "========================================================================" | |
| echo "= Welcome to the Scailable Edge AI Manager Test Install =" | |
| echo "========================================================================" | |
| echo "" | |
| # run as: | |
| # |
This file contains hidden or 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 <iomanip> | |
| #include <iostream> | |
| #include <cstdlib> | |
| #include <vector> | |
| #include <cuda.h> | |
| #include <cudnn.h> | |
| #define CUDA_CALL(f) { \ | |
| cudaError_t err = (f); \ |
This file contains hidden or 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
| /** | |
| * Simple program to POST a HTTP request | |
| * | |
| * see: | |
| * https://docs.postman-echo.com/?version=latest | |
| * https://aticleworld.com/http-get-and-post-methods-example-in-c/ | |
| * https://stackoverflow.com/questions/11208299/how-to-make-an-http-get-request-in-c-without-libcurl | |
| * https://stackoverflow.com/questions/22077802/simple-c-example-of-doing-an-http-post-and-consuming-the-response | |
| */ |
This file contains hidden or 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 | |
| # Static libcurl crosscompiler ######################################################################################### | |
| # This is script to cross-compiles a **fully static** curl library. | |
| # It builds WolfSSL and C-Ares, then LibCurl - therein supporting most SSL protocols including TSL 1.3. | |
| # Helper variables, leave as is | |
| export BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
This file contains hidden or 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
| #import <Foundation/Foundation.h> | |
| static const uint8_t huffman_table[] = | |
| { | |
| 0xFF, 0xC4, 0x01, 0xA2, 0x00, 0x00, 0x01, 0x05, 0x01, 0x01, 0x01, 0x01, | |
| 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, | |
| 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x01, 0x00, 0x03, | |
| 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, | |
| 0x00, 0x00, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, | |
| 0x0A, 0x0B, 0x10, 0x00, 0x02, 0x01, 0x03, 0x03, 0x02, 0x04, 0x03, 0x05, |