Skip to content

Instantly share code, notes, and snippets.

View Ivajkin's full-sized avatar
🎯
Focusing

Timothy S. Ivaykin Ivajkin

🎯
Focusing
View GitHub Profile
@Ivajkin
Ivajkin / things-3-to-omnifocus-3.applescript
Last active July 21, 2024 00:39 — forked from cdzombak/things-to-of.applescript
Export tasks from Things 3 to Omnifocus 3
--------------------------------------------------
--------------------------------------------------
-- Import tasks from Things to OmniFocus
--------------------------------------------------
--------------------------------------------------
--
-- Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2
-- Added: creation date, due date, start date functionality
-- Empty your Things Trash first.
-- Note that this won't move over scheduled recurring tasks.
@Ivajkin
Ivajkin / things3-to-of3.applescript
Created October 18, 2019 11:12 — forked from matellis/things3-to-of3.applescript
Script to import from Things 3 into Omnifocus 3
--------------------------------------------------
--------------------------------------------------
-- Import tasks from Things to OmniFocus
--------------------------------------------------
--------------------------------------------------
--
-- Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2 && https://gist.github.com/cdzombak/11265615
-- Added: OF3 & Things 3 compatibility; task order; areas/folders; tags
-- Empty your Things Trash first.
--
@Ivajkin
Ivajkin / google_rating_filter_sitejabber.js
Last active June 16, 2022 06:08
Can be used with Run Javascript – Chrome Extension. Hides and make opaque low rating sites on Google according to SiteJabber rating.
setTimeout(() => {
var ratings = document.querySelectorAll(".sj_info"); var blocks = document.querySelectorAll("[sj_processed='true']");
for (let index = 0; index < ratings.length; index++) {
var rating = ratings[index];
var block = blocks[index];
var number = Number(rating.textContent.split(" ")[0]);
var opacity = Math.max(Math.min((Math.pow(number,1.2)-0.05)/5 + 0.05, 1), 0);
rating.style.opacity = block.style.opacity = opacity;
if(opacity < 0.1) {