Skip to content

Instantly share code, notes, and snippets.

Reda NOUSHI noushi

  • EDC4IT
  • EMEA Literally
Block or report user

Report or block noushi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kvm -smp 2 \
-m 4096 \
-cpu host \
-M q35 \
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \
View Kerberos + Apache + SVN HOWTO
Kerberos + Apache + SVN
I did this on Ubuntu server 10.10. Based on this:
1) Make sure the server has appropriate DNS info, e.g.: (/etc/hosts) localhost ubuntu
noushi /
Created May 16, 2018 — forked from andreicristianpetcu/
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file


First one found from of


My Openshift Cheatsheet

Examine the cluster quota defined for the environment:

$ oc describe AppliedClusterResourceQuota

Install pkgs using yum in a Dockerfile

View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:


start new with session name:

POD=$( oc get pod -n glusterfs | grep heketi | cut -f1 -d' ' )
eval $(oc rsh $POD set | grep -i heketi )
oc rsh $POD heketi-cli --server $SERVER --user admin --secret $HEKETI_ADMIN_KEY
View memcached_operator.go
package memcached
import (
cachev1alpha1 ""
appsv1 ""
noushi / sysctl.conf
Created Nov 8, 2018 — forked from voluntas/sysctl.conf
Sysctl configuration for high performance
View sysctl.conf
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
noushi / gist:3dddf23debfe4ed672bd11d79d61c214
Last active Apr 26, 2018 — forked from jeremypruitt/gist:ca62a5cdc95f579713b9
Modified ansible windows remoting script
View gist:3dddf23debfe4ed672bd11d79d61c214
# Configure a Windows host for remote management with Ansible
# -----------------------------------------------------------
# This script checks the current WinRM/PSRemoting configuration and makes the
# necessary changes to allow Ansible to connect, authenticate and execute
# PowerShell commands.
# Set $VerbosePreference = "Continue" before running the script in order to
# see the output messages.
noushi /
Created Nov 9, 2017 — forked from congto/
How to use vagrant-kvm

Install Vagrant

sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L
dpkg -i vagrant_1.6.5_x86_64.deb 
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround

Install vagrant-kvm as user

You can’t perform that action at this time.