Skip to content

Instantly share code, notes, and snippets.

View bdeshi's full-sized avatar
🟠

bdeshi

🟠
View GitHub Profile
OK_Layout_Begin
১২৩৪৫৬৭৮৯০
দূীরটএুিওপেো
াসডতগহজকল
য়শচআবনমৃ্
!@#৳%^ঞৎ()
ধঊঈড়ঠঐউইঔফৈৌ
অষঢথঘঃঝখং
যঢ়ছঋভণঙঁ।
£¥€$₨^&*()
@bdeshi
bdeshi / mute-control.sh
Created January 29, 2023 13:56
a dumb script to toggle audio input/output mute
#!/bin/bash
# a dumb script to toggle audio input/output mute
class="$1"
state="$2"
target="$3"
device="$4"
default_device=""
default_state=""
@bdeshi
bdeshi / lemmy.yml
Created April 24, 2022 12:19
lemmy caprover oneclick app
captainVersion: 4
services:
$$cap_appname-db:
image: postgres:12-alpine
environment:
POSTGRES_USER: $$cap_db_username
POSTGRES_PASSWORD: $$cap_db_password
POSTGRES_DB: $$cap_db_database
@bdeshi
bdeshi / win-layout-switcher.ahk
Created February 17, 2020 13:04
switch windows keyboard layouts with super/windows key + space
/*
i use **super+space** to switch keyboard layouts in my linux desktop.
sadly windows does not have this as an option. this script enables that shortcut.
disable windows' own hotkey in language settings, then run this script at startup, and win!
*/
#NoEnv
#Persistent
;#NoTrayIcon
#SingleInstance Force
@bdeshi
bdeshi / awesomerc-test.sh
Created August 23, 2019 17:33
a simple script to livetest awesomewm config in nested Xephyr
#!/bin/sh
# a simple script to livetest awesomerc in nested Xephyr
# all arguments are passed to awesome verbatim
# requirements: xprop, Xephyr, awesome
XEPHYR_DISPLAY=":173"
XEHPYR_SIZEX=1280
XEPHYR_SIZEY=800
XEPHYR_TITLE="awesomerc-tester"
@bdeshi
bdeshi / twi.py
Last active July 15, 2018 05:41
twitter api test helper[WIP]
"""basic twitter api"""
from time import time
from math import floor, ceil
from os import urandom
from base64 import standard_b64encode as base64encode
import hashlib
import hmac
from urllib.parse import quote
import httplib2
@bdeshi
bdeshi / layout.test
Last active April 16, 2024 01:09
multiling o keyboard config.
{
"title":"DIY-untitled",
"onScreen":{
"main":[
"1234567890",
"qwertyuiop",
"asdfghjkl",
"[SHIFT][XK:z[UNDO]][XK:x[CUT]][XK:c[COPY]][XK:v[PASTE]]bnm[DEL]",
"[TOOL][ALTGR:,][SPACE][][][SYM:.][ENTER]"
],