Skip to content

Instantly share code, notes, and snippets.

@ubidefeo
ubidefeo / NanoRP2040_OSC.ino
Created May 18, 2021 12:56
OSC Message sender for Arduino Nano RP2040 Connect
/* This Sketch is tested on
* - Nano 33 RP2040 Connect
* - Nano 33 IoT
* - MKR WiFi 1010
To compile and use it requires
Libraries:
- CNMAT OSC Library (https://github.com/CNMAT/OSC) - Arduino Library Manager
- Arduino WiFiNINA (https://github.com/arduino-libraries/WiFiNINA) - Arduino Library Manager
@wronk
wronk / python_environment_setup.md
Last active May 14, 2024 21:10
Setting up your python development environment (with pyenv, virtualenv, and virtualenvwrapper)

Overview of Python Virtual Environments

This guide is targetted at intermediate or expert users who want low-level control over their Python environments.

When you're working on multiple coding projects, you might want a couple different version of Python and/or modules installed. This helps keep each workflow in its own sandbox instead of trying to juggle multiple projects (each with different dependencies) on your system's version of Python. The guide here covers one way to handle multiple Python versions and Python environments on your own (i.e., without a package manager like conda). See the Using the workflow section to view the end result.


h/t @sharkinsspatial for linking me to the perfect cartoon

@stonebyte
stonebyte / minio_syno.adoc
Last active May 14, 2024 21:05
Start MinIO as service on Synology NAS

Run MinIO as upstart service on Synology NAS

IMPORTANT UPDATE

@JustSteveKing
JustSteveKing / pint.json
Last active May 14, 2024 21:05
Laravel Pint configuration
{
"preset": "per",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
@Kirill255
Kirill255 / vk_methods.md
Last active May 14, 2024 21:02
список скрытых/открытых методов API

Проверять метод на скрытость, можете тут: vk.com/dev/МЕТОД

" Plugins
call plug#begin(stdpath('data') . '/plugged')
Plug 'morhetz/gruvbox'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
"Plug 'yuki-yano/fzf-preview.vim', { 'branch': 'release/rpc' }
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
" Plug 'roxma/nvim-completion-manager'
@mtkleet
mtkleet / init.vim
Created November 4, 2022 15:39
Legacy (neo)vim config
if &compatible
set nocompatible
endif
call plug#begin('~/.vim/plugged')
set rtp+=~/.zsh/fzf
Plug 'junegunn/fzf.vim'
Plug 'junegunn/vim-easy-align'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-commentary'
Plug 'sheerun/vim-polyglot'
@shinyquagsire23
shinyquagsire23 / Linux_building.txt
Last active May 14, 2024 20:58
Monado macOS and Linux Quest Link Build Guide
#
# Installing dependencies (Tested on Ubuntu 22.04 LTS)
#
# Monado
sudo apt install cmake ninja-build
sudo apt install build-essential git wget unzip cmake ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev libbsd-dev
# XRSP (Quest Link USB)
sudo apt install capnproto libcapnp-dev libx264-dev nlohmann-json3-dev
@jdavid82
jdavid82 / init.lua
Created September 7, 2022 07:09
NeoVim settings for full stack C# development in Windows 10
require "paq" {
"savq/paq-nvim";
"OmniSharp/omnisharp-vim";
"preservim/nerdtree";
"dense-analysis/ale";
"BurntSushi/ripgrep";
"nvim-lua/plenary.nvim";
{"nvim-telescope/telescope.nvim", branch="0.1.x"};
"prabirshrestha/asyncomplete.vim";
"mhinz/vim-signify";
@jatcwang
jatcwang / gist:ae3b7019f219b8cdc6798329108c9aee
Created February 2, 2017 23:44
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro