Skip to content

Instantly share code, notes, and snippets.

@IcyEyeG
IcyEyeG / ubuntu-unity7-mate-18.04.md
Created October 28, 2019 14:27
Use MATE applications in Ubuntu 18.04 with Unity 7
sudo rm /usr/share/applications/defaults.list
sudo cp -a /etc/gnome/defaults.list /usr/share/applications/defaults.list 

sudo apt install -y caja caja-sendto caja-share caja-open-terminal caja-wallpaper deja-dup-caja
sudo apt purge -y nautilus nautilus-sendto nautilus-share

sudo tee -a /etc/xdg/autostart/caja-autostart.desktop <<EOF
[Desktop Entry]
Type=Application
@IcyEyeG
IcyEyeG / ttrss-on-debian.md
Last active August 6, 2022 00:26 — forked from yeokm1/ttrss-on-ubuntu.md
How to install Tiny Tiny RSS on Debian 10

Adapted from here

  1. Install all packages
sudo apt-get update
sudo apt-get install php7.3 php7.3-cli php7.3-curl php7.3-mbstring php7.3-json php7.3-intl php7.3-gd php7.3-pgsql php7.3-xml php7.3-opcache php-apcu postgresql nginx git
  1. Configure PostgresSQL
@IcyEyeG
IcyEyeG / wmd2git.pl
Created October 20, 2019 11:08
Storing a wayback-machine-downloader website in a git repository
#!/usr/bin/perl
#This is a perl script intended to be used with a JSON file generated by https://github.com/hartator/wayback-machine-downloader and aims to convert an entire website archived with the wayback machine into a git repository with commits that correspond to a modification in a snapshot file.
#Some limitations of wayback-machine-downloader are dealt with, making this script quite slow:
# - wget is used so files are downloaded with proper modification timestamp
# - HTML files are scraped from their embeded Internet Archive code and links
# - duplications are found and discarded using MD5 comparison
#This is just a proof of concept that only works in Linux and it uses quite a few hacks to get it done
#If you want to convert or port this concept into a project, please follow GPLv3 (https://www.gnu.org/licenses/gpl-3.0.html)