Skip to content

Instantly share code, notes, and snippets.

View avalonwilliams's full-sized avatar
💭
Doing well.

Avalon WIlliams avalonwilliams

💭
Doing well.
View GitHub Profile
@avalonwilliams
avalonwilliams / example.desktop
Created August 26, 2018 14:03
Example for KDE Bug
[Desktop Entry]
Name=Broken Image Example
Categories=System;
Icon=/usr/share/breeze/apps/64/utilities-terminal.svg
Type=Application
Exec=konsole
@avalonwilliams
avalonwilliams / getSample.py
Last active December 4, 2018 04:00
For a school project; Gets a sample from population
#!/usr/bin/env python3
# Copyright 2018 Aidan Williams
#
# Permission is hereby granted, free of charge,
# to any person obtaining a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation the rights to use, copy,
# modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@avalonwilliams
avalonwilliams / surfingkeysconf.js
Last active December 20, 2018 22:41
My Surfingkeys Config File
// Copyright 2018 Aidan Williams
//
// Permission is hereby granted, free of charge,
// to any person obtaining a copy of this software
// and associated documentation files (the "Software"),
// to deal in the Software without restriction,
// including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so,
@avalonwilliams
avalonwilliams / kavanaugh.py
Created December 25, 2018 03:04
Brett Kavanaugh likes beer
#!/usr/bin/env python3
while True:
print("I like beer.")
@avalonwilliams
avalonwilliams / dmenu
Created May 2, 2022 02:43
bemenu as a drop-in replacement for dmenu script
#!/bin/bash
# allows bemenu to be used as a drop-in replacement for dmenu
# requires bash and fc-pattern for font arguments
declare -a arg=()
while [[ $# -gt 0 ]]; do
case "$1" in
-nf)
shift
#!/bin/sh
# lutris-dmenu.sh: lutris dmenu script
#
# Copyright (c) 2022 Avalon Williams
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,