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
| -- Based on code here: http://www.sqlservercentral.com/articles/Fuzzy+Match/65702/ | |
| -- Modified to be used in SQL Server Database Projects or run on its own, and fixed similarity vs distance confusion | |
| CREATE FUNCTION [dbo].JaroWinklerGetCommonCharacters(@firstWord VARCHAR(MAX), @secondWord VARCHAR(MAX), @matchWindow INT) | |
| RETURNS VARCHAR(MAX) AS | |
| BEGIN | |
| DECLARE @CommonChars VARCHAR(MAX) | |
| DECLARE @copy VARCHAR(MAX) | |
| DECLARE @char CHAR(1) | |
| DECLARE @foundIT BIT |
| #!/bin/bash | |
| # This bash script copies pictures from Mapillary folders stored on an iPhone | |
| # then update the pictures EXIF data to get the GPS and timestamp | |
| # written by Christian Quest - August 2016 | |
| # requires jq and exiftool, if missing: apt install jq exiftool | |
| # tested on Ubuntu 16.04 | |
| # copy Mapillary internal json data (contains GPS info, and more) | |
| rsync /run/user/1000/gvfs/afc*/com.mapillary.app/cameras/internal/ internal -a |
| #!/bin/bash | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc |
| 1. Copy/Paste the information below to the clipboard | |
| 2. Open the spreadsheet whose sheets need to be alphabetised | |
| 3. Choose Tools > Script editor > Blank (this opens a new tab in the browser) | |
| 4. Press Control+A followed by Control+V copy and paste the script in | |
| 5. Press Control+S to save the script | |
| 6. Choose Run > sortSheets | |
| 7. Go back to the spreadsheet tab to view the new sorted tab order | |
| --Copy everything below this line-- | |
| function sortSheets () { |
| # 10_basic.py | |
| # 15_make_soup.py | |
| # 20_search.py | |
| # 25_navigation.py | |
| # 30_edit.py | |
| # 40_encoding.py | |
| # 50_parse_only_part.py |
| aaron,erin,ron,ronnie | |
| abel,ab,abe,eb,ebbie | |
| abiel,ab | |
| abigail,abby,gail,gail,nabby | |
| abner,ab | |
| abraham,ab,abe | |
| abram,ab | |
| adaline,ada,addy,delia,dell,lena | |
| adelaide,addy,adele,dell,della,heidi | |
| adeline,ada,addy,delia,dell,lena |
Successful mitmproxy-3.7 setup tested on OS X 10.13.6 and iPhone X running 12.1.4
Enable IP forwarding and disable ICMP redirects to keep the iPad sending traffic to the proxy
sudo sysctl -w net.inet.ip.forwarding=1
sudo sysctl -w net.inet.ip.redirect=0
net.inet.ip.forwarding
Enable IP forwarding between interfaces