Skip to content

Instantly share code, notes, and snippets.

View fridex's full-sized avatar
🔐
Encrypting...

Fridolín Pokorný fridex

🔐
Encrypting...
View GitHub Profile
@fridex
fridex / LICENSE-BSD-3.txt
Created June 26, 2025 15:36
BSD 3 License
Copyright <YEAR> <COPYRIGHT HOLDER>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
@fridex
fridex / LICENSE-MIT.txt
Created June 26, 2025 15:32
MIT License template
MIT License
Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@fridex
fridex / flask===2.0.2_pypi.json
Created December 7, 2021 20:42
Results of Thoth's solver run for flask===2.0.2 from PyPI using quay.io/thoth-station/solver-rhel-8-py38:v1.10.3
{
"metadata": {
"analyzer": "thoth-solver",
"analyzer_version": "1.10.3",
"arguments": {
"python": {
"exclude_packages": null,
"index": "https://pypi.org/simple",
"limited_output": false,
"no_pretty": false,
@fridex
fridex / package-extract-211123140733-c4691cac3b91cb92.json
Last active November 23, 2021 14:26
Results of Thoth's container image analyses for quay.io/thoth-station/ps-cv-pytorch:v0.1.2
This file has been truncated, but you can view the full file.
{
"metadata": {
"analyzer": "thoth-package-extract",
"analyzer_version": "1.2.0",
"arguments": {
"extract-image": {
"image": "quay.io/thoth-station/ps-cv-pytorch:v0.1.2",
"no_pretty": false,
"no_tls_verify": false,
"output": "/mnt/workdir/package-extract-211123140733-c4691cac3b91cb92",
@fridex
fridex / package-extract-211123135517-b417d7cf10debf08.json
Created November 23, 2021 14:01
Results of Thoth's container image analyses for quay.io/fedora/fedora:34
{
"metadata": {
"analyzer": "thoth-package-extract",
"analyzer_version": "1.2.0",
"arguments": {
"extract-image": {
"image": "quay.io/fedora/fedora:34",
"no_pretty": false,
"no_tls_verify": false,
"output": "/mnt/workdir/package-extract-211123135517-b417d7cf10debf08",
@fridex
fridex / Pipfile
Created September 10, 2021 06:14
Packages
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[packages]
awscli = "==1.20.28"
botocore = "==1.21.28"
click = "==8.0.1"
colorama = "==0.4.3"
@fridex
fridex / Pipfile.lock
Created June 30, 2021 07:28
seldon-core with tensorflow Pipfile.lock
{
"_meta": {
"hash": {
"sha256": "82a12ed290169de6cf3ff88bf420740a5c4e04c69736ce73270409106ce98dd8"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.6"
},
"sources": [
@fridex
fridex / Pipfile.lock
Last active January 11, 2021 17:36
resolving stack
{
"_meta": {
"hash": {
"sha256": "4eee0da583a3e934b6f42c73441c40d91cf7ee1b46602bdc4851279a4e15dccc"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.8"
},
"sources": [
@fridex
fridex / termial_random.py
Created October 15, 2020 11:58
Termial random using CPython extension
#!/usr/bin/env python3
# pip install termial-random
from termial_random import random as termial_random
from termial_random import seed as termial_seed
import math
import os
import random
import sys
import timeit
@fridex
fridex / gist:681605f0bcf6437a71c5ed64883e0a24
Created September 4, 2020 08:09
TensorFlow and its dependency NumPy in the stack
>>> from thoth.storages import GraphDatabase
>>> graph = GraphDatabase()
>>> graph.connect()
The database schema is not in sync with library revisions, the current library revision heads: {'83e2900c3721'}, database heads: {'7c261487d4d4'}
>>> from pprint import pprint
>>> # The dict returned is formed out of extras name (None if no extra) and a list of possible direct dependencies respecting version range specification of packages.
>>> pprint(graph.get_depends_on("tensorflow", "2.2.0", "https://pypi.org/simple"))
{None: [('absl-py', '0.7.0'),
('absl-py', '0.7.1'),
('absl-py', '0.8.0'),