Skip to content

Instantly share code, notes, and snippets.

View zoonderkins's full-sized avatar
🏠
Working 👍

Quack~ zoonderkins

🏠
Working 👍
View GitHub Profile
@zoonderkins
zoonderkins / debian-install-gpg.md
Created December 16, 2020 07:46
Debian install gpg

GPG install

apt install gpg-agent gpg

@zoonderkins
zoonderkins / debian-install-i2pd.md
Last active March 20, 2021 07:02
Debian sid install purple i2pd
@zoonderkins
zoonderkins / cmd-convert-svg-to-ico-png.md
Created December 1, 2020 13:07
cmd convert SVG to ico png

Shell script

Paste it into your terminal

#!/bin/sh
set -eu	

main() {
  ## Cd into your svg source directory
 cd src/browser/media
@zoonderkins
zoonderkins / debian-10-gpg-fail-solution.md
Created November 6, 2020 03:21
Debian 10 apt-get update gpg failed solution

Error

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.powerdns.com/debian buster-dnsdist-master InRelease: Splitting up /var/lib/apt/lists/repo.powerdns.com_debian_dists_buster-dnsdist-master_InRelease into data and signature failed

Solution

apt-get update --allow-unauthenticated
apt-get update --allow-insecure-repositories
@zoonderkins
zoonderkins / locale-not-found.md
Created November 5, 2020 10:29
Fix: Can’t exec “locale”: No such file or directory at /usr/share/perl5/Debconf/Encoding.pm

Fix: Can’t exec “locale”: No such file or directory at /usr/share/perl5/Debconf/Encoding.pm

Not found

Solution

https://itsfoss.com/fix-exec-locale-file-directory/

In a terminal, use the following commands to download and extract the libc-bin package:

apt-get download libc-bin
@zoonderkins
zoonderkins / update.md
Last active May 1, 2021 09:17
Debian configure multiple apt source 2021

Debian udpate apt source to TESTING branch and header

Last udpate : 2021-05-01

Setup proper APT sources

## Setup unstable + stable 

## Unstable 

What / Why

Deploy key is a SSH key set in your repo to grant client read-only (as well as r/w, if you want) access to your repo.

As the name says, its primary function is to be used in the deploy process in replace of username/password, where only read access is needed. Therefore keep the repo safe from the attack, in case the server side is fallen.

How to

  1. Generate a ssh key

Germany


Provider:
----------------------------------------------------------------------
CPU model            : Intel Xeon Processor (Skylake, IBRS)
Number of cores      : 2
CPU frequency        : 2099.998 MHz
Total amount of Mem  : 3844 MB
@zoonderkins
zoonderkins / fix-python3-multiple-version-on-mac.md
Last active July 9, 2020 07:27
Fix python3 on mac with multiple version

Title

brew uninstall --ignore-dependencies python@3
cd /usr/local/Cellar/python/
rm -rf  /usr/local/bin/python3

cd /Library/Frameworks/Python.framework/Versions
rm -rf /Library/Frameworks/Python.framework/Versions
@zoonderkins
zoonderkins / remove.md
Created June 11, 2020 03:50
Debian manually remove unsed kernel images

Install newest linux images

lsb_release -a
apt -y install linux-image-5.6.0-2-amd64 linux-headers-5.6.0-2-common

Remove unsed kernel images on Debian

Step 1 – Boot into new kernel