Skip to content

Instantly share code, notes, and snippets.

@rmateu
rmateu / product.md
Created May 26, 2017 20:03
Testing Product

This product is unique. It’s amazing. It’s one of a kind. It actually doesn’t exist. You have found a product we use to test our systems. Yes, you can buy it. But you won’t received anything other than the gratitud of the ghost in the shell and, an evil eye from the person who has to check why our weekly reports of orders and packages don’t match anymore.

In conclusion:

  • This is real product page.
  • This isn’t a real product.
  • Please don’t buy it
  • But do buy anything else from the site.
@rmateu
rmateu / rm_quix.txt
Last active October 18, 2019 17:24
Quix Command File for rmateu
> TITLE: rm_quix.txt
> MORE: https://quixapp.com
> UPDATED: 2018-07-06 / w27
> SYNTAX FILE: https://gist.githubusercontent.com/rmateu/37af5055e821fdd1f655e8440e4a010e/raw/rm_quix.txt
#kill-defaults
@ Quix
edit https://gist.github.com/rmateu/37af5055e821fdd1f655e8440e4a010e/edit Edit my Quix Commands
host http://quixapp.com/host/%d/%s Host info for the current domain.
myip http://quixapp.com/ip/ Your current IP & homepage.
# Fail
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B00TSUGXKE&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B00422MCVW&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B01DJEBOBM&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B014EBVLNA&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
# OK
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B011KFQASE&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
http://cms-stage.int.aeropost.com/site/en/productpage?prodId=B00UZBMUK2&gtw=sjo&prodSource=amz&typeSearch=kw&campaign=AIS_TopSellers&Coupon=TOPSELLR
@rmateu
rmateu / Bookmarklet Launchbar MD Link.js
Last active May 12, 2016 02:37
Bookmarklet: Send Page as markdown link to Launchbar
@rmateu
rmateu / Bookmarklet Launchbar Text.js
Last active March 15, 2017 04:37
Bookmarklet: Send URL and Title to LaunchBar
(function bookmarklet() {
var url = location.origin + location.pathname,
title = encodeURIComponent(document.title),
text = encodeURIComponent(window.getSelection().toString()),
TextCopy = title + '%0A' + url + '%0A' + text;
window.location='x-launchbar:select?string='+TextCopy;
}());
@rmateu
rmateu / Bookmarklet Launchbar md Ref Link.js
Last active May 12, 2016 02:42
Bookmarklet Send to Launchbar Markdown Reference Link
@rmateu
rmateu / Bookmarklet MD Ref Link.js
Last active March 15, 2017 04:37
Bookmarklet Markdown Reference Link
@rmateu
rmateu / Bookmarklet MD Footer Ref link.js
Last active May 11, 2016 18:59
Bookmarklet: Markdown Footer Reference Link
@rmateu
rmateu / Markdown Scripting News linkblog Bookmarklet
Created March 4, 2016 21:02
Dave Winer Style Link Bookmarlet.
(function bookmarklet() {
var url = location.origin + location.pathname,
title = document.title,
site = location.host,
site = site.replace(/^www./,''),
markdownLinkblog = document.title + ' → ' +'[' + site + ']' + '(' + url + ')';
window.prompt('Copy to clipboard: ⌘+C or Ctrl+C then Enter', markdownLinkblog);
}());
@rmateu
rmateu / Markdown Textshot Bookmarklet.js
Created March 3, 2016 19:37
JS for Markdown Textshot Bookmarklet
(function bookmarklet() {
var url = location.origin + location.pathname,
title = document.title,
site = location.host,
site = site.replace(/^www./,''),
site = site.charAt(0).toUpperCase() + site.substr(1),
text = window.getSelection().toString(),
markdownQuote = '>' + text + ("\n\n") + '**' + title + '** '+ ("\n") + site;
window.prompt('Copy to clipboard: ⌘+C or Ctrl+C then Enter', markdownQuote);