Skip to content

Instantly share code, notes, and snippets.

View lharby's full-sized avatar
🙃
Not looking for work

Luke Harby lharby

🙃
Not looking for work
View GitHub Profile
@lharby
lharby / initDebuggerDelay.js
Created September 24, 2024 14:59
Bookmarklet to initialise a debugger
/**
* A bookmarklet to init a debuuger after X seconds
* You can use https://caiorss.github.io/bookmarklet-maker/ to turn this into a minified bookmarklet
*/
/**
* Open the console and run this bookmarklet
* It will wait 2 seconds and then initialise the debugger
*/
@lharby
lharby / removeCSSFilters.js
Created September 24, 2024 14:53
Bookmarklet to remove all css filters from the page
/**
* A bookmarklet to remove all filters from a page
* You can use https://caiorss.github.io/bookmarklet-maker/ to turn this into a minified bookmarklet
*/
/**
* This bookmarklet removes all items that currently have a css filter applied
* Particularly useful when visiting a site where login is required and the page has css filters applied
* For example mutualart.com
*/
@lharby
lharby / createTicket.js
Created September 24, 2024 14:25
Bookmarklet to create git feature branches from JIRA
/**
* A bookmarklet for creating feature branches from JIRA/Trello/Shortcut
* You can use https://caiorss.github.io/bookmarklet-maker/ to turn this into a minified bookmarklet
*/
/**
* This bookmarket will empty the page and then create an input and button
* Cut and paste the JIRA ticket name into the input
* For example "PJ-5625 Form validation errors"
* After clicking the button the output will read
@lharby
lharby / bookMarkletTemplate
Created September 24, 2024 14:19
Bookmarklet template
/**
* A bookmarklet for XXXX-XXXX
* You can use https://caiorss.github.io/bookmarklet-maker/ to turn this into a minified bookmarklet
*/
/**
* Descrition
*/

This company sells counterfeit goods. They operate illegally.

Despite having a returns policy, they force customers to use their own DHL service charging €20 which they claim is non-refundable.

So they are profiteering from selling counterfeit goods, and then extorting money from customers who wish to return items.

AVOID.

<cfscript>
function getImages(string catname) {
var imageData = queryNew(
"Category, file, title, year",
"varchar, varchar, varchar, integer",
[
{
"Category":"Still-Life",
"File":"01.jpg",
<cfscript>
imageData = queryNew(
"section, file, title, year",
"varchar, varchar, varchar, integer",
[
{
"Section":"Still-Life",
"File":"01.jpg",
"Title":"Fernet Branca",
"Year":2015
@lharby
lharby / SassMeister-input-HTML.html
Created June 25, 2015 09:08
Generated by SassMeister.com.
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>d</li>
<li>e</li>
<li>f</li>
<li>g</li>
<li>h</li>
<li>i</li>