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 | |
import requests | |
import podman | |
import io | |
def get_all_versions( | |
package_name: str, | |
org: str, |
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
BEGIN MESSAGE. | |
t3mgI6JrauGZiGl A8FLki7GtYubR6h yI1J3t2ZcjWKSAc bOO5fXFJTN7vgir | |
mZbvqTXhK7zv2Mj j6sHV4Uk8mHTCKq 6Xr2MZHgg75YW0N IGw1wLk8vefU2FL | |
8a64V7lfCPU9q7K R97D6HVgkYEZfJ8 3N0dxfSwadtINN8 zXrg9PbNo51JZKE | |
22AhBA69qRTUKSq nHVEKyst6WRvqaV 1NJxK21. | |
END MESSAGE. |
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
function github-raw() { | |
# replace /blob/ in the GitHub URL with /raw/ | |
curl --silent --location --remote-name ${1:s#/blob/#/raw/#} | |
} |
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
# Maintainer: Simon Weald <simon[at]simonweald[dot]com> | |
pkgname=stern-bin | |
pkgdesc="Multi pod and container log tailing for Kubernetes" | |
pkgver=1.6.0 | |
pkgrel=2 | |
arch=('x86_64') | |
url="https://github.com/wercker/stern" | |
license=('apache') | |
_stern_file=stern_linux_amd64 |
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 python | |
import click | |
import configparser | |
import json | |
import os | |
import requests | |
import webbrowser | |
from boto.sts import STSConnection |
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 bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
if [ ${#} = 0 ]; then | |
profile=default | |
else | |
profile=${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
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -5,12 +5,12 @@ | |
pkgname=sysbench | |
pkgver=1.0.9 | |
-pkgrel=2 | |
+pkgrel=3 | |
pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." | |
url="https://github.com/akopytov/sysbench" |
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
--- PKGBUILD 2017-06-17 14:26:50.520424308 +0200 | |
+++ PKGBUILD.completion 2017-06-17 14:29:26.654709540 +0200 | |
@@ -17,4 +17,8 @@ | |
package() { | |
install -Dm 755 "$srcdir/$_kubectl_file" "$pkgdir/usr/bin/kubectl" | |
+ install -d 755 "$pkgdir/usr/share/bash-completion/completions" | |
+ "$pkgdir/usr/bin/kubectl" completion bash > "$pkgdir/usr/share/bash-completion/completions/kubectl" | |
+ install -d 755 "$pkgdir/usr/share/zsh/site-functions" | |
+ "$pkgdir/usr/bin/kubectl" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_kubectl" |
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
/** | |
* PhantomJS script to capture/render screenshots of the slides of a Reveal.js powered slideshow. | |
*/ | |
var page = require('webpage').create(); | |
var args = require('system').args; | |
// Get url to render from command line. | |
var url; | |
if (args.length < 2) { |
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
#!/bin/sh | |
uci batch << EOF | |
add network switch_vlan | |
set network.@switch_vlan[-1].device='switch0' | |
set network.@switch_vlan[-1].ports='1t 5t' | |
set network.@switch_vlan[-1].vlan='2' | |
set network.guest='interface' | |
set network.guest.type='bridge' |
NewerOlder