A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| #!/bin/bash | |
| # This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
| # also disables the touchpad, and enables the virtual keyboard accordingly | |
| # by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen and Touchpad device with `xinput` | |
| TouchscreenDevice='ATML1000:00 03EB:8A10' | |
| TouchpadDevice='SYNA2B22:00 06CB:2714' |
| /** | |
| @author David Piegza | |
| Implements a graph structure. | |
| Consists of Graph, Nodes and Edges. | |
| Nodes: | |
| Create a new Node with an id. A node has the properties | |
| id, position and data. |
| #!/bin/bash | |
| # This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
| # also disables the touchpad, and enables the virtual keyboard accordingly | |
| # by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen and Touchpad device with `xinput` | |
| TouchscreenDevice='ELAN Touchscreen' | |
| TouchpadDevice='SynPS/2 Synaptics TouchPad' |
This example creates a fixed network graph with dynamic labels using d3.js. The network layout and placement of the nodes and edges was calculated in Gephi and then exported as the graph.json file.
This was inspired from these gists by Mike Bostock: Force-Directed Graph, Multi-Foci Force Layout
| <script\x20type="text/javascript">javascript:alert(1);</script> | |
| <script\x3Etype="text/javascript">javascript:alert(1);</script> | |
| <script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
| <script\x09type="text/javascript">javascript:alert(1);</script> | |
| <script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
| <script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
| <script\x0Atype="text/javascript">javascript:alert(1);</script> | |
| '`"><\x3Cscript>javascript:alert(1)</script> | |
| '`"><\x00script>javascript:alert(1)</script> | |
| <img src=1 href=1 onerror="javascript:alert(1)"></img> |
| server { | |
| server_name img.l; | |
| root /var/www/cache/store/ns365; | |
| index index.html; | |
| # This requests the original file from itself and then resizes the image. | |
| location ~ /resize/(\d+)x(\d+)/(.*) { | |
| proxy_pass http://img.l/$3; | |
| image_filter resize $1 $2; | |
| image_filter_jpeg_quality 90; |
| <?php | |
| /** | |
| * PHP.Kryptik.AB Cleanup script | |
| * | |
| * Usage: place the script in same directory that contains files / directories | |
| * to be scanned. Then run `php [script_name].php` and wait a bit | |
| * | |
| * @link http://blog.twelvecode.com | |
| * @author Grzegorz Godlewski <[email protected]> |
| <?php | |
| $currency_symbols = array( | |
| 'AED' => 'د.إ', // ? | |
| 'AFN' => 'Af', | |
| 'ALL' => 'Lek', | |
| 'AMD' => '', | |
| 'ANG' => 'ƒ', | |
| 'AOA' => 'Kz', // ? | |
| 'ARS' => '$', | |
| 'AUD' => '$', |