Skip to content

Instantly share code, notes, and snippets.

View galou's full-sized avatar

Gaël Écorchard galou

  • Czech Technical University in Prague
  • Prague
View GitHub Profile
@galou
galou / dedrm.sh
Created January 14, 2020 19:36
Set DeDRM on Ubuntu 18.04 and Wine 4.21
#!/bin/sh
WINEPREFIX=/home/gael/.PlayOnLinux/wineprefix/AdobeDigitalEditions45
WINEARCH=win32
PATH=~/.PlayOnLinux/wine/linux-x86/4.21/bin:$PATH
wine msiexec /i /tmp/python-2.7.16.msi /L'*v' log.txt
wine msiexec /i /tmp/VCForPython27.msi /L'*v' log.txt
wine pip.exe install PyCrypto
wine python.exe "/home/gael/.config/calibre/plugins/DeDRM/libraryfiles/adobekey.py" "/home/gael/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir"
@galou
galou / install_adobe_digital_editions.sh
Created January 14, 2020 19:34
How-To install Adobe Digital Editions 4.5 on Ubuntu 18.04
#!/bin/sh
# Preliminary conditions:
# Ubuntu 18.04
# sudo apt install winbind playonlinux
# Add wine 4.21 32 bit to PlayOnLinux through the GUI.
# Download ADE_4.5_Installer.exe to /tmp.
WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/AdobeDigitalEditions45
WINEARCH=win32
WINE=$HOME/.PlayOnLinux/wine/linux-x86/4.21/bin/wine
@galou
galou / .ycm_extra_conf.py
Last active April 4, 2022 10:18
YouCompleteMe configuration file for ROS, copy to $ROS_WORKSPACE
# -*- coding: utf-8 -*-
##########################################################################
# YouCompleteMe configuration for ROS #
# Author: Gaël Ecorchard (2015) #
# #
# The file requires the definition of the $ROS_WORKSPACE variable in #
# your shell. #
# Name this file .ycm_extra_conf.py and place it in $ROS_WORKSPACE to #
# use it. #