Skip to content

Instantly share code, notes, and snippets.

@taka-wang
taka-wang / build_opencv4.0_jetson_nano.sh
Created October 16, 2019 02:33
Build openCV 4.0 debian package on Jetson Nano
#!/bin/bash
#
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA Corporation is strictly prohibited.
#
@bkaradzic
bkaradzic / orthodoxc++.md
Last active March 25, 2024 16:18
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@bwiklak
bwiklak / rle.cpp
Created April 6, 2012 21:19
RLE encoding in C++
template< typename C >
string rle( const C& input )
{
stringstream out;
typedef C::const_iterator::value_type el_tyle;
pair<C::const_iterator,C::const_iterator> bounds;
bounds.second=input.begin();
while( (bounds.first=bounds.second)!=input.end() )
{