Skip to content

Instantly share code, notes, and snippets.

View floriandejonckheere's full-sized avatar

Florian Dejonckheere floriandejonckheere

View GitHub Profile

※和文はページ下部にあります

PicoRuby Workshop 2025 - Buzzer & PWM

Previous sections:

  1. Setup + LED: https://tinyurl.com/picoruby-2025
  2. Microphone: https://tinyurl.com/picoruby-mic

In this section, we'll learn about PWM (Pulse Width Modulation) - a powerful technique that allows us to simulate analog signals using digital outputs. We'll use PWM to create sounds with a buzzer and control LED brightness smoothly.

※和文はページ下部にあります

PicoRuby Workshop 2025 - Microphone & ADC

Previous sections:

  1. Setup + LED: https://tinyurl.com/picoruby-2025

In this section, we'll learn about analog-to-digital conversion (ADC) and explore how to read analog sensors. We'll use a microphone to detect sound levels and also explore the RP2350's built-in temperature sensor.

@t18n
t18n / nickel-config
Last active January 30, 2026 13:39
My NickelMenu configuration for Kobo Libra 2 (or any other)
##########################################
######## NickelMenu configuration ########
##########################################
#
## Main Menu
#
menu_item : main : Pocket : nickel_open: library : pocket
menu_item : main : Browser (full window) : nickel_browser :
menu_item : main : Browser (popup) : nickel_browser : modal

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@DaveSanders
DaveSanders / sr_rspec_notes.md
Last active August 10, 2023 19:47
notes for stimulus_reflex + Rspec

Scenario

I want to use Rspec to build feature specs that test SR pages, just like normal web pages.

Therefore, I expect Capybara + Rspec to be able to do things like:

visit login_path
fill_in 'Email', with: user.email
fill_in 'Password', with: user.password + 'BAD'
expect(page).to have_content('That email or password is not correct')
@jamesmacfie
jamesmacfie / README.md
Created October 22, 2019 02:53
iTerm 2 - script to change theme depending on Mac OS dark mode

How to use

In iTerm2, in the menu bar go to Scripts > Manage > New Python Script

Select Basic. Select Long-Running Daemon

Give the script a decent name (I chose auto_dark_mode.py)

Save and open the script in your editor of choice.

@narate
narate / create-hotspot.md
Last active March 7, 2026 06:20
Create Wi-Fi Hotspot on Linux using nmcli

Create a Wi-Fi hotspot on Linux using nmcli

Original post : https://unix.stackexchange.com/a/310699

nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"