Skip to content

Instantly share code, notes, and snippets.

@jolij
jolij / 0_reuse_code.js
Created May 14, 2014 02:09
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
@jolij
jolij / WF.styler.css
Last active August 29, 2015 14:02 — forked from NigelThorne/styler.css
WorkflowyStylableTags // @description Gives each tag it's own css style, so you can style them with Stylish.
/* I use Stylish (a chome addin) to set these styles
* URLs on the domain workflowy
*/
.next-row {
border: 2px solid #46A546 !important;
border-top-left-radius:0.5em;
background-color: #CCFFCC !important;
}
/* I use Stylish (a chome addin) to set these styles
* URLs on the domain workflowy
*/
.next-row {
border: 2px solid #46A546 !important;
border-top-left-radius:0.5em;
background-color: #CCFFCC !important;
}
@jolij
jolij / Backtick.README.md
Last active August 29, 2015 14:07 — forked from JoelBesada/README.md
Backtick

This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

Here are the required steps to create a command:

  1. Create a new Gist with a command.js and command.json file, or simply fork this one.

  2. Write your JavaScript in command.js. This will be injected into and executed on the page the user is currently on when they run it.

  3. Add some metadata to the command.json file:

  • name: The name of the command.
// ==UserScript==
// @name Don't track me Google
// @namespace Rob W
// @include *://www.google.*/*
// @version 1.1
// ==/UserScript==
var fuckRWT = function() {
"use strict";
var i = 0, len, a = document.querySelectorAll('h3 a'),t,url;
@jolij
jolij / addicted to google-code-prettify.README.md
Last active August 29, 2015 14:09 — forked from noromanba/addicted-to-google-code-prettify.user.js
auto syntax highlighting by google-code-prettify with Pager Extension for UserScript
$.fn.OneClickSelect = function(){
return $(this).on('click',function(){
var range, selection;
if (window.getSelection) {
selection = window.getSelection();
range = document.createRange();
range.selectNodeContents(this);
selection.removeAllRanges();
selection.addRange(range);
@jolij
jolij / oAutoPagerize.Settings.user.js
Last active August 3, 2019 10:20
* [_]() ≡ []() #[] oAutoPagerize with my modifications (instructables.com w/a, advanced debugging and styling etc)
// ==UserScript==
// @name 0AutoPagerize Settings
// @namespace http://ss-o.net/
// @description oAutoPagerize Settings
// @include http*
// ==/UserScript==
(function(){
if (document) {
//If the settings are loaded after the main script, shoudn't be the case.
/**
* Include Roboto Condensed font in your project
*
* Download Roboto Condensed ttf files from Google Fonts and place it in the same directory of this CSS file
* You can then use this font in your project by setting
* font-face: "Roboto Condensed", Helvetica, Arial, sans-serif;
*
* @author Mattia Migliorini (deshack)
* @license MIT
*/