gpg --export [email protected] > my_key.pub
The file can then be shared to other people.
gpg --export [email protected] > my_key.pub
The file can then be shared to other people.
Visual Studio Code frequently crashes linux. Using NVIDIA GPU | |
1. Open command pallete (Ctrl + Shift + P) | |
2. Enter "Preferences: Configure Runtime Arguments" | |
3. Add config: "disable-hardware-acceleration": true | |
4. Restart VS Code |
#!/bin/sh | |
if pwd | grep /mnt/c > /dev/null; then | |
exec git.exe "$@" | |
else | |
exec /usr/bin/git "$@" | |
fi |
Normal text here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vitae mauris arcu, eu pretium nisi. Vivamus vitae mi ligula, non hendrerit urna. Suspendisse potenti. Quisque eget massa a massa semper mollis.
Tiny text is here. Awwwww its so cuteeeeeeeeeee
Normal big text
## General info: | |
# Function starts with @ | |
# Variable starts with $ | |
# Return of the most recently run function made by $@ | |
# Key comments marked with ## | |
## Version of IV must be set first | |
~version: "2.1" | |
# Telegram doesn't support JW Player which is used in videoheaders |
#!/usr/bin/env bash | |
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error | |
# Make sure that the .gnupg directory and its contents is accessibile by your user. | |
chown -R $(whoami) ~/.gnupg/ | |
# Also correct the permissions and access rights on the directory | |
chmod 600 ~/.gnupg/* | |
chmod 700 ~/.gnupg |
# To remove only some text on a content | |
@remove: //p[self::p/strong[contains(text(), "Articles liés")]] | |
@remove: //iframe[contains(@src,"https://urlsomething")] | |
# To deal with fucking error of <img> is not supported in blabla | |
@before_el(./..): //a/img | |
@before_el(./..): //p/img |
# This sample template explores how we can turn the Telegram blog post on the left into an Instant View page as shown on the right — in several simple steps. If you're unsure what some of the elements used here do, check out the full documentation here: https://instantview.telegram.org/docs | |
# Place the version at the beginning of template. We recommend always using the latest available version of Instant View. | |
~version: "2.0" | |
### STEP 1: Define which pages get Instant View and which don't | |
# That's easy because we only need IV pages for posts on the Telegram blog. | |
# This *condition* does the trick. | |
# ?path: /blog/.+ |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
Gotten from the RedHat GPG migration manual
## Export all public keys
gpg -a --export >mypubkeys.asc