Creating the NFS Volume:
$ docker volume create --driver local \
--opt type=nfs \
--opt o=addr=192.168.1.115,uid=1000,gid=1000,rw \
--opt device=:/mnt/volumes/mysql-test \
mysql-test-1
<?php | |
/** | |
* LDAP PHP Change Password Webpage | |
* @author: Matt Rude <http://mattrude.com> | |
* @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
* | |
* | |
* GNU GENERAL PUBLIC LICENSE | |
* Version 2, June 1991 |
#!/bin/bash | |
# | |
# XDEBUG.sh : a cmdline utility to test xdebug settings, | |
# and to easify automated, multi-user profiling,debugging and tracing in live-environments | |
# | |
# Copyright 2012, Leon van Kammen (Coder of Salvation), All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without modification, are | |
# permitted provided that the following conditions are met: | |
# |
var casper, states, toTitleCase, url; | |
String.prototype.capitalize = function() { | |
return this.charAt(0).toUpperCase() + this.slice(1); | |
}; | |
toTitleCase = function(str) { | |
return str.replace(/\w\S*/g, function(txt) { | |
return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); | |
}); |
#!/bin/bash | |
RANCHERENDPOINT=https://your_rancher_endpoint/v3 | |
# The name of the cluster where the user needs to be added | |
CLUSTERNAME=your_cluster_name | |
# Username, password and realname of the user | |
USERNAME=username | |
PASSWORD=password | |
REALNAME=myrealname | |
# Role of the user | |
GLOBALROLE=user |
#!/bin/bash | |
# Proof of concept of running playbooks in AWX and recording them in ARA | |
# From a vanilla CentOS8 image: https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.1.1911-20200113.3.x86_64.qcow2 | |
# Add local bin directory to PATH so we can use things installed with "pip install --user" | |
export PATH=$PATH:~/.local/bin | |
dnf -y update | |
# Install Ansible and Python3 |
This guide allows a safe and rootless installation of Podman on WSL2. Head over the hyperlinks to discover more about these two wonderful technologies!
This guide assumes that Debian 11 "bullseye" is installed as WSL2 base OS. To do it, simply open your Windows Powershell console under Admin rights and run
PS> wsl install -d Debian
After installation, please check that you are under the latest Debian. If not, please upgrade it.