This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script to generate a application bundle with icon for a shell script | |
if [ $# -ne 2 ]; then | |
echo usage: $(basename $0) script icon | |
echo | |
exit 0 | |
fi | |
SCRIPTNAME=${1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* | |
* A minimal Forth compiler in C | |
* By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com | |
* Release 2014-04-04 | |
* | |
* Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial | |
* | |
* PUBLIC DOMAIN | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Debian 11 | |
# | |
# USB Device ACR122 Notes: | |
# | |
# /etc/udev/rules.d/99-acr.rules: | |
# SUBSYSTEM=="usb",ATTRS{idVendor}=="072f",ATTRS{idProduct}=="2200",MODE="0666" | |
# | |
# /etc/modprobe.d/blacklist.conf: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# set mouse speed in Xorg | |
# | |
# used references: | |
# https://www.x.org/wiki/Development/Documentation/PointerAcceleration/ | |
# https://askubuntu.com/questions/172972/configure-mouse-speed-not-pointer-acceleration | |
DEVICE="Logitech B330/M330/M331" | |
SPEED=0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo usage: $(basename $0) icon-name | |
exit 0 | |
fi | |
THEME=${1} | |
SIZE=36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# scale-gnome: Utiltity for HDPI screens. Gnome settings only support integer scale values. This uses xrandr to scale to fractional values. | |
# | |
usage() { | |
cat << EOF | |
Usage: scale-gnome [-o|--output <output>] [-d|--dry-run] <scale> | |
-o, --output: The xrandr output of the display to update. If not provided the output for the first connected screen found is used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# For USB Devices to work in unprivileged containers, you need to set up a UDEV rule | |
# to set the permission correctly. | |
# | |
# SUBSYSTEM=="usb",ATTRS{idVendor}=="072f",ATTRS{idProduct}=="2200",MODE="0666" | |
# | |
# Special note for ACR122 NFC device: Blacklist the following modules in /etc/modprobe.d/blacklist.conf: | |
# blacklist nfc | |
# blacklist pn533 |