rsync -azvvP -e user@192.168.2.1:/var/www/ /www --filter=". filter.txt"
With the SSH command for the port if needed.
rsync -azvvP -e 'ssh -p 2801' user@192.168.2.1:/var/www/ /www --filter=". filter.txt"
// Learn more about destination functions API at | |
// https://segment.com/docs/connections/destinations/destination-functions | |
/** | |
* Handle track event | |
* @param {SegmentTrackEvent} event | |
* @param {FunctionSettings} settings | |
*/ | |
async function onTrack(event, settings) { | |
// Learn more at https://segment.com/docs/connections/spec/track/ |
<?php | |
include 'config.core.php'; | |
include MODX_CORE_PATH . 'model/modx/modx.class.php'; | |
$modx = new modX(); | |
$modx->setLogTarget(XPDO_CLI_MODE ? 'ECHO' : 'HTML'); | |
$modx->initialize('mgr'); | |
$modx->setLogLevel(modX::LOG_LEVEL_INFO); |
location ^~ /subdir(.*) {
return 301 $scheme://$http_host/$1$is_args$query_string;
}
<?php | |
/* | |
Quick fix for this problem until I have the time to look for the cause. | |
"Fatal Error: Cannot redeclare class modTemplateVarInputRenderText... | |
...in core/model/modx/processors/element/tv/renders/mgr/input/text.class.php onl line 10" | |
*/ | |
/** | |
* @package modx |
I didn't want to use scaled down images without adjusting the lower resolution images to be crisper and cleaner. Scaled images often yield crappy results. See this article by John Hicks for more info.
I am using png2ico installed via Homebrew.
Prior to running the conversion I ran the images through ImageOptim (there may be a better way to do this).
This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.
There’s more to come, and I’d love to hear what you think. Give me feedback on Twitter (@nicoleslaw) or by email (nicole@nicolefenton.com). We all benefit from sharing our ideas and creating standards. Onward.
I hereby claim:
To claim this, I am signing this object: