Skip to content

Instantly share code, notes, and snippets.

View angelside's full-sized avatar
:octocat:

Sevdalin Sabev angelside

:octocat:
View GitHub Profile
@angelside
angelside / arch-missing-keyring.md
Created January 2, 2024 19:59 — forked from puncoz/arch-missing-keyring.md
Arch Linux: missing keyring issue on updates

error: key "CEB167EFB5722BD6" could not be looked up remotely error: required key missing from keyring error: failed to commit transaction (unexpected error)

$ sudo pacman-key --lsign-key CEB167EFB5722BD6

if this gives error ERROR: CEB167EFB5722BD6 could not be locally signed.

$ sudo pacman-key --refresh-keys

@angelside
angelside / install.md
Last active July 22, 2023 21:56
yuk7/ArchWSL - Fresh install Keyring error 22/07/2023

yuk7/ArchWSL#317

killall gpg-agent
rm -rf /etc/pacman.d/gnupg/
pacman-key --init
pacman-key --populate archlinux
pacman -Sy archlinux-keyring
pacman -Syu
@angelside
angelside / .golangci.yml
Created May 1, 2023 01:23 — forked from maratori/.golangci.yml
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license.
## Golden config for golangci-lint v1.52.2
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adopt and change it for your needs.
run:
# Timeout for analysis, e.g. 30s, 5m.
@angelside
angelside / reclaim.sh
Last active May 3, 2023 06:09
memory-reclaim-in-the-windows-subsystem-for-linux
echo "sync && echo 3 > /proc/sys/vm/drop_caches" | sudo sh
sudo su
sync; echo 3 > /proc/sys/vm/drop_caches
@angelside
angelside / .bashrc
Last active May 3, 2023 06:10
GO Modules Behind The Corporate Firewall
export GOINSECURE="github.com,golang.org"
export GONOSUMDB="github.com,golang.org"
export GOPRIVATE="github.com,golang.org"
@angelside
angelside / .gitconfig
Created April 18, 2023 23:08 — forked from Kovrinic/.gitconfig
git global url insteadOf setup
# one or the other, NOT both
[url "https://github"]
insteadOf = git://github
# or
[url "git@github.com:"]
insteadOf = git://github
@angelside
angelside / shell-setup.ps1
Created March 15, 2023 05:28 — forked from mikepruett3/shell-setup.ps1
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@angelside
angelside / markdown-maintenance-status-badges.md
Last active February 7, 2024 03:11
Markdown maintenance status badges

Markdown maintenance status badges

  • internal-tool: This project was developed as an internal tool. It may or may not work in another environment, and may contain hard-coded data or settings.

    maintenance-status

    [![maintenance-status](https://img.shields.io/static/v1?label=maintenance&message=internal-tool&style=for-the-badge&color=blue)](https://gist.github.com/angelside/364976fbcf7001a5da7e79ad8ed91fec)

  • actively-developed: The maintainer(s) of this project are currently writing code, new features for this project as well as responding to issues and integrating code contributions.

@angelside
angelside / arch extra apps.txt
Created December 3, 2022 05:22
arch extra apps
--------------------------------------------------------------------------------------
paru AUR helper https://github.com/Morganamilo/paru
htop
lsd ls command https://github.com/Peltoche/lsd
exa ls command https://github.com/ogham/exa
bat cat command https://github.com/sharkdp/bat
fd find command https://github.com/sharkdp/fd
procs ps command https://github.com/dalance/procs
dust du command https://github.com/bootandy/dust
@angelside
angelside / gist:6fe0478fc4187ec2bd4987e36ab3d65f
Last active October 27, 2022 14:47
Postbox github dark-grey theme
/* Toolbars */
--toolbar-top: #2d333b;
--toolbar-bottom: #2d333b;
--toolbar-inactive: #2d333b;
/* Tabs */
--toolbar-tab-active: #2B2B2B;
--toolbar-tab-inactive: #242424;