Skip to content

Instantly share code, notes, and snippets.

Avatar

Pavel Valena pvalena

View GitHub Profile
View fetch_gist.sh
#!/usr/bin/env bash
set -xe
bash -n "$0"
get_raw() {
curl -L -s "$1" \
| grep -E '^\s*<a href\="' \
| grep 'Raw$' \
View rubygem-image_processing_gem2rpm.diff
--- rubygem-image_processing/.generated.spec 2022-07-26 14:18:04.610278006 +0200
+++ rubygem-image_processing/rubygem-image_processing.spec 2022-07-26 13:21:47.207000731 +0200
@@ -1,7 +1,9 @@
-Downloaded image_processing-1.12.2
-# Generated from image_processing-1.12.2.gem by gem2rpm -*- rpm-spec -*-
+# Generated from image_processing-1.11.0.gem by gem2rpm -*- rpm-spec -*-
%global gem_name image_processing
+# dhash-vips gem is not in Fedora yet
+%bcond_with dhash-vips
View rubygem-image_processing_test.log
+ [[ -n '' ]]
+ section SRPM
+ local l=###############################
+ : '############################### SRPM ###############################'
+ max=32
++ seq 32
+ for x in $(seq ${max})
+ [[ -z 1 ]]
+ mrn=23
@pvalena
pvalena / dracut_test_3_c9s_2022-07-18.log
Last active Jul 18, 2022
ping pvalena for tests details
View dracut_test_3_c9s_2022-07-18.log
>>> TEST-01-BASIC/Makefile
++ cut -d/ -f1
+ timeout 600 make -C TEST-01-BASIC all clean
make: Entering directory '/root/test/dracut-057/test/TEST-01-BASIC'
TEST: root filesystem on a ext3 filesystem [STARTED]
TEST: root filesystem on a ext3 filesystem [OK]
TEST CLEANUP: root filesystem on a ext3 filesystem
make: Leaving directory '/root/test/dracut-057/test/TEST-01-BASIC'
View dracut_test_2_c9s_2022-07-14.log
➜ ~ dnf reinstall kernel-core -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
DNF version: 4.12.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Red Hat Enterprise Linux 9.1; generic; Linux.x86_64)'
View dracut_test_c9s_2022-07-14.log
➜ 2066816 git:(main) dnf update *.el9.x86_64.rpm
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Last metadata expiration check: 0:03:01 ago on Wed 13 Jul 2022 06:22:20 PM EDT.
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
View test_ubi_rails-ex-refresh-2022-07-08.log
+ ruby -v
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux]
+ cp -r /my-app/ /tmp
+ cd /tmp/my-app
+ bundle config --local deployment true
You are replacing the current local value of deployment, which is currently nil
+ bundle config --local without development:test
You are replacing the current local value of without, which is currently nil
+ bundle install --path vendor
View developer-portal-stats-page-2021.txt
Jan 1, 2021-Dec 31, 2021 Pageviews Unique Pageviews Avg. Time on Page
======================== ========= ================ =================
Total 236,342 195,266 00:02:03
/ 21,716(9.19%) 15,848(8.12%) 00:00:58
/tech/languages/nodejs/nodejs.html 11,160(4.72%) 10,000(5.12%) 00:04:20
/tools/docker/docker-installation.html 11,053(4.68%) 9,547(4.89%) 00:05:36
/tech/languages/python/python-installation.html 9,511(4.02%)
View developer-portal-stats-page-2022-jan-may.txt
Jan 1, 2022-May 31, 2022 Pageviews Unique Pageviews Avg. Time on Page
======================== ========= ================ =================
Total 105,048 89,121 00:02:15
/ 8,761(8.34%) 6,902(7.74%) 00:00:50
/deployment/flatpak/flatpak-usage.html 6,642(6.32%) 5,953(6.68%) 00:05:35
/tools/docker/docker-installation.html 5,872(5.59%) 5,109(5.73%) 00:06:15
/tech/languages/nodejs/nodejs.html 5,464(5.20%) 4,92
View stability.sh
#!/usr/bin/bash
trap 'echo; exit 2' 2
[[ "$1" == "-n" ]] && {
shift
:
} || {
clear
}