Skip to content

Instantly share code, notes, and snippets.

View anoduck's full-sized avatar

Anoduck, The Anonymous Duck anoduck

View GitHub Profile
@anoduck
anoduck / amdgpu-make.log
Last active March 30, 2023 05:12
Make log from attempting to compile amdgpu in kali Linux.
DKMS make.log for amdgpu-5.18.13-1538762.22.04 for kernel 6.1.0-kali7-amd64 (amd64)
Wed Mar 29 06:41:47 PM EDT 2023
make: Entering directory '/usr/src/linux-headers-6.1.0-kali7-amd64'
CC [M] /var/lib/dkms/amdgpu/5.18.13-1538762.22.04/build/scheduler/sched_main.o
CC [M] /var/lib/dkms/amdgpu/5.18.13-1538762.22.04/build/amd/amdgpu/amdgpu_drv.o
In file included from /usr/src/linux-headers-6.1.0-kali7-common/include/uapi/linux/posix_types.h:5,
from /usr/src/linux-headers-6.1.0-kali7-common/include/uapi/linux/types.h:14,
from /usr/src/linux-headers-6.1.0-kali7-common/include/linux/types.h:6,
from /usr/src/linux-headers-6.1.0-kali7-common/include/uapi/linux/sched.h:5,
from /usr/src/linux-headers-6.1.0-kali7-common/include/linux/sched.h:10,
@anoduck
anoduck / expansive-org-captures.el
Created December 19, 2022 08:14
Collections of org-capture templates that I found one day...
(setq org-capture-templates
'(
;; ===============================================================================
;; ___ _
;; | _ \___ ______ ___ _____(_)___ _ _ ___
;; | _/ _ (_-<_-</ -_|_-<_-< / _ \ ' \(_-<
;; |_| \___/__/__/\___/__/__/_\___/_||_/__/
;; ;; Templates for the POSSESSIONS keyword sequence
("p" "Possessions")
;; ;; The fact this guy REALLY customized his captures so only he can use it can sck it!
@anoduck
anoduck / gist:ba2001956177e3cca2489a7c3eec8151
Last active December 13, 2022 00:35 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

Github compatible emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
@anoduck
anoduck / ifupdown.sh
Last active November 5, 2022 06:33
ifplugd ifupdown action script (see https://linux.die.net/man/8/ifplugd)
#!/bin/sh
set -e
set -o errexit
set -o nounset
if [ -z "$1" ] || [ -z "$2" ] ; then
echo "Wrong arguments" > /dev/stderr
exit 1
fi
@anoduck
anoduck / vuurmurr-error.cc
Last active October 25, 2022 08:56
Vuurmuur build error
CCLD libvuurmuur.la
/usr/bin/ld: .libs/blocklist.o:/home/user/vuurmuur-0.8/lib/../include/vuurmuur.h:429: multiple definition of `vrprint'; .libs/backendapi.o:/home/user//vuurmuur-0.8/lib/../include/vuurmuur.h:429: first defined here
/usr/bin/ld: .libs/blocklist.o:/home/user/vuurmuur-0.8/lib/../include/vuurmuur.h:1892: multiple definition of `vrmr_plugin_list'; .libs/backendapi.o:/home/user//vuurmuur-0.8/lib/../include/vuurmuur.h:1892: first defined here
/usr/bin/ld: .libs/config.o:/home/user/vuurmuur-0.8/lib/../include/vuurmuur.h:429: multiple definition of `vrprint'; .libs/backendapi.o:/home/user//vuurmuur-0.8/lib/../include/vuurmuur.h:429: first defined here
/usr/bin/ld: .libs/config.o:/home/user/vuurmuur-0.8/lib/../include/vuurmuur.h:1892: multiple definition of `vrmr_plugin_list'; .libs/backendapi.o:/home/user//vuurmuur-0.8/lib/../include/vuurmuur.h:1892: first defined here
/usr/bin/ld: .libs/conntrack.o:/home/user/vuurmuur-0.8/lib/../include/vuurmuur.h:429: multiple definition of `vrprint'
@anoduck
anoduck / keybase.md
Created October 2, 2022 07:59
keybase.md

Keybase proof

I hereby claim:

  • I am anoduck on github.
  • I am anoduck (https://keybase.io/anoduck) on keybase.
  • I have a public key ASDmcjTddstoynslXZFKQUXfH9XyRQ9pw6KQhfDrshBvSQo

To claim this, I am signing this object:

;;; org-roam-captures.el --- Captures for Org Roam -*- lexical-binding: t; -*-
;; Copyright (C) 2022 anoduck
;; Author: anoduck <[email protected]>
;; Keywords: local, outlines, internal, calendar, convenience, data, docs, files, extensions
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@anoduck
anoduck / colortrans.py
Created September 6, 2022 04:46 — forked from gagbo/colortrans.py
Translate truecolor to 256-color palette
#!/usr/bin/env python3
"""
Convert values between RGB hex codes and xterm-256 color codes.
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
The legacy version uses naive euclidean distance in rgb space,
the non-legacy version uses naive euclidean distance in hsv space, manually
@anoduck
anoduck / github_compose-file.yml
Last active August 6, 2022 00:38
docker-compose.yml for tor container and vanguards container networked
version: '3.5'
services:
# -------------------------------------------------------
# Apache
# -------------------------------------------------------
apache:
image: apache:0.0.2
container_name: webox
restart: always
#!/usr/bin/env zsh
export PATH="$PATH:$HOME/.rvm/bin:$PATH"
# If you come from bash you might have to change your $PATH.
# export PATH TERM HOME
export PATH="$PATH:$HOME/bin:/usr/local/bin:$HOME/.local/bin:$HOME/Sandbox/Nim/bin:$HOME/.cargo/bin:$HOME/Sandbox/go/bin:${GOPATH//://bin:}/bin:$PATH"
export GOPATH="$HOME/go/bin"
export GOBIN="$(go env GOPATH)/bin"
export PATH="$PATH:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
# export MANPATH="/usr/local/man:$MANPATH"