Last active
August 29, 2015 14:01
-
-
Save jaimeivan/6cfa831be6482b88c6a0 to your computer and use it in GitHub Desktop.
Revisions
-
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 20 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ Busca los `<a>` que NO tengan la propiedad `name` y que no tengan ningún contenido ___ De éstos: ```html <input name="2013" id="2013"></input> <a href="http://your.site.com"></a> <a href="http://your.site.com">sdsfs</a> <a name="2013" id="2013"></a> <a id="2013" name="2013"></a> ``` Encuentra éste: ```html <a href="http://your.site.com"></a> ``` **regex**: ``` (?!.*(name))<a.*><\/a> ``` -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Busca todo lo que tenga `onclick` ___ ```html -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ Busca todo lo que tenga onclick ___ ```html <a onclick="window.open(this.href,'options','scrollbars=yes,resizable=yes,width=720,height=400'); return false" href="http://your.site.com" /> -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ Busca lo que tenga en el `href` el script de *Dream Weaver* `MM_openBrWindow` y sólo deja el url ____ De: ```html @@ -11,6 +11,7 @@ a: ``` **regex**: Find What: ``` javascript:MM_openBrWindow\('([a-z/A-Z\-0-9.]*),?.*\) -
jaimeivan revised this gist
May 7, 2014 . 2 changed files with 4 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ Busca lo que tenga en el `href` el script de *Dream Weaver* `MM_openBrWindow` y sólo deja el url --- De: ```html 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ Busca todo lo que tenga onclick --- ```html <a onclick="window.open(this.href,'options','scrollbars=yes,resizable=yes,width=720,height=400'); return false" href="http://your.site.com" /> -
jaimeivan revised this gist
May 7, 2014 . 2 changed files with 23 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #Busca lo que tenga en el `href` el script de *Dream Weaver* `MM_openBrWindow` y sólo deja el url De: ```html <a href="javascript:MM_openBrWindow('http://your.site.com','nueva-vetana','scrollbars=yes,resizable=yes,width=720,height=400')">Tu sitio .com</a> ``` a: ```html <a href="http://your.site.com">Tu sitio .com</a> ``` **regex**: Find What: ``` javascript:MM_openBrWindow\('([a-z/A-Z\-0-9.]*),?.*\) ``` Replace With: ``` $1 ``` 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,10 @@ #Busca todo lo que tenga onclick ```html <a onclick="window.open(this.href,'options','scrollbars=yes,resizable=yes,width=720,height=400'); return false" href="http://your.site.com" /> ``` **regex**: ``` onclick=\".*?\" ``` -
jaimeivan revised this gist
May 7, 2014 . 2 changed files with 9 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ Busca todo lo que tenga onclick ```html <a onclick="window.open(this.href,'options','scrollbars=yes,resizable=yes,width=720,height=400'); return false" href="http://your.site.com" /> ``` ``` onclick=\".*?\" ``` 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +0,0 @@ -
jaimeivan revised this gist
May 7, 2014 . 2 changed files with 0 additions and 15 deletions.There are no files selected for viewing
File renamed without changes.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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +0,0 @@ -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 15 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ 1. Plain Strings (207): `foo` 2. Anchors (208): `k$` 3. Ranges (202): `^[a-f]*$` 4. Backrefs (201): `(...).*\1` 5. Abba (169): `^(.(?!(ll|ss|mm|rr|tt|ff|cc|bb)))*$|^n|ef` 6. A man, a plan (177): `^(.)[^p].*\1$` 7. Prime (286): `^(?!(..+)\1+$)` 8. Four (199): `(.)(.\1){3}` 9. Order (198): `^[^o].....?$` 10. Triples (507): `(^39|^44)|(^([0369]|([147][0369]*[258])|(([258]|[147][0369]*[147])([0369]*|[258][0369]*[147])([147]|[258][0369]*[258])))*$)` 11. Glob (364): `^((\*(er|f|i|p|t|v))|(b|c(h|o|r)|do|l|mi|p(a|r|u)|re|w))` 12. Balance (286): `^(<(<(<(<(<(<<>>)*>)*>)*>)*>)*>)*$` 13. Powers (56): `^((((((((((x)\10?)\9?)\8?)\7?)\6?)\5?)\4?)\3?)\2?)\1?$` Total Score: 3060 -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 1 addition and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,3 @@ ``` onclick=\".*?\" ``` -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ ``` onclick=\".*?\" ```` -
jaimeivan revised this gist
May 7, 2014 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,10 @@ ``` onclick=\".*?\" ```` /* Reemplaza el contenido la url de MM_openBrWindow */ <a href="javascript:MM_openBrWindow('/documentos/CONS-GEN/actas/2003/ao280103.pdf','ventana1','scrollbars=yes,resizable=yes,width=720,height=400')">28 de enero</a> Find What: javascript:MM_openBrWindow\('([a-z/A-Z\-0-9.]*),?.*\) Replace With: $1 -
jaimeivan renamed this gist
May 7, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jaimeivan created this gist
May 7, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ //Quita el onclick onclick=\".*?\"