Skip to content

Instantly share code, notes, and snippets.

View dandoingdev's full-sized avatar

Daniel dandoingdev

View GitHub Profile
# This script can be run from puppet using puppetlabs/powershell:
# exec { 'setup-ansible-remoting':
# command => file("${module_name}/ansible-setup-windows.ps1"),
# provider => powershell,
# logoutput => true,
# }
# To make sure that we can run local scripts. You may need to run this line manually before you can run this script
Set-ExecutionPolicy unrestricted
# Doing this the hard way for old versions of powershell that don't interpolate and don't support Invoke-WebRequest
Fatal error: [Aura\Intl\Exception\CannotFormat] Invalid UTF-8 data in string argument: '/Users/dan/cakebox/Apps/mycake3/src/Template/Error/error500.ctp': U_ILLEGAL_ARGUMENT_ERROR
#0 /Users/dan/cakebox/Apps/mycake3/vendor/cakephp/cakephp/src/I18n/Formatter/IcuFormatter.php(51): Cake\I18n\Formatter\IcuFormatter->_formatMessage('en_US', 'Render {0}', Array)
#1 /Users/dan/cakebox/Apps/mycake3/vendor/aura/intl/src/Aura/Intl/Translator.php(142): Cake\I18n\Formatter\IcuFormatter->format('en_US', 'Render {0}', Array)
#2 /Users/dan/cakebox/Apps/mycake3/vendor/cakephp/cakephp/src/I18n/functions.php(81): Aura\Intl\Translator->translate('Render {0}', Array)
#3 /Users/dan/cakebox/Apps/mycake3/vendor/cakephp/debug_kit/src/Panel/TimerPanel.php(84): __d('debug_kit', 'Render {0}', '/Users/dan/cake...')
#4 /Users/dan/cakebox/Apps/mycake3/vendor/cakephp/cakephp/src/Event/EventManager.php(388): DebugKit\Panel\TimerPanel->DebugKit\Panel\{closure}(Object(Cake\Event\Event), '/Users/dan/cake...')
#5 /Users/dan/cakebox/Apps/myc