Prestashop guide http://doc.prestashop.com/display/PS17/Migrating+a+module+from+1.6+to+1.7
https://developers.prestashop.com/themes/smarty/helpers.html
File: classes/link.php -> function getUrlSmarty($params).
| /* This file is auto-generated. Do not edit directly. */ | |
| /*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */ | |
| @layer properties; | |
| @layer theme { | |
| :root, :host { | |
| --spacing: 0.25rem; | |
| --text-xs: 0.75rem; | |
| --text-xs--line-height: calc(1 / 0.75); | |
| --text-sm: 0.875rem; | |
| --text-sm--line-height: calc(1.25 / 0.875); |
| #!/bin/bash | |
| # | |
| # Cron | |
| # | |
| # 1. Create a file call it `/home/USER/changewallpaper` whit all this content | |
| # 2. Execute with `chmod +x /home/USER/changewallpaper` | |
| # 3. Create or edit the cron with `crontab -e` | |
| # 4. add `0 * * * * /home/USER/changewallpaper` | |
| # | |
| # where (minute|hour|day-month|month|week) chek https://crontab.guru/ |
| // FOR VUE | |
| module.exports = { | |
| "root": true, | |
| "extends": [ | |
| "plugin:vue/recommended", // ver-> https://alligator.io/vuejs/vue-eslint-plugin/ | |
| // "plugin:prettier/recommended", | |
| "eslint:recommended" | |
| ], | |
| "rules": { | |
| // Disallow the use of debugger |
| // Place your key bindings in this file to override the defaults | |
| // https://code.visualstudio.com/docs/editor/userdefinedsnippets#_assign-keybindings-to-snippets | |
| [ | |
| // Comentarios | |
| // { | |
| // "key": "ctrl+l", | |
| // "command": "editor.action.insertSnippet", | |
| // "args": { | |
| // "name": "console_log" | |
| // } |
Prestashop guide http://doc.prestashop.com/display/PS17/Migrating+a+module+from+1.6+to+1.7
https://developers.prestashop.com/themes/smarty/helpers.html
File: classes/link.php -> function getUrlSmarty($params).
| <?php | |
| $url = "http://clientes.tcc.com.co/servicios/liquidacionacuerdos.asmx?wsdl"; | |
| /* Initialize webservice TCC WSDL */ | |
| $client = new SoapClient($url); | |
| /* Get TCC functions and types functions */ | |
| // print_r($client->__getFunctions()); | |
| // print_r($client->__getTypes()); |
| { | |
| "cmd": ["/usr/local/bin/node", "$file"], | |
| "selector": "source.js", | |
| "windows": { | |
| "shell": true | |
| } | |
| } |
| care bear stare , Material theme | |
| 16px | |
| monaco |
| # Copyright (c) 2010 Pablo Seminario <pabluk@gmail.com> | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU General Public License for more details. |
####Convertir canvas imagen a datauri, sera ya el formulario para enviar
para un canvas,donde canvas es el objecto que contiene la imagen fd es el formulario:
var dataURL = canvas.toDataURL('image/jpeg', 0.5);
var blob = dataURItoBlob(dataURL);
var fd = new FormData(document.forms[0]);
fd.append("canvasImage", blob);
```
para un base64, donde **Base64** es el string base64 con la imagen y **fd** es el formulario: