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
| var scripts = document.getElementById('#IDENTIFICADOR DE <script>'); | |
| var queryString = scripts.src.replace(/^[^\?]+\??/,''); | |
| var params = parseQuery( queryString ); | |
| function parseQuery ( query ) { | |
| var Params = new Object (); | |
| if ( ! query ) return Params; // return empty object | |
| var Pairs = query.split(/[;&]/); | |
| for ( var i = 0; i < Pairs.length; i++ ) { | |
| var KeyVal = Pairs[i].split('='); |
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
| .filter("unscape",function(){ | |
| return function(input){ | |
| return input.replace(/\\/g, ''); | |
| } | |
| }); |
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
| UPDATE wp_options SET option_value = REPLACE(option_value,'http://localhost/www/compraregalos','http://compraregalos.mx'); | |
| UPDATE wp_posts SET post_content = REPLACE(post_content,'http://localhost/www/compraregalos','http://compraregalos.mx'); | |
| UPDATE wp_posts SET guid = REPLACE(guid,'http://localhost/www/compraregalos','http://compraregalos.mx'); | |
| UPDATE wp_postmeta SET meta_value = REPLACE(meta_value,'http://localhost/www/compraregalos','http://compraregalos.mx'); |
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
| ### Python template | |
| # Byte-compiled / optimized / DLL files | |
| __pycache__/ | |
| *.py[cod] | |
| # C extensions | |
| *.so | |
| # Distribution / packaging | |
| .Python |
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
| # -*- coding: utf-8 -*- | |
| import csv | |
| import logging | |
| import tablib | |
| from datetime import datetime | |
| from django.db.models import Model | |
| from django.db.models.fields.files import FieldFile | |
| from unicodedata import normalize | |
| from django.core.exceptions import PermissionDenied |
NewerOlder