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
Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.
To get started, install pass and generate a keypair.
$ brew install pass
$ gpg --gen-key
$ gpg --list-keys| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <!--[if lt IE 9]> | |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
| <![endif]--> | |
| </head> | |
| <body> |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>{{ title|title }}</title> | |
| <link rel="stylesheet" href="/styles/common.css" /> | |
| <link rel="stylesheet" href="/styles/layout.css" /> | |
| </head> | |
| <body> | |
| {{ include('header.html') }} |
| /* Disable font boosting in Chrome for Android */ | |
| body * { | |
| max-height: 1000000em; | |
| } |
| // easing functions http://goo.gl/5HLl8 | |
| Math.easeInOutQuad = function (t, b, c, d) { | |
| t /= d/2; | |
| if (t < 1) { | |
| return c/2*t*t + b | |
| } | |
| t--; | |
| return -c/2 * (t*(t-2) - 1) + b; | |
| }; |
| class MyStruct | |
| #=> self is MyStruct | |
| def self.new(*attributes) | |
| #=> self is MyStruct | |
| Class.new do | |
| #=> self is the class instance | |
| attr_accessor(*attributes) | |
| end | |
| end |
| @main-font-size: 16px; | |
| .x-rem (@property, @value) { | |
| // This is a workaround, inspired by https://github.com/borodean/less-properties | |
| @px-fallback: @value * @main-font-size; | |
| -: ~`(function () { return ';@{property}: @{px-fallback}'; }())`; | |
| -: ~`(function () { return ';@{property}: @{value}rem'; }())`; | |
| } |
| <?php | |
| /* | |
| * PHP: Recursively Backup Files & Folders to ZIP-File | |
| * MIT-License - 2012-2018 Marvin Menzerath | |
| */ | |
| // Make sure the script can handle large folders/files | |
| ini_set('max_execution_time', 600); | |
| ini_set('memory_limit', '1024M'); |