Publish test results with this
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
// Reference | |
// if you want LTO then the last supported emsdk = 3.1.18 https://github.com/godotengine/godot/issues/80010 | |
def dockerFile = ''' | |
FROM ubuntu:18.04 | |
RUN apt-get update && \ | |
apt-get install --assume-yes --quiet \ | |
build-essential \ | |
pkg-config \ |
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
// Compile: | |
// gcc -o test_ioctl_tm_struct test_ioctl_tm_struct.c | |
// Run on Linux: | |
// ./test_ioctl_tm_struct | |
// Expected output: | |
// RTC time set successfully. | |
// | |
// Actual result: | |
// Failed to set RTC time: Invalid argument | |
// |
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
Extracting 160 files in ./proprietary-files.txt from adb: | |
- /system/etc/hdcpsrm/hdcp1x.srm | |
- /system/etc/hdcpsrm/hdcp2x.srm | |
- /system/etc/hdcpsrm/hdcp2xtest.srm | |
- /system/vendor/bin/downloader | |
- /system/vendor/bin/glgps_nvidiaTegra2android | |
!! file not found in source | |
- /system/vendor/bin/gps_select.sh | |
!! file not found in source | |
- /system/vendor/bin/icera-switcherd |
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
from threading import Thread | |
from time import sleep | |
# globals | |
result = None | |
def result_will_be_soon(): | |
sleep(1) | |
global result |
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
""" | |
https://www.tensorflow.org/tutorials/generative/cyclegan | |
pip install IPython tensorflow-rocm tensorflow_datasets matplotlib | |
pip install git+https://github.com/tensorflow/examples.git | |
""" | |
import tensorflow as tf | |
import tensorflow_datasets as tfds |
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.14) | |
project(rapidyaml_getting_started VERSION 0.0.1 LANGUAGES CXX) | |
set(CMAKE_CXX_STANDARD 20) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
add_subdirectory(rapidyaml) | |
add_executable(test main.cpp) |
Copied code from Sending string over UDP in C++. C-style code in C++ question.
Let's make this solution to be a real C++ answer!
- order of includes
- char -> std string
- int error code -> exceptions
NewerOlder