Skip to content

Instantly share code, notes, and snippets.

@EverythingSmartHome
EverythingSmartHome / hyperhdr-install.sh
Last active July 27, 2024 20:56
Installs HyperHDR v16.0.0.1
sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v16.0.0.1/HyperHDR-16.0.0.1-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-16.0.0.1-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status
@yoichitgy
yoichitgy / mergegenstrings.py
Last active July 9, 2022 23:59
A script to generate .strings file for .swift, .m, .storyboard and .xib files by genstrings and ibtool commands, and merge them with existing translations.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Localize.py - Incremental localization on XCode projects
# João Moreno 2009
# http://joaomoreno.com/
# Modified by Steve Streeting 2010 http://www.stevestreeting.com
# Changes
# - Use .strings files encoded as UTF-8