Skip to content

Instantly share code, notes, and snippets.

View andy5995's full-sized avatar

Andy Alt andy5995

View GitHub Profile
--------------------------------------------------------------------------------
MEGAGLEST SYSTEM REPORT 0.3.4
Wed, 12 Jun 2019 20:28:09 +0000
--------------------------------------------------------------------------------
***** Operating system *********************************************************
* Distribution: Debian
* Release: 10
andy@oceanus:/usr/lib/x86_64-linux-gnu$ ls -al libmenu*
-rw-r--r-- 1 root root 66310 Feb 11 11:17 libmenu.a
lrwxrwxrwx 1 root root 22 Nov 3 2017 libmenu-cache.so.3 -> libmenu-cache.so.3.2.0
-rw-r--r-- 1 root root 34656 Nov 3 2017 libmenu-cache.so.3.2.0
lrwxrwxrwx 1 root root 12 Feb 11 11:17 libmenu.so -> libmenu.so.6
lrwxrwxrwx 1 root root 14 Feb 11 11:17 libmenu.so.5 -> libmenu.so.5.9
-rw-r--r-- 1 root root 39184 Feb 11 11:17 libmenu.so.5.9
lrwxrwxrwx 1 root root 14 Feb 11 11:17 libmenu.so.6 -> libmenu.so.6.1
-rw-r--r-- 1 root root 39168 Feb 11 11:17 libmenu.so.6.1
-rw-r--r-- 1 root root 67238 Feb 11 11:17 libmenuw.a
/* Getopt for GNU.
Copyright (C) 1987-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library and is also part of gnulib.
Patches to this file should be submitted to both projects.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
@andy5995
andy5995 / gist:ea3409d35036e16f9954918bcd27ffa6
Last active June 30, 2019 18:03
rm.c (GNU coreutils 8.26)
/* 'rm' file deletion utility for GNU.
Copyright (C) 1988-2016 Free Software Foundation, Inc.
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
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
make --no-print-directory install-exec-hook
if test "/home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib" != "/home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib"; then \
/bin/mkdir -p /home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib && \
so_img_name=$(readlink /home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib/libkmod.so) && \
so_img_rel_target_prefix=$(echo /home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
ln -sf $so_img_rel_target_prefix/home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib/$so_img_name /home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib/libkmod.so && \
mv /home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib/libkmod.so.* /home/andy/Downloads/tmp/kmod-26/tmp/kmod/test/lib; \
fi
/bin/mkdir -p '/usr/share/bash-completion/completions'
/usr/bin/install -c -m 644 shell-completion/bash/kmod '/usr/share/bash-completion/completions'
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by kmod configure 26, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/home/andy/Downloads/tmp/kmod-26/tmp/kmod/test
## --------- ##
## Platform. ##
/**
* mkdir_with_parents()
*
* Check for the existence of a dir, and create it if not found.
* Also creates parent directories.
*/
int mkdir_with_parents (const char *dir, mode_t mode)
{
if (exists (dir))
return 0;
@andy5995
andy5995 / gist:e011c493d4839620e70e2aab77f7f0c1
Created January 14, 2023 17:09
Docker: remove dangling images
docker images -q -f dangling=true | xargs docker rmi
@andy5995
andy5995 / menucd
Last active January 31, 2023 20:00
moved to https://github.com/andy5995/menucd