Skip to content

Instantly share code, notes, and snippets.

View trishnaguha's full-sized avatar
🎯

Trishna Guha trishnaguha

🎯
View GitHub Profile
# Git repo
# https://github.com/tnozicka/gopipelines
# (optional) pre-pull images
docker pull openshift/origin-sti-builder:v1.4.1
docker pull openshift/origin-deployer:v1.4.1
docker pull openshift/origin-docker-registry:v1.4.1
docker pull openshift/origin-haproxy-router:v1.4.1
docker pull openshift/origin:v1.4.1
docker pull openshift/origin-pod:v1.4.1
@jzb
jzb / Atomic Host Definition.md
Last active June 23, 2023 15:17
Atomic Host Definition [Discussion Draft]

Atomic Host Definition [Discussion Draft]

This document is meant to serve as a baseline definition for Project Atomic hosts, to be implemented from CentOS, Fedora, and Red Hat Enterprise Linux (RHEL).

The purpose of the document is not to restrict the packages or services offered with an Atomic host, but to ensure a baseline of functionality and working standard that each product team can implement before adding additional functionality.

The initial working draft is being taken from work going into RHEL Atomic, but it is expected that the CentOS Atomic SIG and Fedora Cloud Workgroup will provide input and direction to Project Atomic going forward. This is simply the first cut at a shared understanding that gives each team a basis for cooperation.

Atomic Host Definition

@LordAmit
LordAmit / data_structure.py
Created July 5, 2013 13:13
Linked List, Stack, Queue implementations in Python. Might be wrong somewhere due to my lack of skill in Python. Please leave a comment in case you notice anything I should fix.
# -*- coding: utf-8 -*-
#!/usr/bin/python
from cssutils.util import Item
#==============================================================================
# Written following the example by Graham.
# IMHO, there was problem with the stack pop method. Even though
# tail pointed to the previous object in the linked list right after pop,
# the tail kept pointing at the popped Item.
#Written by Amit
@thinkphp
thinkphp / gist:1450738
Created December 9, 2011 08:29
Binary Search Tree implementation in Python
'''
by Adrian Statescu <adrian@thinkphp.ro>
Twitter: @thinkphp
G+ : http://gplus.to/thinkphp
MIT Style License
'''
'''
Binary Search Tree
------------------
@bortzmeyer
bortzmeyer / gist:1284249
Created October 13, 2011 13:42
The only simple way to do SSH in Python today is to use subprocess + OpenSSH...
#!/usr/bin/python
# All SSH libraries for Python are junk (2011-10-13).
# Too low-level (libssh2), too buggy (paramiko), too complicated
# (both), too poor in features (no use of the agent, for instance)
# Here is the right solution today:
import subprocess
import sys