This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| fcode-paster: YubiKey TOTP Auto-Paste Tool | |
| Fetches TOTP code from YubiKey and pastes it into the active field. | |
| Generated by Claude, no copyright. | |
| """ | |
| import subprocess | |
| import sys |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import functools | |
| import sys | |
| import dnf | |
| import hawkey | |
| DNF_CACHEDIR = "_dnf_cache_dir" | |
| ARCH = "x86_64" | |
| METALINK = "https://mirrors.fedoraproject.org/metalink" | |
| KOJI = "http://kojipkgs.fedoraproject.org" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %spdx() %{lua: | |
| local licenses = require 'fedora.licenses' | |
| local expr = rpm.expand('%*') | |
| local function convert(spdx) | |
| if spdx == '' then | |
| return '' | |
| end | |
| local fedoras = licenses.spdx2fedora[spdx] | |
| if fedoras == nil then | |
| rpm.expand('%{warn:Unknown SPDX license "' .. spdx .. '", using literally}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # Copyright (c) 2020-2021 Fedora Project | |
| # | |
| # 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 2 | |
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import bugzilla | |
| import sys | |
| import logging | |
| assert sys.version_info[0] > 2, 'Needs Python 3' | |
| PKG = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # usage: $ watch -n 300 myfailures.py $(whoami) | |
| import re | |
| import sys | |
| from urllib.request import urlopen | |
| URL = 'https://kojipkgs.fedoraproject.org/mass-rebuild/f33-failures.html' | |
| USER = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (repoquery --repo=rawhide -f '/usr/bin/*3.7*' --qf "%{NAME}" 2>/dev/null; | |
| repoquery --repo=rawhide -f '/usr/bin/*3' --qf "%{NAME}" 2>/dev/null; | |
| repoquery --repo=rawhide -f '/usr/bin/python3-*' --qf "%{NAME}" 2>/dev/null) | sort | uniq > py3_cmd_pkgnames | |
| (for pkg in $(cat py3_cmd_pkgnames); do | |
| repoquery --repo=rawhide -l $pkg 2>/dev/null | |
| done) | grep ^/usr/bin | grep 3 | sort | uniq > py3_cmds | |
| for command in $(cat py3_cmds); do | |
| normalized=$(echo $command | sed 's|/usr/bin/python3-|/usr/bin/|' | sed -E 's|-?3(\.7)?||') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; generated by Slic3r 1.2.9 on 2017-03-12 at 16:07:38 | |
| ; external perimeters extrusion width = 0.40mm | |
| ; perimeters extrusion width = 0.48mm | |
| ; infill extrusion width = 0.48mm | |
| ; solid infill extrusion width = 0.48mm | |
| ; top infill extrusion width = 0.48mm | |
| M107 | |
| G90 |
NewerOlder