Skip to content

Instantly share code, notes, and snippets.

View Strykar's full-sized avatar
:electron:
pkt_label

Avinash H. Duduskar Strykar

:electron:
pkt_label
View GitHub Profile
diff -r -u a/src/terminal-util.c b/src/terminal-util.c
--- a/src/terminal-util.c 2018-12-05 19:47:58.000000000 +0200
+++ b/src/terminal-util.c 2018-12-05 19:32:09.302636807 +0200
@@ -111,7 +111,7 @@
}
}
-static gboolean
+gboolean
open_url (GtkWindow *parent,
DKMS make.log for xtables-addons-3.3 for kernel 5.2.2-arch1-1-ARCH (x86_64)
Tue 23 Jul 2019 04:33:29 AM UTC
make: Entering directory '/usr/lib/modules/5.2.2-arch1-1-ARCH/build'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
CCLD libaltivec.la
CC strategies/avx2/libavx2_la-dct-avx2.lo
CC strategies/avx2/libavx2_la-intra-avx2.lo
CC strategies/avx2/libavx2_la-ipol-avx2.lo
CC strategies/avx2/libavx2_la-picture-avx2.lo
CC strategies/avx2/libavx2_la-quant-avx2.lo
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/immintrin.h:101,
from strategies/avx2/quant-avx2.c:28:
strategies/avx2/avx2_common_functions.h: In function ‘get_first_last_nz_int16’:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/lzcntintrin.h:51:1: error: inlining failed in call to always_inline ‘_lzcnt_u32’: target specific option mismatch
@Strykar
Strykar / cava.config
Created August 20, 2019 23:17
Config file for cava equalizer
[general]
mode = normal
framerate = 60
autosens = 1
overshoot = 20
sensitivity = 100
bars = 100
bar_width = 2
bar_spacing = 1
lower_cutoff_freq = 50
#!/usr/bin/python2
import urllib2
import json
import time
import weewx.drivers
DRIVER_NAME = 'OurWeather'
DRIVER_VERSION = "0.1"
@Strykar
Strykar / arch-audit-post.hook
Last active November 1, 2019 05:39
A pacman post-transaction hook to review Arch CVE Monitoring Team data
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Depends = coreutils
Depends = go
@Strykar
Strykar / orphans.hook
Last active May 9, 2026 14:31
Pacman post transaction hook to list/remove orphaned packages
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Searching for orphaned packages...
When = PostTransaction
@Strykar
Strykar / arch-audit.hook
Created November 7, 2019 06:08
Pacman post transaction hook to list vulnerable packages base on Arch CVE
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
@Strykar
Strykar / pacman-last-used.sh
Last active August 25, 2020 14:08 — forked from mtekman/pacman-last-used.sh
Determining the least used packages installed on your system
#!/usr/bin/bash
function pacman-last-used {
storage_dir=${HOME}/.config/pacman-last
mkdir -p "$storage_dir"
unsorted=$storage_dir/"packages.1.exec_bins.log"
sorted=$storage_dir/"packages.2.exec_bins.sorted"
sorted_packs=$(mktemp) #"3.packages.sorted"
@Strykar
Strykar / openwrt banner
Created November 10, 2019 13:03
openwrt banner
# cat /etc/banner
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.5, r7897-9d401013fc
-----------------------------------------------------