Create your new key:
gpg --gen-key
more...
Back it up:
gpg --export-secret-keys --armor <keyid> > my_key_backup.asc
more...
| Program received signal SIGSEGV, Segmentation fault. | |
| 0x0000000100424bf8 in alpm_db_update (force=force@entry=0, db=db@entry=0x600052e90) at be_sync.c:246 | |
| 246 len = strlen(final_db_url) + 5; | |
| (gdb) bt | |
| #0 0x0000000100424bf8 in alpm_db_update (force=force@entry=0, db=db@entry=0x600052e90) at be_sync.c:246 | |
| #1 0x0000000100409f02 in sync_synctree (level=1, syncs=syncs@entry=0x600052f30) at sync.c:330 | |
| #2 0x000000010040b0ee in pacman_sync (targets=0x0) at sync.c:941 | |
| #3 0x0000000100408168 in main (argc=2, argv=0x23aac0) at pacman.c:1231 | |
| (gdb) bt full | |
| #0 0x0000000100424bf8 in alpm_db_update (force=force@entry=0, db=db@entry=0x600052e90) at be_sync.c:246 |
| #!/usr/bin/env python3 | |
| import configparser | |
| import argparse | |
| import shutil | |
| class PacConfParser(configparser.ConfigParser): | |
| def optionxform(self, option): | |
| return option |
| # | |
| # /etc/pacman.conf | |
| # | |
| # See the pacman.conf(5) manpage for option and repository directives | |
| # | |
| # GENERAL OPTIONS | |
| # | |
| [options] | |
| # The following paths are commented out with their default values listed. |
| #!/system/bin/sh | |
| # | |
| # MORESPACE - init script to use an ext4-formatted sdcard for both app installations and user data | |
| # Revision: 3 | |
| # Author: github.com/elieux | |
| # Device: Huawei Ascend G300 [U8815] with CM11 | |
| # | |
| # Warning: The script does not reformat your sdcard. That needs to be done manually before installing the script. | |
| # Warning: The script is not designed for multiple-partition sdcards (sd-ext). | |
| # |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <errno.h> | |
| #include <stdio.h> | |
| int main() { | |
| const char const* fn = "foo"; | |
| int handle1, handle2, res; | |
| handle1 = open(fn, O_RDONLY | O_CREAT); |
| all: main.exe | |
| foo.o: foo.c | |
| gcc -c foo.c -o foo.o | |
| libfoo.a: foo.o | |
| ar sr libfoo.a foo.o | |
| bar.o: bar.c | |
| gcc -c bar.c -o bar.o | |
| libbar.dll: bar.o libfoo.a |
| $ makepkg-mingw | |
| ==> Making package: mingw-w64-x86_64-aria2 1.18.9-2 (Tue, Feb 3, 2015 12:51:27 PM) | |
| ==> Checking runtime dependencies... | |
| ==> Checking buildtime dependencies... | |
| ==> Retrieving sources... | |
| -> Found aria2-1.18.9.tar.xz | |
| ==> Validating source files with md5sums... | |
| aria2-1.18.9.tar.xz ... Passed | |
| ==> Extracting sources... | |
| -> Extracting aria2-1.18.9.tar.xz with /usr/bin/bsdtar |
| pkgname=example1 | |
| pkgver=1.0 | |
| pkgrel=1 | |
| arch=(any) | |
| package() { | |
| echo "example1" > "${pkgdir}/.example1" | |
| } |
| pkgname=example2 | |
| pkgver=1.0 | |
| pkgrel=1 | |
| arch=('any') | |
| package() { | |
| mkdir "${pkgdir}/var" | |
| echo "example2" > "${pkgdir}/var/EXAMPLE2" | |
| } |