This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Claude file dialog: wide and resizable | |
| // @namespace https://github.com/cfg | |
| // @version 1.0.0 | |
| // @description Adds normal, wide, and drag-resizable modes to Claude artifact file dialogs. Last updated 2026-10-15. | |
| // @author Corey Gilmore, Claude | |
| // @supportURL https://gist.github.com/cfg/887762c35d099e9a6649b99677d19df5 | |
| // @downloadURL https://gist.github.com/cfg/887762c35d099e9a6649b99677d19df5/raw/claude-file-dialog-resize.user.js | |
| // @updateURL https://gist.github.com/cfg/887762c35d099e9a6649b99677d19df5/raw/claude-file-dialog-resize.user.js | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Zooz ZEN34 Blueprint for generic entities. Does not support brightness. | |
| description: Control a device with single-tap and double-tap | |
| # reference: https://gist.github.com/flyingsubs/35246fa2935f105f133385c6cf41f6fa | |
| # reference: https://gist.github.com/computergreek/847ad5194168cf3f26a0c908acc9431c | |
| # reference: https://youtu.be/L-bcabdaMxE | |
| # reference: https://chat.openai.com/share/299064bf-56bf-4bdb-a12b-3b474d8fec65 | |
| domain: automation | |
| author: cfg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import argparse | |
| import requests | |
| import logging | |
| LOG = logging.getLogger("slack_leaver") | |
| class JSONRest(object): | |
| def __init__(self, base_url): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Take a snapshot of user and system application icons before the Big Sur aesthetic is applied | |
| function sync() { | |
| FROM="$1" | |
| TO="$2" | |
| mkdir -p "$TO" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ | |
| document.querySelector('.article__body.article__overlay') && document.querySelector('.article__body.article__overlay').classList.remove('article__overlay'); | |
| document.getElementById('checkout-container') && document.getElementById('checkout-container').remove(); | |
| document.querySelector('div.piano-article-overlay') && document.querySelector('div.piano-article-overlay').remove(); | |
| })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| list( map( lambda x: x[4][0], socket.getaddrinfo('example.com.', 80, 0, socket.SOCK_STREAM) )) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source ~/bash.includes/keychain-environment-variables.sh | |
| function aws-vault() { | |
| /usr/local/bin/aws-vault-wrapper "$@" | |
| } | |
| # example wrapper | |
| ## function cloudns-api() { | |
| ## ( | |
| ## export CLOUDNS_API_ID=$(keychain-environment-variable CLOUDNS_API_ID) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onEdit( evt ) { | |
| var ss = SpreadsheetApp.getActiveSheet(); | |
| var sheet_name = 'Bug List'; | |
| if ( sheet_name !== ss.getName() ) { | |
| return; | |
| } | |
| var status_col = 8; // column number that contains the status type | |
| var lastmod_col = 10; // column number where the timestamp should go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Open chrome://extensions, debug Authy main.html | |
| Set a breakpoint in Authy app.js in this function: | |
| d.prototype.getOtp = function() { | |
| return this.isEncrypted() ? "------" : this.otpGenerator.getOtp(this.decryptedSeed, this.digits) | |
| } | |
| Can use a conditional breakpoint, where this.getName() == 'your.account.display.name' | |
| console.log( "otpauth://totp/%s:%s?secret=%s&issuer=%s", encodeURIComponent( this.getAccountName() ), encodeURIComponent( this.getName() ), encodeURIComponent(this.decryptedSeed), this.getAccountName() ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install openssl | |
| git clone --recursive git@github.com:tihmstar/futurerestore.git | |
| cd futurerestore/ | |
| export PKG_CONFIG_PATH=/usr/local/share/pkgconfig:/usr/local/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig | |
| ./autogen.sh | |
| make | |
| ./futurerestore/futurerestore | |
NewerOlder