Skip to content

Instantly share code, notes, and snippets.

@fabianfreyer
fabianfreyer / dual-uart.py
Created December 25, 2023 22:33
Running multiple Glasgow Applets at once
import asyncio
import logging
import argparse
from glasgow.applet import GlasgowAppletError
from glasgow.applet.interface.uart import UARTApplet
from glasgow.target.hardware import GlasgowHardwareTarget
from glasgow.device.hardware import GlasgowHardwareDevice
from glasgow.access.direct import DirectMultiplexer, DirectDemultiplexer, DirectArguments
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on 15/01/15
@author: Sammy Pfeiffer
# Software License Agreement (BSD License)
#
# Copyright (c) 2016, PAL Robotics, S.L.
# All rights reserved.
anonymous
anonymous / .Xmodmap
Created October 3, 2015 15:16
my i3 config
keycode 66 = Mode_switch NoSymbol Mode_switch
clear mod5
add mod5 = ISO_Level3_Shift
keycode 30 = u U udiaeresis Udiaeresis
keycode 32 = o O odiaeresis Odiaeresis
keycode 38 = a A adiaeresis Adiaeresis
keycode 39 = s S ssharp S