Skip to content

Instantly share code, notes, and snippets.

View mrda's full-sized avatar
😃

Michael Davies mrda

😃
View GitHub Profile
@mrda
mrda / remote_crc.md
Created January 20, 2022 05:58 — forked from tmckayus/remote_crc.md
Running 'crc' on a remote server

Overview: running crc on a remote server

This document shows how to deploy an OpenShift instance on a server using CodeReady Containers (crc) that can be accessed remotely from one or more client machines (sometimes called a "headless" instance). This provides a low-cost test and development platform that can be shared by developers. Deploying this way also allows a user to create an instance that uses more cpu and memory resources than may be available on his or her laptop.

While there are benefits to this type of deployment, please note that the primary use case for crc is to deploy a local OpenShift instance on a workstation or laptop and access it directly from the same machine. The headless setup is configured completely outside of crc itself, and supporting a headless setup is beyond the mission of the crc development team. Please do not ask for changes to crc to support this type of deployment, it will only cost the team time as they politely decline :)

The instructions here were tested with F

@mrda
mrda / cloud.vcl
Created July 9, 2020 00:09 — forked from katef/cloud.vcl
HTTP Moomin delivery
sub cloud_moomin {
set resp.http.moomin00 = " %1b[38;5;237m▄%1b[38;5;235m▄%1b[49m";
set resp.http.moomin01 = " %1b[38;5;237m▄%1b[48;5;237m%1b[38;5;249m▄%1b[38;5;236m▄%1b[49m %1b[48;5;239m%1b[38;5;16m▄%1b[48;5;237m%1b[38;5;253m▄%1b[38;5;247m▄%1b[48;5;234m%1b[38;5;16m▄%1b[49m";
set resp.http.moomin02 = " %1b[38;5;233m▄%1b[48;5;253m%1b[38;5;237m▄%1b[48;5;254m%1b[38;5;255m▄%1b[38;5;251m▄%1b[38;5;239m%1b[49m▄ %1b[38;5;237m▄ %1b[48;5;254m%1b[38;5;248m▄%1b[48;5;249m%1b[38;5;254m▄%1b[48;5;235m%1b[38;5;246m▄%1b[49m";
set resp.http.moomin03 = " %1b[38;5;235m▄%1b[48;5;250m%1b[38;5;242m▄%1b[48;5;231m %1b[48;5;247m%1b[38;5;231m▄%1b[48;5;252m▄%1b[48;5;253m▄%1b[48;5;254m▄%1b[48;5;253m▄%1b[48;5;249m▄%1b[48;5;188m▄%1b[48;5;245m%1b[38;5;251m▄%1b[49m";
set resp.http.moomin04 = "
@mrda
mrda / tmux_cheatsheet.markdown
Created December 16, 2019 23:48 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@mrda
mrda / default
Created August 17, 2017 01:39 — forked from dtomasi/default
Brew Nginx PHP7
server {
listen 80;
server_name localhost;
root /Users/YOUR_USERNAME/Sites;
access_log /Library/Logs/default.access.log main;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
}
@mrda
mrda / gist:1734c027b6c9f6ba05330bdf8d8bebc8
Created October 4, 2016 11:14
Deploying Ironic off MASTER in September 2016
Starting off, U14.04 or U16.04. Accept no substitutes.
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install -y ack-grep screen
git clone https://github.com/openstack/openstack-ansible.git
cd openstack-ansible
# Apply OSA patches (cherrypick)
rabbitmq for ironic: Cherrypick https://review.openstack.org/#/c/375107
Ironic service info: Cherrypick https://review.openstack.org/#/c/375387
@mrda
mrda / gist:3ed18bc0752b8937efae
Created September 8, 2015 22:21
Ironic Config for AMT standalone testing
216c216
< #auth_strategy=keystone
---
> auth_strategy=noauth
236c236,237
< #enabled_drivers=pxe_ipmitool
---
> #enabled_drivers=fake_ipmitool
> enabled_drivers=pxe_amt
324c325

Keybase proof

I hereby claim:

  • I am mrda on github.
  • I am mrda (https://keybase.io/mrda) on keybase.
  • I have a public key whose fingerprint is 6870 C7B4 FB9C 629C C845 4E89 81C9 6288 F959 ABC5

To claim this, I am signing this object: