This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Si por error, quedan incluídos en el repositorio archivos con datos sensibles, o archivos que no deberían estar incluídos, puede ser necesario eliminar commits anteriores. | |
| # Esta solución borra todo el historial de commits, y deja el estado actual del repositorio como último commit. | |
| # La idea básicamente es generar un branch nuevo (huérfano), a partir del "main" branch, después borrar el "main", renombrar el branch recién creado como "main" y forzar el update de git. | |
| # En gitlab, "main" puede estar protejido, por lo que para hacer esto, hay que quitar esta protección: | |
| # https://stackoverflow.com/questions/32246503/fix-gitlab-error-you-are-not-allowed-to-push-code-to-protected-branches-on-thi | |
| # Fuente: | |
| # https://clearinsights.io/blog/how-to-remove-all-git-commit-history/ | |
| # Copiar el ranch actual (main) a un nuévo branch huérfano |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET NAMES utf8; | |
| SET time_zone = '+00:00'; | |
| SET foreign_key_checks = 0; | |
| SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
| SET NAMES utf8mb4; | |
| CREATE TABLE `paises` ( | |
| `id` smallint(3) unsigned zerofill NOT NULL, | |
| `flag` varchar(255) COLLATE utf8mb4_spanish_ci NOT NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossOrigin="anonymous"></script> | |
| <script src="https://code.jquery.com/jquery-migrate-3.4.0.min.js" integrity="sha256-mBCu5+bVfYzOqpYyK4jm30ZxAZRomuErKEFJFIyrwvM=" crossOrigin="anonymous"></script> | |
| <p>Use our support | |
| <a href='mailto:support@domain.com'>support@domain.com</a> | |
| <a href='javascript:;' class='btnCopy'><input type='hidden' readonly value='support@domain.com'/><sup>⧉</sup></a> | |
| to contact us</p> | |
| <script> | |
| $(document).ready(function() { | |
| var $elements = $(".btnCopy"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript" src="https://sdk.mercadopago.com/js/v2"></script> | |
| <div class="cho-container"></div> | |
| <script> | |
| const PreferenceId = '', //get this from MpMakePreference.php | |
| PublicKey = '', | |
| RenderContainer = '.cho-container', | |
| RenderLabel = 'Pay with MP', | |
| Locale = 'es-AR', | |
| mp = new MercadoPago(PublicKey, {locale: Locale}); | |
| mp.checkout({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This Software is provided "as is" under the terms of the MIT license. | |
| * @link https://opensource.org/licenses/MIT | |
| */ | |
| /** | |
| * Provides named constants for HTTP protocol status codes and their messages | |
| * | |
| * - Originally written for the Recess Framework http://www.recessframework.com |