Skip to content

Instantly share code, notes, and snippets.

@wtchrs
wtchrs / settings.json
Last active June 7, 2024 13:39
Windows Terminal Settings
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
@wtchrs
wtchrs / openpose_test.py
Last active May 4, 2022 05:33
OpenPose Test Code with OpenCV dnn
# Before running this file, run following commands:
# git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
# cd openpose/models
# ./getModels.bat # or ./getModels.sh
# cd ../..
# mkdir model
# cp ./openpose/models/pose/mpi/pose_iter_160000.caffemodel ./model/
# cp ./openpose/models/pose/mpi/pose_deploy_linevec_faster_4_stages.prototxt ./model/
import sys
@wtchrs
wtchrs / .ideavimrc
Last active March 27, 2024 08:30
JetBrains ideavim settings
""" Map leader to space ---------------------
let mapleader=" "
""" Plugins --------------------------------
set surround
set multiple-cursors
set commentary
set argtextobj
set easymotion
set textobj-entire
@wtchrs
wtchrs / CMakeLists.txt
Last active June 24, 2021 10:52
cmake setting files for Arduino Uno with avr-gcc
cmake_minimum_required(VERSION 3.11)
include(avrgcc-arduino-compiler.cmake)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(PRODUCT_NAME product-name) # Change PRODUCT_NAME
project(${PRODUCT_NAME} VERSION 0.1)
include_directories(include)
add_executable(${PRODUCT_NAME} src/main.c)