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
Update: For those interested, here's the version for updating from Android 5.1.0 (LMY47D/LMY47I) to Android 5.1.1 (LMY48B):
https://gist.github.com/eyecatchup/dab5cf7977008e504213
UPDATE `NEXUS 5`
SET `VERSION`='5.0.1', `BUILD`='LRX22C', `RECOVERY`='CUSTOM', `ROOTED`=1
WHERE `VERSION`='5.0' && `BUILD`='LRX21O' && `RECOVERY`='CUSTOM' && `ROOTED`=1
&& `WANNA_KEEP_USERDATA`=1;| //load plugins | |
| var gulp = require('gulp'), | |
| compass = require('gulp-compass'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| minifycss = require('gulp-minify-css'), | |
| uglify = require('gulp-uglify'), | |
| rename = require('gulp-rename'), | |
| concat = require('gulp-concat'), | |
| notify = require('gulp-notify'), | |
| livereload = require('gulp-livereload'), |
| #!/usr/bin/env bash | |
| # Generic macOS workstation setup | |
| # | |
| # A pragmatic, public bootstrap for developer / technical-productivity Macs. | |
| # It installs Homebrew, common CLI utilities, runtimes, terminal/editor/agentic | |
| # coding apps, viewers, media tools, and a curated font set. | |
| # | |
| # Philosophy: | |
| # - Open-source / cross-platform first. | |
| # - Commercial apps only when explicitly useful/common for this workflow. |
| #!/bin/bash | |
| ## Fix OneDrive for Mac CPU usage | |
| ## | |
| ## Seems this is still a problem 5 years later after I created this little gist. | |
| ## I have long since stopped using OneDrive (luckily), but according to | |
| ## comments below, I have added the new path for OfficeFileCache for macOS | |
| ## Mojave (10.14) and Catalina (10.15). | |
| ## Run this on macOS Mojave (10.14) and Catalina (10.15) | |
| find ~/Library/Containers/ -type d -name OfficeFileCache -exec rm -r {} + |
| #!/bin/bash | |
| # | |
| # Script to remove GPG key from git-crypt | |
| # | |
| # It will re-initialize git-crypt for the repository and re-add all keys except | |
| # the one requested for removal. | |
| # | |
| # Note: You still need to change all your secrets to fully protect yourself. | |
| # Removing a user will prevent them from reading future changes but they will | |
| # still have a copy of the data up to the point of their removal. |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/bin/bash | |
| ## | |
| # Show the user what we're looking to remove from the network configs. | |
| ## | |
| printf "\nWe've located the following entries matching the associated port argument. \n" | |
| grep "add_nat_portfwd" /Library/Preferences/VMware\ Fusion/networking | grep $1 |
| #!/bin/bash | |
| ## | |
| # Show the user what we're looking to remove from the network configs. | |
| ## | |
| printf "\nWe've located the following entries matching the associated port argument. \n" | |
| grep "add_nat_portfwd" /Library/Preferences/VMware\ Fusion/networking | grep $1 | |
| grep $1 /Library/Preferences/VMware\ Fusion/vmnet8/nat.conf | |
| ## |