Voraussetzung:
- Du hast einen id_rsa.pub in deinem SSH Verzeichnis auf dem Mac
- Der Zielserver hat bereits einen .ssh Ordner
- Du hast das SSH Server Passwort zur Hand
cat ~/.ssh/id_rsa.pub| ssh user@host.example 'cat >> .ssh/authorized_keys'
#!/bin/bash | |
# | |
# Display usage info | |
vhost-usage() { | |
cat <<"USAGE" | |
Usage: vhost [OPTIONS] <name> | |
-h|--help this screen | |
-pub to create the webhost root in ~/www/name/public/ | |
-url to specify a local address, default is http://name.local |
<VirtualHost *:80> | |
ServerAdmin template.email | |
DocumentRoot template.webroot | |
ServerName template.url | |
ErrorLog "/private/var/log/apache2/template.name-error_log" | |
CustomLog "/private/var/log/apache2/template.name-access_log" common | |
<Directory template.webroot> | |
Options Includes FollowSymLinks ExecCGI | |
AllowOverride All | |
Order allow,deny |
Verifying that +neverything is my blockchain ID. https://onename.com/neverything |
<?php | |
/* | |
MU Plugin: remove-jetpack-css | |
Plugin Name: WP Remove jetpack.css | |
Plugin URI: http://required.ch | |
Description: Removes the jetpack.css | |
Version: 1.0 | |
Author: Silvan Hagen | |
Author URI: http://www.silvanhagen.com | |
License: GPLv3 |
vagrant plugin update $(vagrant plugin list |awk '/^[:alnum:]/i {print $1}') |
#user-feedback-init-button, | |
#user-feedback-bottombar, | |
.user-feedback-modal, | |
.user-feedback-annotation { | |
z-index: 100; | |
} | |
#user-feedback-canvas { | |
z-index: 99; | |
} |
span:empty::before { | |
content: attr(id); | |
} | |
span:empty { | |
display: block; | |
border: 1px dashed black; | |
} |
<?php | |
/* | |
* Plugin Name: Post Likes | |
* Description: WP REST API Post Likes | |
* Author: Joe Hoyle | |
* Version: 1.0 | |
* Author URI: http://joehoyle.co.uk | |
*/ |