Everything enclosed in *
characters are placeholders for the arguments
that you need in your particular case.
To make a drive, actually a partition on a physical drive, available in
# Set this to the directory where the script is installed. | |
# Make sure the script is saving the files in a sane place | |
# when running as a cron job. | |
ROOT=. | |
#Directory to scan | |
DIR=/home/*/web/*/public_html/ | |
if [ ! -f ${ROOT}/dirdiff.lst ]; | |
then | |
touch ${ROOT}/dirdiff.lst |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress |
,*.php *.bak .htaccess | |
wp-admin,*.php | |
wp-admin/css,*.css | |
wp-admin/css/colors,*.css *.scss | |
wp-admin/css/colors/blue,*.css *.scss | |
wp-admin/css/colors/coffee,*.css *.scss | |
wp-admin/css/colors/ectoplasm,*.css *.scss | |
wp-admin/css/colors/light,*.css *.scss | |
wp-admin/css/colors/midnight,*.css *.scss | |
wp-admin/css/colors/ocean,*.css *.scss |
# -*- coding: utf-8 -*- | |
# Fabric file for deploying a flask installation including mongodb. | |
# | |
# Interesting tasks are: | |
# | |
# * purge: Remove everything but the application and the git repository. | |
# * purge_conf: Purge configurations. | |
# * purge_dep: Uninstall all packages. | |
# * deploy: Deploy the flask application to "/home/flask/*project_name*". |
# -*- coding: utf-8 -*- | |
""" | |
Manipulate a wp-config.php file. | |
MIT License | |
Copyright (c) 2017 Martin Bo Kristensen Grønholdt | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# -------------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <[email protected]> wrote this file. As long as you retain this notice | |
# you can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. Martin B. K. Grønholdt | |
# -------------------------------------------------------------------------------- | |
# Program to parse Python classes and write their info to PlantUML files | |
# (see http://plantuml.com/) that can be used to generate UML files and GraphViz |
#### Contents of the preconfiguration file (for jessie) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_GB | |
# The values can also be preseeded individually for greater flexibility. | |
#d-i debian-installer/language string en | |
#d-i debian-installer/country string NL | |
#d-i debian-installer/locale string en_GB.UTF-8 | |
# Optionally specify additional locales to be generated. |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/powerpc 4.9.6-gentoo-r1 Kernel Configuration | |
# | |
# | |
# Gentoo Linux | |
# | |
CONFIG_GENTOO_LINUX=y | |
CONFIG_GENTOO_LINUX_UDEV=y |