Skip to content

Instantly share code, notes, and snippets.

View lkraav's full-sized avatar
🎯
Focusing

Leho Kraav lkraav

🎯
Focusing
View GitHub Profile
@lkraav
lkraav / installgapps-mount.sh
Last active February 9, 2026 21:09 — forked from raphendyr/sailfish_install_google_services.md
Google Play Services installation to Sailfish X
#!/bin/bash
#
# Install Google Apps into Sailfish OS AppSupport via bind-mounts.
# Based on raphendyr's guide, updated for SFOS 5.0 / Android 13.
#
# Instead of patching system.img, this populates /opt/gapps-for-appsupport/ and
# hooks into the AppSupport LXC container to bind-mount /product and
# /system/system_ext at startup. Survives SFOS updates; uninstall by
# removing the hook symlink.
#
@lkraav
lkraav / installgapps.sh
Last active February 8, 2026 14:44 — forked from nemishkor/installgapps.sh
Sony 10 III - Dual SIM (arm64) | Sailfish OS 5.0.0.73 | Android 13 | MindTheGapps installation script
#!/bin/bash
set -e
WORKDIR=/home/.appsupport_systemimg_patch
TMPWORKDIR="$WORKDIR/tmp"
SQUASHFS_ROOT="$TMPWORKDIR/squashfs-root"
MOUNT_ROOT="$TMPWORKDIR/systemimg_mount"
SYSTEM_IMG=/opt/appsupport/system.img
ORIG_IMG_FILE=orig_img_path.txt
<?php
/**
* Gravity Wiz // Require Minimum Character Limit for Gravity Forms
*
* Adds support for requiring a minimum number of characters for text-based Gravity Form fields.
*
* @version 1.0
* @author David Smith <david@gravitywiz.com>
* @license GPL-2.0+
* @link http://gravitywiz.com/...
@lkraav
lkraav / growlnotify.pl
Created November 16, 2009 15:37 — forked from jashmenn/gist:6206
some modifications to irssi -> growl gateway
# == WHAT
# Simple script for growl notifications in irssi
#
# == WHO
# Nate Murray 2008
# Modif: Leho Kraav 2009
#
# == CONFIG
# /SET growl_on_regex [regex]
# /SET growl_channel_regex [regex]