Skip to content

Instantly share code, notes, and snippets.

Dusty Mabe dustymabe

Block or report user

Report or block dustymabe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dustymabe
dustymabe / rpm_ostree_pkg.py
Created Nov 28, 2018
ansible module for rpm-ostree package layering
View rpm_ostree_pkg.py
#!/usr/bin/python
# https://github.com/ansible/ansible/issues/21185
# Copyright: (c) 2018, Dusty Mabe <dusty@dustymabe.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
View nopython.md

Below are packages that get removed from host without python

Most notable are:

  • authconfig
  • nfs-utils
  • policycoreutils-python (selinux tools)
  • iscsi-initiator-utils
  • tuned
  • subscription-manager
@dustymabe
dustymabe / NetworkManagerFun.txt
Last active Jun 30, 2017
NetworkManagerFun.txt
View NetworkManagerFun.txt
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=none
DEVICE=eth0
HWADDR=36:ee:40:2a:6d:56
MTU=1500
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
# Created by cloud-init on instance boot automatically, do not edit.
View vagrant-sshfs.gemspec
# -*- encoding: utf-8 -*-
# stub: vagrant-sshfs 1.3.0 ruby lib
Gem::Specification.new do |s|
s.name = "vagrant-sshfs".freeze
s.version = "1.3.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib".freeze]
s.authors = ["Dusty Mabe".freeze]
View 25relannouncement.md

The Fedora Project has changed Fedora Atomic Host to be based on Fedora 25 packages with this general release. Fedora Atomic includes a base disk image suitable for booting virtual machines in local or cloud environments. Fedora Atomic Host allows for creating hosts that are immediately ready for container deployment and can upgraded and rolled back in an atomic manner. This aspect of Fedora represents some of the most exciting changes, as we build more cloud and container-ready tools into Fedora to create a fantastic developer platform.

Fedora Atomic has a two-week refresh release cycle with major releases every six months. It has an easy upgrade path to accommodate rapid development for supporting the latest applications.

Fedora Atomic will allow the typical Fedora user to easily provision cloud services. User contributions and experience reports are particularly welcome in preparing for future versions.

Fedora Atomic will replace Fedora Cloud as one of our three Fedora Editions. The Fedora Cloud Base im

View VagrantLauncher.java
import java.util.*;
import java.io.*;
class StreamGobbler extends Thread
{
InputStream is;
String type;
StreamGobbler(InputStream is, String type)
{
this.is = is;
View stuffs
vi /etc/yum.repos.d/rh-dotnetcore10.repo
gpgcheck=0
#For Che
#installs docker 1.10
sudo yum install docker --enablerepo=rhel-7-server-extras-rpms
# installs java 1.8
sudo yum install --disablerepo=* --enablerepo=rhel-7-server-rpms java-1.8.0-openjdk*
sudo systemctl enable docker
View compose-httpd.yaml
version: "2"
services:
httpd:
build:
context: https://gist.githubusercontent.com/dustymabe/a34a4eb7e77d699ae1b83ac10abb8a45/raw/a43b684cee1a839fca16700769fe14fb17650dca/Dockerfile.centos-httpd
ports:
- "80:80"
View Dockerfile.centos-httpd
FROM centos:centos7
RUN yum -y install httpd && yum clean all
EXPOSE 80
CMD /usr/sbin/apachectl -DFOREGROUND
View docker-compose-helloworld-msa-no-haproxy.yaml
version: "2"
services:
hello:
build: ./hello/.
ports:
- "${HELLO_PORT}:8080"
labels:
- "app=hello"
- "hystrix.enabled=true"
You can’t perform that action at this time.