Skip to content

Instantly share code, notes, and snippets.

@datomi79
datomi79 / README.md
Created January 31, 2024 10:15 — forked from olesia-kochergina/README.md
TC358743 Jetson Nano driver and device tree

How to get the TC358743 working with the Jetson Nano

Working 1080p60

File locations

tc358743.c -> Linux_for_Tegra/source/public/kernel/kernel-4.9/drivers/media/i2c/tc358743.c

tc358743.h -> Linux_for_Tegra/source/public/kernel/kernel-4.9/include/media/i2c/tc358743.h

tc358743_regs.h -> Linux_for_Tegra/source/public/kernel/kernel-4.9/drivers/media/i2c/tc358743_regs.h

@datomi79
datomi79 / .gitignore
Created August 17, 2021 16:34 — forked from nicolov/.gitignore
Car speed estimation from a windshield camera
*.pyc
*.tar.gz
*.mp4
@datomi79
datomi79 / txdocker
Created August 14, 2020 12:08 — forked from JasonAtNvidia/txdocker
Short Bash script to enable use of the GPU within a docker container running on an NVIDIA Jetson TX2. Place inside /usr/local/bin/, chmod +x txdocker, ensure it is in your system PATH, and use just as you would the docker command.
#!/bin/bash
#Jason T. 2-6-2018
# Check specifically for the run command
if [[ $# -ge 2 && $1 == "run" ]]; then
# Tell docker to share the following folders with the base system
# This allows the docker containers to find CUDA, cuDNN, TensorRT
LIB_MAPS="/usr/lib/aarch64-linux-gnu \
/usr/local/cuda \
/usr/local/cuda/lib64"
/*
* 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.
*
*/
@datomi79
datomi79 / task.md
Created April 18, 2018 10:38 — forked from kuk/task.md
arb task

Тестовая задача

Предлагается написать программу для извлечения из текста ссылок на нормативные акты. Ссылка — это подстрока вида "ч. 3 ст.19 АПК РФ", "ст.ст. 15, 309 ГК РФ", "части 6, 7 статьи 210 АПК РФ". Программа должна находить такие подстроки в тексте и приводить их к нормальному виду, например:

В соответствии с частью 1 статьи 123 и частью 2 статьи 215 Арбитражного процессуального
кодекса Российской Федерации дело рассмотрено без участия представителей сторон.

[17, 116]  # начало и конец подстроки со ссылкой.

[