How to use:
./wordle.sh
Or try the unlimit mode:
#!/bin/bash | |
# This shell script is made by SyneArt <sa@syneart.com> | |
# Android Studio default path on Mac | |
adb=~/Library/Android/sdk/platform-tools/adb | |
function connect() { | |
device_id=$1 | |
device_ip=`${adb} -s ${device_id} shell ip -f inet addr show wlan0 | grep -e "[0-9].*\/[0-9]*" | awk '{ print $2 }' | sed 's/\/[0-9]*//'` | |
echo "Android device id: ${device_id}" |
### Test on https://github.com/yousseb/meld/releases/tag/osx-20 | |
### OSX - 3.21.0 (r4) Sonoma | |
#!/bin/zsh | |
#Fix libpng16.16.dylib not found | |
install_name_tool -change /usr/local/opt/libpng/lib/libpng16.16.dylib @executable_path/../Frameworks/libpng16.16.dylib /Applications/Meld.app/Contents/Frameworks/libfreetype.6.20.0.dylib | |
#Fix libbrotlidec.1.dylib not found | |
install_name_tool -change /usr/local/opt/brotli/lib/libbrotlidec.1.dylib @executable_path/../Frameworks/libbrotlidec.1.dylib /Applications/Meld.app/Contents/Frameworks/libfreetype.6.20.0.dylib |
#!/bin/bash | |
# btrfs-undelete | |
# Copyright (C) 2013 Jörg Walter <info@syntax-k.de> | |
# This program is free software; you can redistribute it and/or modify it under | |
# the term of the GNU General Public License as published by the Free Software | |
# Foundation; either version 2 of the License, or any later version. | |
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
echo |
#!/usr/bin/env bash | |
# Provides a way for a root process to perform a notify send for each | |
# of the local desktop users on this machine. | |
# | |
# Intended for use by cron and timer jobs. Arguments are passed straight | |
# to notify send. Falls back to using wall. Care must be taken to | |
# avoid using this script in any potential fast loops. | |
# | |
# X11 users should already have a dbus address socket at /run/user/<userid>/bus | |
# and this script should work without requiring any initialisation. Should |
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
#!/usr/bin/env python3 | |
"""Download Dash User Docsets and install them in Zeal""" | |
import configparser | |
import json | |
import tarfile | |
import urllib.request | |
from pathlib import Path | |
from sys import platform | |
from typing import Any, Dict, List |
#!/usr/bin/env python3 | |
import json | |
import os | |
import os.path | |
import shutil | |
import sys | |
import tarfile | |
import tempfile | |
import typing | |
import xml.etree.ElementTree as ET |
local config = {} | |
local wezterm = require "wezterm" | |
local math = require "math" | |
local os = require "os" | |
math.randomseed(os.time()) | |
config.unix_domains = { | |
{ | |
name = "unix", |
#!/usr/bin/python3 | |
""" | |
Usage: | |
plasmasetconfig # List all widget namespaces | |
plasmasetconfig org.kde.plasma.digitalclock # List all config groups+keys | |
plasmasetconfig org.kde.plasma.digitalclock Appearance showSeconds true | |
Install: | |
chmod +x ~/Downloads/plasmasetconfig.py | |
sudo cp ~/Downloads/plasmasetconfig.py /usr/local/bin/plasmasetconfig | |
Uninstall: |