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 / apc-theme.css
Created November 2, 2024 04:35 — forked from LuanRoger/apc-theme.css
My CSS tweaks for VSCode's extension Apc Customize UI++
:root {
--color-attribute: #ddb6f2; /* Lavender */
--background-attribute: rgba(221, 182, 242, 0.2);
--color-builtin: #f28fad; /* Pink */
--background-builtin: rgba(242, 143, 173, 0.2);
--color-class: #96cdfb; /* Sky */
--background-class: rgba(150, 205, 251, 0.2);
--color-function: #f8bd96; /* Peach */
--background-function: rgba(248, 189, 150, 0.2);
--color-property: #f5c2e7; /* Mauve */
@angelside
angelside / background.js
Created June 25, 2024 02:13 — forked from danharper/background.js
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});
@angelside
angelside / log_request.go
Created June 24, 2024 19:50 — forked from hoitomt/log_request.go
Golang: Log HTTP Requests in Go
package main
import (
"fmt"
"log"
"net/http"
"os"
)
func main() {
@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 / 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 / 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