This file contains 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 perl | |
############################################################################## | |
# | |
# Copyright 2021, NDP LLC | |
# | |
# 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 file contains 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
# ########################################################################## # | |
# ################################## NOTE ################################## # | |
# ########################################################################## # | |
# ########################################################################## # | |
# # | |
# This Doxyfile is a good starting place for reverse engineering an # | |
# external code base. You probably do not want to use this for actual # | |
# product or API document generation. # | |
# # | |
# ########################################################################## # |
This file contains 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
#!/bin/sh | |
############################################################################## | |
# Test a C/C++ header file for standalone validity. This will help show if | |
# there are missing/implicit headers etc. | |
# | |
# Usage | |
# ----- | |
# checkheader.sh foo.h ... | |
# |
This file contains 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
#!/bin/bash | |
############################################################################## | |
# Wrapper for non-interactive signing of RPMs. | |
# | |
# _NOTE: This uses environment variables for sensitive information (the GPG | |
# passphrase), so should not be used on an untrusted or shared host._ | |
# | |
# Prep | |
# ---- |
This file contains 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
#!/bin/bash | |
# test each redhat subscription key against a given (repo) url | |
if [ -z "$1" ]; then | |
echo "usage: $0 <url>" | |
echo "" | |
echo "example:" | |
echo " $0 'https://cdn.redhat.com/content/dist/rhel/server/7/\$releasever/\$basearch/os/repodata/repomd.xml'" | |
exit 1 |
This file contains 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
#!/bin/sh | |
# | |
# Try very hard to unload Nouveau driver. Tested on RHEL 7.7 in a | |
# systemd context. Run this before trying to install the NVIDIA | |
# driver. | |
# | |
# Inspired by https://gist.github.com/davispuh/84674924dff1db3e7844 | |
# | |
# --- | |
# |
This file contains 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 python | |
# Copyright 2019, NDP LLC | |
# | |
# 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. | |
# |
This file contains 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
Subject: Re: poise-python maintainer | |
To: James Flemer <[email protected]> | |
From: Noah Kantrowitz <[email protected]> | |
Date: Fri, 12 Jul 2019 12:21:21 -0700 | |
To put it more bluntly: 1) I don't believe you can maintain it 2) I have | |
no reason to trust you. | |
It has nothing to do with being an open-source proponent, it's about | |
responsibility to end users. Sometimes to best thing to do is let things |
This file contains 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowViewAccountInfo", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:GetAccountPasswordPolicy", | |
"iam:GetAccountSummary", | |
"iam:ListVirtualMFADevices" |
This file contains 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
#!/bin/bash | |
merge_commit() { | |
git show --no-patch --format='%P' "$@" | head -1 | grep -q ' ' | |
} | |
commit_meta() { | |
git show --no-patch --format="* %cd %aN <%ae> - %H" --date=local "$@" | \ | |
head -1 | \ | |
sed -E 's/^(\* [a-z0-9 ]{9,10}) \d{2}:\d{2}:\d{2}/\1/i' |
NewerOlder