Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #! /usr/bin/env python | |
| """ | |
| Script that checks all uncommented domains in a nginx or apache config directory. | |
| The domain is checked for the HTTP return code and | |
| if the there is a DNS record for the domain. | |
| Optionaly you can provide the ip of you server and the script will check | |
| if the domain is hosted on your server or not. |
| #!/bin/bash -e | |
| # | |
| # Easy VirtualBox VM handling from the command line | |
| BASE_TEMPLATE="<uid-of-template-vm>" | |
| function show_help() { | |
| echo "Usage: $0 [cmd]" | |
| echo "Valid commands:" | |
| echo " list List available virtual machines" |
| from fabric.api import env | |
| import os | |
| import string | |
| _conf_root = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'conf') | |
| _conf_dirs = [x for x in os.listdir(_conf_root) | |
| if os.path.isdir(os.path.join(_conf_root, x)) | |
| and x != 'base'] | |
| def _mk_sethost_fn(host_dicts, context): |