Skip to content

Instantly share code, notes, and snippets.

View dims's full-sized avatar

Davanum Srinivas dims

View GitHub Profile
@dims
dims / README.md
Created August 11, 2021 15:57 — forked from aojea/README.md
Run Kubernets conformance tests
@dims
dims / k8s-keystone-auth.md
Created February 6, 2019 12:45 — forked from lingxiankong/k8s-keystone-auth.md
[TEMP] Deploy k8s-keystone-auth

create serviceaccount

mkdir -p /etc/kubernetes/keystone-auth

cat <<EOF > /etc/kubernetes/keystone-auth/serviceaccount.yaml
---
kind: ServiceAccount
apiVersion: v1
metadata:
@dims
dims / disable_macOS_parental_controls.sh
Created December 22, 2017 21:12 — forked from sloanlance/disable_macOS_parental_controls.sh
Disable Parental Controls and other services in macOS Sierra (OS X)
#!/bin/bash
# This is a draft but it works
# FIRST (I don't even know if it works but we'll assume yes)
# sudo launchctl list
# sudo launchctl disable system/netbiosd
# sudo launchctl disable system/parsecd
# sudo launchctl disable system/parentalcontrols.check
# sudo launchctl disable system/airportd
@dims
dims / screen-docker-for-mac.sh
Created March 7, 2017 11:09 — forked from BretFisher/docker-for-mac.md
Screen Commands for Docker for Mac (prevent garbled text on reconnect)
# connect to tty on Docker for Mac VM
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
# disconnect that session but leave it open in background
Ctrl-a d
# list that session that's still running in background
screen -ls
# reconnect to that session (don't open a new one, that won't work and 2nd tty will give you garbled screen)
@dims
dims / Fuel 7.0 on Mac OS X 10.10
Last active August 29, 2015 14:27 — forked from michalskalski/Fuel 7.0 on Mac OS X 10.10
Fuel 7.0 on Mac OS X 10.10
1. Dowload Fuel main repository
$ wget https://github.com/stackforge/fuel-main/archive/master.zip
2. Unpack and go to virtualbox directory
$ unzip master.zip && cd fuel-main-master/virtualbox
3. Put ISO image inside iso directory
4. As a root edit your packet control configuration to create NAT for admin network
$ sudo vim /etc/pf.conf
#!/usr/bin/python
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
<%
director_uuid = 'CHANGEME'
static_ip = 'CHANGEME'
root_domain = "#{static_ip}.xip.io"
deployment_name = 'cf'
cf_release = '173'
protocol = 'http'
common_password = 'c1oudc0wc1oudc0w'
%>
---