Skip to content

Instantly share code, notes, and snippets.

View jasondavis's full-sized avatar

Jason Davis jasondavis

View GitHub Profile
SetTimer HeartBeat, 240000 ; run every 4 minutes
HeartBeat() {
wday := A_WDay
if (wday >= 2 && wday <= 6) {
hour := A_Hour
if ((hour >= 8 && hour < 18)
&& (A_TimeIdle > 180000)) { ; idle for 3+ mins during work hours
MouseMove 0, 0, 0, 'R' ; mouse pointer stays in place but sends a mouse event
}
@jasondavis
jasondavis / SelectionClipboard.ahk
Created November 9, 2026 22:19 — forked from piroor/SelectionClipboard.ahk
AutoHotKey https://www.autohotkey.com/ script to simuate "selection clipboard" behavior of Linux desktop environments
; Simulate "Selection Cipboard" of Linux desktop environments
; Based on:
; https://softwarerecs.stackexchange.com/questions/9791/copy-selection-to-clipboard-automatically
; Usage:
; 1. Install AutoHotKey: https://www.autohotkey.com/
; 2. Save this file as "SelectionClipboard.ahk".
; 3. Put it into the startup folder.
; Note:
; * Ctrl-C will be sent when you do drag and drop with the left button always, including
; window moving and resizing. This means that SIGINT is sent to appls when you try to
@jasondavis
jasondavis / Moy-Twitter-Clipping.css
Last active October 15, 2026 23:24 — forked from Moyf/Moy-推特剪藏.css
Obsidian Clipper template - Twitter(X)
/* ! Twitter Cut and hide the block */
/* * Combined with Callout And Cssclasses So put it together. */
/* Callout */
/* Handle link tags */
.cm-embed-block.cm-callout:has(.callout[data-callout="twitter"]) {
pointer-events: fill;
@jasondavis
jasondavis / ultimate-hybrid-clipper.json
Created October 15, 2026 23:01 — forked from Coldaine/ultimate-hybrid-clipper.json
Obsidian Web Clipper - Ultimate Hybrid Template (v2). Combines best prompt engineering from Omni-Protocol with full Web Clipper ecosystem: polymorphic sections, adversarial critique, analogy generation, optimized context, 15 frontmatter properties, and proper filter chains.
{
"schemaVersion": "0.1.0",
"name": "Ultimate Hybrid Clipper v2",
"behavior": "create",
"noteContentFormat": "text",
"context": "{{selectorHtml:article,main,.post-content,.entry-content,#content,.content|strip_tags:script,style,nav,footer,aside,header,.sidebar,.comments,.advertisement|strip_attr:class,id,style,data-*}}",
"properties": [
{
"name": "url",
"value": "{{url}}"
@jasondavis
jasondavis / CLI tools.md
Created September 25, 2026 10:33 — forked from charlesroper/CLI tools.md
Modern CLI Tools for nix and Windows.md

Modern CLI Tools for *nix and Windows

A collection of CLI tools I use (or have used). Most can be installed using your *nix distro’s package manager, or with Scoop on Windows. If you’re not already using Scoop, it's definitely worth trying.

✨ Other lists you might find interesting
# Import requests library
import requests
import time
import constants
# Define the collection ID and the access token
# collection_id = 33417911
collection_id = None
live_run = False
access_token = constants.RAINDROP_TOKEN
@jasondavis
jasondavis / GitHubFolderToGist.js
Created September 1, 2026 01:28
GitHubFolderToGist-v1.1.2 - iOS_Scriptable
/**
* File: GitHubFolderToGist.js
* Version: 1.1.2
* Description:
* Select a folder or ZIP archive from iOS Files and publish its contents as
* a GitHub Gist. Nested paths are flattened into Gist-safe filenames.
*
* Features:
* - Select an iOS Files folder or a .zip archive.
* - Recursively includes files from nested folders.
@jasondavis
jasondavis / GitHubFolderToGist-v1.1.2 - iOS_Scriptable
Last active September 1, 2026 01:26
GitHubFolderToGist-v1.1.2 - iOS_Scriptable
/**
* File: GitHubFolderToGist-v1.1.2.js
* Version: 1.1.2
* Description:
* Select a folder or ZIP archive from iOS Files and publish its contents as
* a GitHub Gist. Nested paths are flattened into Gist-safe filenames.
*
* Features:
* - Select an iOS Files folder or a .zip archive.
* - Recursively includes files from nested folders.
@jasondavis
jasondavis / README.md
Created September 1, 2026 01:00
fullpage-screenshot-extension

fullpage-screenshot-extension

fullpage-screenshot web browser extension

File Tree

.
|-- icons/
| |-- icon128.png
@jasondavis
jasondavis / Finance__Dashboards__Finance Dashboard.md
Created September 1, 2026 00:49
Obsidian-Finance-Tracker 2
tags
finance
dashboard
cssclasses
finance-dashboard

💰 Finance & Bill Tracker