Skip to content

Instantly share code, notes, and snippets.

View mtint's full-sized avatar
💭
Learning Openstack

Michael Tint mtint

💭
Learning Openstack
View GitHub Profile
@mtint
mtint / .bash_profile
Created March 10, 2023 14:22 — forked from stephenll/.bash_profile
.bash_profile file on Mac OS X
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases.
# Much of this was originally copied from:
# http://natelandau.com/my-mac-osx-bash_profile/
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
@mtint
mtint / Create user
Created February 2, 2022 13:07 — forked from ethanfurman/Create user
Etherpad Lite Install + Postgresql
sudo adduser --system --home=/opt/etherpad --group etherpad
@mtint
mtint / tmurray_16VM_unix_Only_no_heat_scalTest-01.py
Created November 3, 2021 15:38 — forked from tamurray/tmurray_16VM_unix_Only_no_heat_scalTest-01.py
simple test script to spin up 16 vms in Openstack using python API clients
#!/usr/bin/python
import os
import sys
import time
from pprint import pprint
from concurrent import futures
from keystoneclient.v2_0 import client as ks_client
from novaclient import client as nova_client
from neutronclient.neutron import client as neutron_client
@mtint
mtint / asg_of_server_with_floating.yaml
Created October 20, 2021 14:15 — forked from StephenKing/asg_of_server_with_floating.yaml
Assigning a Floating IP Address to Each Instance of an Autoscaling Group in OpenStack Heat
heat_template_version: 2013-05-23
description: >
This template creates an AutoScalingGroup based on the stack
defined in the file `server_with_floating.yaml`.
parameters:
key_name:
type: string
description: Name of an existing key pair to use for the instances
@mtint
mtint / ubuntu-MBP-16.md
Created September 12, 2021 19:00 — forked from gbrow004/ubuntu-MBP-16.md
Ubuntu on Apple Macbook Pro 16-inch (2019)

Acknowledgements

This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:

Kernel Patches: aunali (https://github.com/aunali1/)

T2 security chip bypass to allow access to the SSD, keyboard, and trackpad: MCMrARM (https://github.com/MCMrARM)

Audio: kevineinarsson

@mtint
mtint / tmux-cheat-sheet.md
Created August 24, 2021 13:06 — forked from michaellihs/tmux-cheat-sheet.md
tmux Cheat Sheet
@mtint
mtint / README.md
Created August 13, 2021 10:42 — forked from jverweijL/README.md
Adding WiFi Drivers to Ubuntu/Linux for Dell’s XPS-15 9500 with AX500

Based upon https://mukaiguy.medium.com/adding-wifi-drivers-to-ubuntu-linux-for-dells-xps-15-9500-with-ax500-f535fb42db70

Step 1 — Pre-Requisites The line of code below will update, then upgrade all of the packages and their dependencies as necessary. Then it will install git if it’s not already installed, as well as the other tools needed to build the kernels. *Note I use the -y flag to indicate that I am okay with the installs. feel free to change that if you want to be asked.

sudo apt update && sudo apt -y full-upgrade && sudo apt install -y git && sudo apt-get install -y build-essential libncurses-dev bison flex libssl-dev libelf-dev dwarves

I had to install a dwarf 1.17

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@mtint
mtint / keybase.md
Last active June 2, 2021 10:57
keybase.md

Keybase proof

I hereby claim:

  • I am mtint on github.
  • I am mtintstfc (https://keybase.io/mtintstfc) on keybase.
  • I have a public key ASCdDABuKmOt4u6NRKxFnlxAMsn4ReQv-Iz4_87PmlKsTAo

To claim this, I am signing this object:

@mtint
mtint / osx_setup.md
Created April 27, 2021 10:16 — forked from mcls/osx_setup.md
Setup mac for ruby dev