Skip to content

Instantly share code, notes, and snippets.

@orschiro
orschiro / CopyQ - Snippets.ini
Created September 25, 2015 06:37 — forked from hluk/CopyQ - Snippets.ini
CopyQ - Dialog for Pasting Snippets
[Command]
Command="
copyq:
var snippetsTabName = 'Snippets'
function newVarRe(content) {
return new RegExp('\\\\${' + content + '}', 'g')
}
function getText(item) {
@orschiro
orschiro / 0_reuse_code.js
Created March 28, 2016 06:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@orschiro
orschiro / CopyQ - Save As.ini
Last active September 25, 2015 06:38 — forked from hluk/CopyQ - Save As.ini
CopyQ - Save Item/Clipboard To a File
[Command]
Command="
copyq:
var suffices = {
'image/svg': 'svg',
'image/png': 'png',
'image/jpeg': 'jpg',
'image/jpg': 'jpg',
'image/bmp': 'bmp',
'text/html': 'html',