Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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/python | |
import sys | |
import json | |
from PyQt5 import QtCore, QtWidgets | |
from PyQt5.QtCore import QSize, QPoint, Qt | |
from PyQt5.QtWidgets import QMainWindow, QLabel, QWidget, QDesktopWidget, QHBoxLayout, QVBoxLayout, qApp, \ | |
QPlainTextEdit, QPushButton |
This file contains 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/bash | |
## References: https://itsfoss.com/free-up-space-ubuntu-linux/ | |
function remove_snap_revs() { | |
set -eu | |
snap list --all | awk '/disabled/{print $1, $3}' | | |
while read snapname revision; do | |
snap remove "$snapname" --revision="$revision" | |
done |