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
| <?xml version="1.0"?> | |
| <ruleset name="phpmd.xml" | |
| xmlns="http://pmd.sf.net/ruleset/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" | |
| xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | |
| <description>PHPMD Ruleset for a WordPress Theme</description> | |
| <rule ref="rulesets/cleancode.xml/BooleanArgumentFlag" /> | |
| <rule ref="rulesets/cleancode.xml/ElseExpression" /> | |
| <rule ref="rulesets/cleancode.xml/StaticAccess" /> |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
| # Top 20 most used commands in your ZSH shell | |
| cat ~/.zsh_history | cut -d ';' -f 2- | awk {'print $1'} | sort | uniq -c | sort -r | head -20 |
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
| #!/bin/sh | |
| # Print four lines showing blocks of colors: 0-7 | 0-7bold | 8-15 | 8-15bold | |
| perl -CADS -lwe ' | |
| my $block = shift || (chr(0x2588) x 3); | |
| for (["", 0], ["1;", 0], ["", 8], ["1;", 8]) { | |
| my ($bold, $offset) = @$_; | |
| my @range = map $offset + $_, 0..7; | |
| printf "%s %-6s ", $bold ? "bold" : "norm", "$range[0]-$range[-1]"; | |
| print map("\e[${bold}38;5;${_}m$block", @range), "\e[0m" | |
| } |
| "===[ Settings ]======================================================== | |
| " Autocomplete using Firefox Awesomebar subsystem | |
| set complete=l | |
| " Show completions as you type? '' waits for tab, 'auto' shows them immediately | |
| set wildoptions='' | |
| " Select the longest autocomplete match | |
| set wildmode='list:full' |