Skip to content

Instantly share code, notes, and snippets.

Avatar

Marlon Etheredge ofx

  • The Netherlands
View GitHub Profile
@taka-wang
taka-wang / build_opencv4.0_jetson_nano.sh
Created Oct 16, 2019
Build openCV 4.0 debian package on Jetson Nano
View build_opencv4.0_jetson_nano.sh
#!/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.
#
@bwiklak
bwiklak / rle.cpp
Created Apr 6, 2012
RLE encoding in C++
View rle.cpp
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() )
{