Skip to content

Instantly share code, notes, and snippets.

View xyntrix's full-sized avatar
:shipit:

Mike xyntrix

:shipit:
  • Red Hat
  • USA
View GitHub Profile
@chmouel
chmouel / tz.sh
Last active April 12, 2018 10:32
Moved to https://github.com/chmouel/tzconverter
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hello-openshift
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
@rafaeltuelho
rafaeltuelho / openshift-cheatsheet.md
Last active March 21, 2024 12:38
My Openshift Cheatsheet

My Openshift Cheatsheet

Project Quotes, Limits and Templates

  • Cluster Quota
oc create clusterquota env-qa \
    --project-label-selector environment=qa \
    --hard pods=10,services=5
    
oc create clusterquota user-qa \
@chsh
chsh / git-issue
Created April 26, 2014 15:54
Create issue for GitLab and create task for Todoist same time.
#!/usr/bin/env ruby
require 'cgi'
gem 'gitlab'
gem 'todoist'
require 'gitlab'
require 'todoist'
class IssueCreator
@rcoup
rcoup / rsync_parallel.sh
Created April 10, 2013 21:52
Parallel-ise an rsync transfer when you want multiple concurrent transfers happening,
#!/bin/bash
set -e
# Usage:
# rsync_parallel.sh [--parallel=N] [rsync args...]
#
# Options:
# --parallel=N Use N parallel processes for transfer. Defaults to 10.
#
# Notes: