PHPStrom or WebStorm Mocha Describe/It JSHint undefine error
Add this to jshint configuration: jshint: { options: { mocha: true, } } https://stackoverflow.com/a/27744984/2157329
Libro de apuntes...
Add this to jshint configuration: jshint: { options: { mocha: true, } } https://stackoverflow.com/a/27744984/2157329
To solve this problem, download de library in PhpStrom Preferences. (see screenshot in the article)
En los últimos días estuve haciendo unas pruebas porque me llamó la atención que rebotasen algunos pagos de Amazon España y otros no, y creo que llegué a un patrón. Aparentemente hay un límite diario alrededor de 150€ en Ualá y alrededor de 100€ en Brubank. Una vez que se llega a ese gasto diario,…
Lo loco sería que uno pensara que los aportes que hace al Estado (impuestos) son una inversión en vez de un gasto. En la economía doméstica, los que estamos arrancando en las finanzas personales y pequeñas inversiones, lo primero que descubrimos es a registrar y tratar de disminuir el gasto, para luego, con el remanente,…
In order to avoid reformatting the entire file when you save it from VSCode, save it without formatting. Run «Command + Shift + P» to open the Command Palette and type «save without» until you see «File: Save without Formatting» command – use that.
The allowed file types list on a multisite is saved in a site option. To add a file type to the allowed uploads list, you can use this code: add_filter(‘site_option_upload_filetypes’, function($file_types) { return rtrim($file_types) . ‘ ico ‘; }); In this case, we are adding the “ico” file extension to allow for uploading of favicons…
Fuente: https://kellenmace.com/add-unfiltered_html-capability-to-admins-or-editors-in-wordpress-multisite/ <?php /** * Enable unfiltered_html capability for Editors. * * @param array $caps The user’s capabilities. * @param string $cap Capability name. * @param int $user_id The user ID. * @return array $caps The user’s capabilities, with ‘unfiltered_html’ potentially added. */ function km_add_unfiltered_html_capability_to_editors( $caps, $cap, $user_id ) { if ( ‘unfiltered_html’ === $cap…
Es 00 (doble cero) y el Número de Referencia de Pago, ejemplo: 00XXXXXXXX
Aparentemente el error en MacOS surge por no tener (bien) instalado Xcode. Tuve que desinstalarlo y volver a instalarlo: # sudo rm -rf $(xcode-select -print-path) # xcode-select –install Fuente: https://github.com/schnerd/d3-scale-cluster/issues/7
Aparentemente, hay líneas muy largas en el archivo que se quiere importar. La solución es incrementar la variable max_allowed_packet de MySql, entrando por consola del servidor MySql se puede hacer con el siguiente comando: You can increase Max Allowed Packet: SET GLOBAL max_allowed_packet=1073741824; http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_max_allowed_packet Fuente: https://stackoverflow.com/questions/10474922/error-2006-hy000-mysql-server-has-gone-away