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 / gist:e1455f259c388966f844ed00f9c2974a
Created June 5, 2019 15:32 — forked from rkuzsma/gist:b9a0e342c56479f5e58d654b1341f01e
Example Kubernetes yaml to pull a private DockerHub image
Step by step how to pull a private DockerHub hosted image in a Kubernetes YML.
export DOCKER_REGISTRY_SERVER=https://index.docker.io/v1/
export DOCKER_USER=Type your dockerhub username, same as when you `docker login`
export DOCKER_EMAIL=Type your dockerhub email, same as when you `docker login`
export DOCKER_PASSWORD=Type your dockerhub pw, same as when you `docker login`
kubectl create secret docker-registry myregistrykey \
--docker-server=$DOCKER_REGISTRY_SERVER \
--docker-username=$DOCKER_USER \
@mtint
mtint / check_if_ruby_is_system.sh
Created October 27, 2019 23:58 — forked from petems/check_if_ruby_is_system.sh
Bash Script to check if rbenv for RVM is installed
#!/bin/bash
command_exists () {
command "$1" &> /dev/null ;
}
if command_exists rbenv
then
echo 'rbenv found, no action needed'
elif command_exists rvm
@mtint
mtint / gist:0011e54d491665db2d620226fb2ebf17
Created November 18, 2019 11:49 — forked from routelastresort/gist:6437206
example ansible playbook for digitalocean
---
- digital_ocean: >
state=present
command=ssh
name={{ digitalocean.sshkeyname }}
ssh_pub_key="{{ digitalocean.sshkey }}"
client_id={{ digitalocean.clientid }}
api_key={{ digitalocean.apikey }}
- digital_ocean: >
@mtint
mtint / commands.txt
Created March 20, 2020 10:12 — forked from adam1010/commands.txt
Web Server Setup on Amazon Linux 2
## Amazon Linux 2 ##
sudo yum update -y
sudo amazon-linux-extras install lamp-mariadb10.2-php7.2 nginx1.12
sudo yum install -y mariadb-server
sudo systemctl enable php-fpm
sudo systemctl enable nginx
sudo systemctl enable mariadb
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@mtint
mtint / Sublime Text License Key.md
Created May 6, 2020 13:21 — forked from gopalindians/Sublime Text License Key.md
Sublime Text 2 License Key, Sublime Text 3 License Key, Sublime Text Full Version.
@mtint
mtint / export-notes.applescript
Created May 29, 2020 10:20 — forked from kyoh86/export-notes.applescript
Export notes from Note.app to PDF files.
-- 対象のフォルダの一番上を選択している状態から始める
set targetFolder to "aaa"
tell application "Notes"
activate
repeat with theFolder in every folder
if name of theFolder = targetFolder then
repeat with theNote in every note of theFolder
tell application "System Events"
key code 126
@mtint
mtint / .DS_Store
Created June 9, 2020 13:55 — forked from kordless/.DS_Store
Building a CentOS Image for OpenStack in 10 Minutes
@mtint
mtint / install-openstack-client-osx.sh
Created June 25, 2020 12:50 — forked from gildas/install-openstack-client-osx.sh
Install Openstack client on Mac OS/X
# The cleanest way is to not use the system python at all (like rbenv for Ruby)
brew install python
pip2 install --upgrade pip setuptools
pip2 install --upgrade python-openstackclient