Skip to content

Instantly share code, notes, and snippets.

View shredthaGNAR's full-sized avatar

Me shredthaGNAR

View GitHub Profile
@AndreXime
AndreXime / setup.md
Last active February 3, 2026 17:14
Firefox Autohide Toolbar Custom CSS

How to Use Custom CSS in Firefox

Enable CSS Customization

  • Go to about:config in the address bar.

  • Search for toolkit.legacyUserProfileCustomizations.stylesheets and set it to True

Setting Up Custom CSS

@appel
appel / pocket-to-bookmark.py
Last active September 25, 2025 02:16
Python script which converts Pocket's csv export file to html.
# This script converts Pocket's csv export file to html,
# allowing you to import it to a wider range of apps (like Grimoire and Linkding).
# This is a deno to python port, via Gemini.
#
# Note that I did not write this, all credit goes to the original author:
# https://github.com/enjikaka/pocket-to-bookmark
#
# From that repo: "Mozilla is killing Pocket and you get your data export
# as an CSV file. I'll use Linkding instead and it supports the
# Netscape Bookmark File Format. This Deno script converts your CSV export
@0xdevalias
0xdevalias / ai-agent-rule-instruction-context-files.md
Last active February 4, 2026 18:09
Some notes on AI Agent Rule / Instruction / Context files / etc

AI Agent Rule / Instruction / Context files / etc

Some notes on AI Agent Rule / Instruction / Context files / etc.

Table of Contents

@ErnaneJ
ErnaneJ / service.applescript
Last active October 2, 2025 21:20
AppleScript to create a service to improve text with Gemini on macos system ✨
--[[
AppleScript: Text Enhancement with Gemini 1.5 API
Version: 1.0
Developed by: Ernane Ferreira (https://github.com/ErnaneJ)
Description:
This script refines and formalizes selected text by utilizing the Gemini 1.5 Flash model from Google's API.
It integrates spelling, grammar, and stylistic improvements based on a given prompt.
Dependencies:
@theaafofficial
theaafofficial / script.js
Created September 7, 2024 19:17
Select multiple passwords in ProtonPass website
(async function () {
  // Variables based on your input
  const totalPasswords = 0; // Total number of passwords
  const visiblePasswordsDivs = 25; // Number of divs visible at a time
  // Select the scroll container based on the parent class
  const scrollContainer = document.querySelector(".ReactVirtualized__Grid");
  // Get the total scrollable height of the container
@hoishing
hoishing / README.md
Created July 24, 2024 12:05
disable Gatekeeper with configuration profiles in macOS 15

Disable Gatekeeper with Configuration Profiles

Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.

We need to disbale it with Configuration Profiles.

How

  • Create a new configuration profile, an XML file with .mobileconfig extension, refer the sample file in this gist
  • replace the UUID with your own, you can use uuidgen in terminal to generate a new one
@tanaikech
tanaikech / submit.md
Created May 8, 2024 05:27
Leveraging Gemini 1.5 API for Automated Test Case Generation in Google Apps Script Reverse Engineering

Leveraging Gemini 1.5 API for Automated Test Case Generation in Google Apps Script Reverse Engineering

Abstract

This report examines leveraging Gemini 1.5 API with Google Apps Script to automate sample input creation during script reverse engineering. Traditionally, this process is manual and time-consuming, especially for functions with numerous test cases. Gemini 1.5 API's potential to streamline development by automating input generation is explored through applying reverse engineering techniques to Google Apps Script samples.

Introduction

@p-mng
p-mng / README.md
Last active February 6, 2026 20:30
Uninstall Rosetta 2 on macOS

Uninstall Rosetta 2 on macOS

1. Disable SIP (System Integrity Protection)

  1. Boot into recovery
  2. Open a terminal (Utilities > Terminal)
  3. Disable SIP using csrutil disable
  4. Reboot into macOS

2. Uninstall Rosetta

@CJHwong
CJHwong / README.md
Last active July 21, 2025 10:05
Gems - A Gemini Gem Manager in your MacBook powered by Gemma

The latest updates are available in this repository: https://github.com/CJHwong/gems.sh

gems.sh - A Gemini Gem Manager in your MacBook powered by Gemma

gems.sh is a Zsh script that simplifies interacting with local Large Language Models using Ollama. It provides a rich set of pre-configured prompt templates with advanced features like language detection, JSON schema processing, and flexible output handling.

Inspired by the workflow described in this Hacker News post by eliya_confiant: https://news.ycombinator.com/item?id=39592297.


Spotlight Indexing switch

os x terminal command.

Turn off indexing

Turn off Spotlight Indexing

sudo mdutil -a -i off