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
package main | |
import ( | |
"context" | |
"encoding/json" | |
corev1 "k8s.io/api/core/v1" | |
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
"k8s.io/apimachinery/pkg/runtime" | |
"k8s.io/apimachinery/pkg/types" |
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
FROM fedora:34 | |
RUN dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-34.noarch.rpm \ | |
https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-34-1.noarch.rpm | |
RUN dnf install git make autoconf gcc gcc-c++ libtirpc kmod python python3-gobject \ | |
libudev-devel libmodbus-devel readline-devel freeglut-devel libXmu-devel \ | |
libusb-devel glib2-devel gtk2-devel pygtk2 procps psmisc intltool tcl-devel tk-devel bwidget tkimg tclx \ | |
gtk3-devel \ | |
boost-python3-devel libwebsockets-devel python-devel -y |
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
{ | |
"ignition": { | |
"version": "2.0.0", | |
"config": {} | |
}, | |
"storage": { | |
}, | |
"systemd": {}, | |
"networkd": {}, | |
"passwd": { |
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 | |
# | |
# Common | |
# | |
print() { | |
reset='\033[0m' | |
case $2 in | |
info) |
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
angular.module('app', []) | |
// Constant to satisfy $injector | |
.constant('$extend', false) | |
// Base Controller to extend | |
.controller('ControllerBase', function($scope, $extend){ | |
'use strict'; | |
var self = $extend ? $extend : this; | |
// common extended property and function |