Following steps work for F29 for F31 look here
cat /etc/redhat-release
Fedora release 29 (Twenty Nine)
Following steps work for F29 for F31 look here
cat /etc/redhat-release
Fedora release 29 (Twenty Nine)
# If you want to change project root, follow | |
# https://help.github.com/en/articles/splitting-a-subfolder-out-into-a-new-repository | |
# More advanced stuff: https://manishearth.github.io/blog/2017/03/05/understanding-git-filter-branch/ | |
# --------------------------------------------------------------------------------------------------- | |
## STEPS for Splitting a subfolder out into a new repository without changing project root directory | |
# clone the repo |
# Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when | |
# Java applications use SSL and HTTPS, because Java 9 changed a file format, if you | |
# create that file from scratch, like Debian / Ubuntu do. | |
# | |
# Before applying, run your application with the Java command line parameter | |
# java -Djavax.net.ssl.trustStorePassword=changeit ... | |
# to verify that this workaround is relevant to your particular issue. | |
# | |
# The parameter by itself can be used as a workaround, as well. |
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
USE sys; | |
DELIMITER $$ | |
CREATE FUNCTION IFZERO(a INT, b INT) | |
RETURNS INT | |
DETERMINISTIC | |
RETURN IF(a = 0, b, a)$$ | |
CREATE FUNCTION LOCATE2(needle TEXT(10000), haystack TEXT(10000), offset INT) |
#!/bin/sh | |
if [ "$1" = "" ]; then | |
echo "Usage: ksh <pod> [flags_to_kubectl]" | |
exit 1 | |
fi | |
POD=$1 | |
shift | |
COLUMNS=`tput cols` |
package main | |
import ( | |
"context" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" | |
"time" | |
) |
# http://stackoverflow.com/a/14050282 | |
def check_antipackage(): | |
from sys import version_info | |
sys_version = version_info[:2] | |
found = True | |
if sys_version < (3, 0): | |
# 'python 2' | |
from pkgutil import find_loader | |
found = find_loader('antipackage') is not None | |
elif sys_version <= (3, 3): |
/* MIT License | |
* | |
* Copyright (c) 2017 Roland Singer [[email protected]] | |
* | |
* 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: |