Skip to content

Instantly share code, notes, and snippets.

@talanov
talanov / cleanqb.py
Last active August 6, 2023 06:27 — forked from oltodosel/qbittorrent_plugin_filter_files.py
qBittorrent Cleaning Script
#! /usr/bin/env python
import getopt
import sys
import requests
import json
import time
# ---------- NFO ---------- #
@talanov
talanov / update_storyboard_strings.sh
Last active February 18, 2019 10:08
Automatically extract translatable strings from Xcode storyboards and update .strings files. Original version: https://gist.github.com/ole/5007019. Updated for Xcode 10 & Swift 4.2
#!/bin/sh
#
# update_storyboard_strings.sh - automatically extract translatable strings from storyboards and update strings files updated for Xcode 10.1 & Swift 4.2
# Original script — https://gist.github.com/ole/5007019
# Folder structure to eliminate duplicates & to make xib localization work.
# Instruction:
# 1. Go to XIB / Storyboard, check out right bar (Inspector), go to Localization and check out desired language.
# 2. Create Localizable.strings file @ LANGUAGECODE.lproj with localized strings. (// TODO: Make it global)