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, todos los posteriores son rechazados.
Ualá es Mastercard y Brubank es Visa, ambas débito prepagas. No probé otras pero estimo que debe pasar algo similar. Ualá dice que no tiene límite así que supongo el límite será impuesto desde Mastercard…
Si tu gasto necesita superar ese monto, mi recomendación es que acumules en la cuenta a través de sucesivas cargas y hagas la compra con el saldo en la cuenta.
Notas de la sección: Sin categoría
Tipos de archivos permitidos – Add allowed file type to WordPress multisite
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 to the media library.
Add unfiltered_html Capability to Admins or Editors in WordPress Multisite
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 && user_can( $user_id, 'editor' ) ) { $caps = array( 'unfiltered_html' ); } return $caps; } add_filter( 'map_meta_cap', 'km_add_unfiltered_html_capability_to_editors', 1, 3 );
Código Link de pago de Fibercorp
Es 00 (doble cero) y el Número de Referencia de Pago, ejemplo: 00XXXXXXXX
Error in Sage 8 npm install: gyp: No Xcode or CLT version detected!
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
Bower versions < 1.8.8 are vulnerable
All Bower versions < 1.8.8 are vulnerable and someone could hack your computer if you won’t update. Please npm install -g bower and also update your docker images if you use them.
List NPM Packages Installed Globally
# npm list -g –depth=0
- npm: the Node package manager command line tool
- list -g: display a tree of every package found in the user’s folders (without the -g option it only shows the current directory’s packages)
- –depth 0 / –depth=0: avoid including every package’s dependencies in the tree view
PhpStorm Disable Search Help Menu Keybinding
Is maOS issue…
To diable OSX key mapping just follow below steps:
Click on Apple icon => System Preference => keyboard => shortcuts => App shortcuts=> uncheck show help menu
Source: https://intellij-support.jetbrains.com/hc/en-us/community/posts/207675825-Mac-OS-X-comment-block-command-slash?flash_digest=d0e03a17a258ff4b3bcf2c2a178a145d1b75bb3d
Solucionar problema de subida de imágenes en HostGator
Solution 5: Make GD Library Your Default Image Editor
Speaking of magic, did you know WordPress ships with two image editors? That’s right, WordPress uses either Imagick or the GD Library to process images. While they are both great, Imagick is notorious for exhausting the available memory and causing the HTTP error.
To circumvent this problem, you need to make GD Library your default editor. How? Just drop this code to your theme’s functions.php file:
- function hs_image_editor_default_to_gd( $editors ) {
- $gd_editor = ‘WP_Image_Editor_GD’;
- $editors = array_diff( $editors, array( $gd_editor ) );
- array_unshift( $editors, $gd_editor );
- return $editors;
- }
- add_filter( ‘wp_image_editors’, ‘hs_image_editor_default_to_gd’ );<code></code>
Save your changes and try to upload the image again. If the HTTP error persists, revert the code change and try the next solution.
Fuente: https://www.hostinger.com/tutorials/http-error-when-uploading-images-to-wordpress
wordpress async-upload.php error hostgator
Apagar y prender bluetooth, on and off, restart…
$ sudo su # hciconfig hci0 down # hciconfig hci0 up # exit