Skip to content

Instantly share code, notes, and snippets.

@CarloCattano
CarloCattano / pi_MIDI_Brain.md
Last active May 9, 2024 01:48
Raspberry pi UART MIDI Serial

rp3.+ raspberry OS lite (or better PatchboxOS as a starting point)

https://blokas.io/patchbox-os/

testing notes
Disable bluetooth or send bt to another serial port
    sudo nano /boot/config.txt

    enable_uart=1    
   
 dtoverlay=midi-uart0
@imba-tjd
imba-tjd / .Cloud.md
Last active May 9, 2024 01:48
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@m0rph03nix
m0rph03nix / Dockerfile
Last active May 9, 2024 01:47
Run Whisper.cpp in docker with mic audio streaming
FROM debian:11.7-slim AS build
RUN apt-get update \
&& apt-get install -y libsdl2-dev alsa-utils g++ make wget
RUN mkdir /whisper && \
wget -q https://github.com/ggerganov/whisper.cpp/tarball/master -O - | \
tar -xz -C /whisper --strip-components 1
WORKDIR /whisper
@sloria
sloria / bobp-python.md
Last active May 9, 2024 01:42
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@huksley
huksley / kiosk-install.sh
Last active May 9, 2024 01:41
Raspberry PI OS Lite configure kiosk - shows multiple web pages as chrome tabs and rotates between them
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install --no-install-recommends -y xserver-xorg xinit x11-xserver-utils
sudo apt-get install -y chromium-browser matchbox-window-manager xautomation unclutter xdotool
sudo tee /boot/kiosk.sh <<EOF
#!/bin/sh
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don't blank the video device
@sglkc
sglkc / README.md
Last active May 9, 2024 01:40
Spotify lyrics for FREE accounts FOR FREE!

Spotify free lyrics

Earlier this month (May 2024), Spotify has disabled full lyrics for free accounts, and that's sad, because I want to enjoy free things :(

This script is for Spotify Web Player and is not thoroughly tested! Please report any bugs in the comment section ✨

Warning

NOT EVERY SONG IS LISTED! Don't expect "unpopular" or local songs to work.

@fzls
fzls / README.md
Last active May 9, 2024 01:39
解决 青龙面板中存放的cookie数目过多(如超过45)时,会报 Argument list too long 而无法正常执行部分脚本的问题

本方案首先是自用,然后才是顺带分享给大家,所以我爱咋写咋写,请勿过多指责。没有强迫任何人使用。

如介意示例方案中的日志中的署名,请不要原封不动的使用本脚本。

更新日志

2021.11.24

  1. 仅支持互助的活动脚本中打印相关提示

目录

@jwhitlock
jwhitlock / 2022-06-mypy-demo.md
Last active May 9, 2024 01:37
Converting fx-private-relay to use mypy

Converting fx-private-relay to use mypy

Notes for an interactive class or video

Overview

  • Intro to private relay if video
  • Starting with tag v3.5.14
    • Python 3.9 - I'm using 3.9.11
  • Django 3.2.13 - LTS version, extended support until April 2024.
@meeas
meeas / DebianSid_on_LUKS-BTRFS_with_systemd-boot.md
Last active May 9, 2024 01:31
For installing Debian Sid with LUKS2 encrypted BTRFS filesystem with Systemd-boot and rEFInd bootloaders plus an option for dualboot to Windows

For directly installing Debian Sid not supported by the Debian installer, namely:

  • Single LUKS2 encrypted partition which contains the full installation
  • Single BTRFS filesystem (integrated home partition)
  • Encrypted swapfile in BTRFS subvolume (supports laptop suspend but not hibernate)
  • Uses systemd-boot bootloader (instead of Grub2, also optional rEFInd instructions)
  • Minimal Gnome install (plus instructions for any other DE you wish)
  • Proper user groups for common security tools like sudo-less Wireshark, etc...
  • Optional removal of crypto keys from RAM during laptop suspend
  • Optional configurations for laptops (including fingerprint readers)
@wmydz1
wmydz1 / HR发给应聘者常用邮件模板.md
Last active May 9, 2024 01:31
HR发给应聘者常用邮件模板

HR发给应聘者常用邮件模板
人才关系管理,具体到招聘工作中,就是应聘者关系管理。据调查,90%以上的求职者,对应聘的公司了解程度并不深。因此,与HR的沟通过程将被做为推断企业整体管理 水平的重要依据。在招聘工作过程中,与应聘者保持规范、高效、人性化的沟通,可以大大提高企业的雇主品牌影响力,在人才的争夺中获得无形的优势。

一、收到简历后的回复 XXXX先生\女士, 您好!感谢您投递xx公司的XX职位。您的简历我们已经收到,我们会在7个工作日内处理您的简历。 附:公司简介 xx公司人力资源部

说明:在应聘者投递简历后,很多招聘工作较为成熟的企业会马上给应聘者发送一封邮件,以表明公司收到了应聘者的求职申请。这一封邮件是HR与应聘者的第一次接触,很多公司会采用自动化的软件来实现这一功能,它所体现的是企业对每一位应聘者的重视以及招聘工作的专业化程度。