Skip to content

Instantly share code, notes, and snippets.

@myuhe
myuhe / inoreader_conpact.user.js
Last active November 15, 2022 19:42
InoReader Compact
// ==UserScript==
// @name InoReader Compact
// @namespace http://thekryz.de
// @version 2013.09.20
// @description Makes InoReader more compact
// @match https://inoreader.com/*
// @match http://inoreader.com/*
// @match https://www.inoreader.com/*
// @match http://www.inoreader.com/*
// @include http://jp.inoreader.com/*
(setq twittering-status-format "%i %s, %@: %FACE[font-lock-warning-face]{%FIELD-IF-NONZERO[✶%d]{favorite_count}} %FACE[font-lock-warning-face]{%FIELD-IF-NONZERO[↺%d]{retweet_count}}\n%FOLD[ ]{%T // from %f%L%r%R}\n")
(setq twittering-status-format "%i %s, %@: %FACE[font-lock-warning-face]{%FIELD-IF-NONZERO[✶%d]{favorite_count}} %FACE[font-lock-warning-face]{%FIELD-IF-NONZERO[↺%d]{retweet_count}}\n%FOLD[ ]{%T // from %f%L%r%R}\n")
@myuhe
myuhe / InoReader_-_Open_Article_in_Background_Tab.user.js
Created May 9, 2015 03:47
InoReader - Open Article in Background Tab
// ==UserScript==
// @name InoReader - Open Article in Background Tab
// @author myuhe
// @namespace http://sheephead.homelinux.org/
// @homepage https://gist.github.com/myuhe/fb8e32a0cdc725a0db34
// @description Fixes Firefox functionality to allow for opening of background tabs in InoReader
// @include http*://www.inoreader.com/*
// @include http*://inoreader.com/*
// @include http*://beta.inoreader.com/*
// @grant GM_openInTab
// ==UserScript==
// @name InoReader Kill Keyboard Shortcuts
// @namespace https://gist.github.com/myuhe/42a59ac8ae070b85bd8b
// @include http*://www.inoreader.com/*
// @include http*://inoreader.com/*
// @include http*://beta.inoreader.com/*
// @run-at document-start
// @version 1.0
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// @grant none
@myuhe
myuhe / InoReader_Colorful_ListView.user.js
Last active November 19, 2017 05:36
Set different background colors to article header based on article sources
// ==UserScript==
// @name InoReader Colorful ListView Mod
// @name:en InoReader Colorful ListView Mod
// @namespace https://gist.github.com/myuhe/c2207a76f77b65b072b6
// @version 0.9.1
// @description:ja InoReaderの記事を色分け
// @description:en Set different background colors to article header based on article sources
// @author http://sheephead.homelinux.org/
// @include http*://www.inoreader.com/*
// @include http*://inoreader.com/*
(defmacro global-set-keys (&rest body)
`(progn
,@(mapcar #'(lambda (arg)
`(global-set-key
(kbd ,(car arg)) ,(cadr arg))) body)))
(defun cfw:open-calendar ()
"Simple calendar interface. This command displays just one
calendar source."
(interactive)
(let ((cp
(cfw:create-calendar-component-buffer
:view 'month
:contents-sources
(list
(cfw:org-create-file-source "schedule" "~/schedule.org" "#268bd2")
(defalias 'function-put
;; We don't want people to just use `put' because we can't conveniently
;; hook into `put' to remap old properties to new ones. But for now, there's
;; no such remapping, so we just call `put'.
#'(lambda (f prop value) (put f prop value))
"Set function F's property PROP to VALUE.
The namespace for PROP is shared with symbols.
So far, F can only be a symbol, not a lambda expression.")
(function-put 'defmacro 'doc-string-elt 3)
(function-put 'defmacro 'lisp-indent-function 2)