This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Trying to run iTunes with Wine, i faced various problems. Here is a working solution how to install iTunes on Debian-based systems (in my case Linux Mint 18.1) - with support for the iTunes Store. Warning: Syncing i-devices is still not possible. | |
| When installing it with the playonlinux-"iTunes 12"-script, log in into the Store was not possible in my case. Wine showed the follwing error when trying to log in: SecurityContext failed with error 0x80090304 | |
| 1. Install current Wine version (2.0.1) directly from the winehq repository | |
| wget -nc https://dl.winehq.org/wine-builds/Release.key | |
| sudo apt-key add Release.key | |
| sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' | |
| sudo apt-get update | |
| sudo apt-get install --install-recommends winehq-stable | |
| wine --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package de.georgsieber.customerdb.importexport; | |
| import java.io.UnsupportedEncodingException; | |
| import java.util.ArrayList; | |
| class QuotedPrintable { | |
| static String ASCII_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 "; | |
| @SuppressWarnings("CharsetObjectCanBeUsed") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.ContentProvider; | |
| import android.content.ContentValues; | |
| import android.content.UriMatcher; | |
| import android.content.res.AssetFileDescriptor; | |
| import android.database.Cursor; | |
| import android.database.MatrixCursor; | |
| import android.net.Uri; | |
| import android.os.ParcelFileDescriptor; | |
| import android.provider.ContactsContract; | |
| import android.util.Log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] | |
| import mmap, shutil, sys | |
| if len(sys.argv) != 2: | |
| print('Please provide a HP BIOS image .bin file as first parameter!') | |
| sys.exit(1) | |
| path = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| # SATO Graphic Converter, (c) Georg Sieber 2023, https://github.com/schorschii | |
| # open source implementation of the SATO label printer graphic format, | |
| # generates SBPL command to print arbitrary graphic given as parameter | |
| # supports hex and binary (more performant) format | |
| # usage: php sato-graphics-converter.php 192.168.1.50 image.jpg 250 100 | |
| # important: the printer won't print if the image location is not on your label size, so please choose appropriate X/Y coordinates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Fix Mail Sender | |
| * Plugin URI: https://georg-sieber.de | |
| * Description: Sets the envelope sender correctly to the "From" header address to enable mail delivery to Gmail from managed webservers. | |
| * Version: 1.0 | |
| * Author: Georg Sieber | |
| * Author URI: https://georg-sieber.de | |
| * License: free | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "action": "created", | |
| "sponsorship": { | |
| "node_id": "xxx", | |
| "created_at": "2024-06-14T15:34:44+00:00", | |
| "sponsorable": { | |
| "login": "<github-username>", | |
| "id": 123, | |
| "node_id": "xxx", | |
| "avatar_url": "xxx", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/python3 | |
| import sys | |
| SSS_IDMAP_DEFAULT_LOWER = 200000 | |
| SSS_IDMAP_DEFAULT_UPPER = 2000200000 | |
| SSS_IDMAP_DEFAULT_RANGESIZE = 200000 | |
| def murmur3_32(data, seed = 0): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # With this script, you can configure a new IP address for NETGEAR PS101(v2) print servers. | |
| # Just connect the print server via Ethernet to your computer and execute the script, | |
| # it will send an UDP packet over all of your network interfaces: | |
| # ./netgear-ip-set.py PSxxxxxx 192.168.0.25 255.255.255.0 192.268.0.1 | |
| # | |
| # Replace PSxxxxxx with your device name as printed on the back label of your device. | |
| # It is not necessary to know the old IP address or to be in the same IP subnet with your computer; | |
| # the NETGEAR device just needs to be in the same physical network or VLAN. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/python3 | |
| # This script creates KEYDB.cfg file content (~/.config/aacs/KEYDB.cfg) | |
| # for your personal backup by parsing the cached keys which are | |
| # automatically stored by libaacs in ~/.cache/aacs when a Bluray disc | |
| # could be successfully decrypted with a valid host certificate. | |
| # The decrypted individual disc keys can be used to play the disc at any time later, | |
| # even if your host certificate gets revoked in your drive | |
| # (by inserting a disc with new MKB [MediaKeyBlock] version). |
OlderNewer