Skip to content

Instantly share code, notes, and snippets.

Avatar

Georg schorschii

View GitHub Profile
@schorschii
schorschii / QuotedPrintable.java
Last active May 28, 2020
Decode Quoted Printable Strings (VCF files)
View QuotedPrintable.java
package de.georgsieber.customerdb.importexport;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
class QuotedPrintable {
@SuppressWarnings("CharsetObjectCanBeUsed")
static String decode(String str) {
ArrayList<Byte> bytes = new ArrayList<>();
@schorschii
schorschii / iTunes12-Wine-Ubuntu.txt
Last active May 13, 2020
How to install iTunes 12 on Linux Mint 18 with working Store
View iTunes12-Wine-Ubuntu.txt
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
You can’t perform that action at this time.