Skip to content

Instantly share code, notes, and snippets.

import requests
arch = "x86_64"
verbose = False
# Subvariant and flavor pairs
variants = [{"kind": "Workstation", "flavor": None, "url": None},
{"kind": "Everything", "flavor": "Everything-boot-iso", "url": None},
{"kind": "Server", "flavor": "Server-dvd-iso", "url": None},
{"kind": "Server", "flavor": "Server-boot-iso", "url": None},
@frantisekz
frantisekz / intel-media-driver-free.spec
Last active December 29, 2021 22:34
intel-media-driver-free.spec
# Fixes GenKrn
%global optflags %{optflags} -O0
Name: intel-media-driver-free
Version: 21.4.3
Release: 1%{?dist}
Summary: The Intel Media Driver for VAAPI
License: MIT and BSD
URL: https://github.com/intel/media-driver
@frantisekz
frantisekz / testdays_webapp_result_submitter.py
Created January 12, 2021 13:47
testdays_webapp_result_submitter
#!/usr/bin/python3
import re
import requests
# Use staging instance for testing, eg. https://testdays.stg.fedoraproject.org/events/90/enter_result/2767
# Use production instance for real use, eg. https://testdays.fedoraproject.org/events/90/enter_result/2767
result_url = "https://testdays.fedoraproject.org/events/2/enter_result/36"
username = "check"
%global major 78
# LTO - Enable in Release builds, but consider disabling for development as it increases compile time
%global build_with_lto 0
# Require tests to pass?
%global require_tests 1
%if 0%{?build_with_lto}
# LTO is default since F33
@frantisekz
frantisekz / rh_research_calc_theses.php
Created April 16, 2018 16:26
rh_research_calc_theses
<?php
// $calculated_applicants = array('topic_id' => 'number_of_applicants');
$args_theses=array(
# Set parameters, so the query will loop through all Theses
'post_type' => 'theses',
'post_status' => 'publish',
'posts_per_page' => -1,
'ignore_sticky_posts' => 1);
$theses_query = new WP_Query($args_theses);