You have installed GPG, then tried to perform a git commit and suddenly you see this error message after it 😰
error: gpg failed to sign the data
fatal: failed to write commit object
Understand the error (important to solve it later!)
| include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' | |
| flatpak: | |
| image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master' | |
| variables: | |
| MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusDevel.yml" | |
| FLATPAK_MODULE: "nautilus" | |
| APP_ID: "org.gnome.NautilusDevel" | |
| RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo" | |
| BUNDLE: "nautilus-dev.flatpak" |
| #!/usr/bin/env bash | |
| # | |
| # Author: Markus (MawKKe) ekkwam@gmail.com | |
| # Date: 2018-03-19 | |
| # | |
| # | |
| # What? | |
| # | |
| # Linux dm-crypt + dm-integrity + dm-raid (RAID1) | |
| # |
| wget http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/armhf/alpine-uboot-3.7.0-armhf.tar.gz | |
| wget http://dl-cdn.alpinelinux.org/alpine/v3.7/releases/armhf/alpine-minirootfs-3.7.0-armhf.tar.gz | |
| qemu-img create -f raw sd.img 512M | |
| sudo losetup /dev/loop0 sd.img | |
| sudo kpartx -av /dev/loop0 | |
| lsblk | |
| sudo mkfs.ext4 /dev/mapper/loop0p1 | |
| mount -t ext4 /dev/mapper/loop0p1 /mnt |
Many users when are given server access, do not have root (or sudo) privileges and can not simply do
sudo apt-get install python-pip .
Here's an easy way you can install and use pip without root (or sudo) access in a local directory.
Note : This works without easy_install too.
| # Config for GNU GRand Unified Bootloader (GRUB) (2) | |
| # /boot/grub2/grub.cfg | |
| # or | |
| # /boot/grub/grub.cfg | |
| # Mostly only 'legacy' CSM/BIOS boot methods currently. | |
| # Unable to boot loop entries with Secure Boot | |
| # Notes: | |
| # Description: | |
| # This grub.cfg file was created by Lance http://www.pendrivelinux.com |
| from gi.repository import Gtk | |
| settings = Gtk.Settings.get_default() | |
| settings.set_property("gtk-application-prefer-dark-theme", True) |
| import threading | |
| from gi.repository import GObject | |
| # calls f on another thread | |
| def async_call(f, on_done): | |
| """ | |
| Starts a new thread that calls f and schedules on_done to be run (on the main | |
| thread) when GTK is not busy. | |
| Args: |