Skip to content

Instantly share code, notes, and snippets.

View johnHostetter's full-sized avatar

John W. Hostetter, Ph.D. johnHostetter

View GitHub Profile
@gene1wood
gene1wood / how-to-disable-google-search-ai-overview-in-firefox.md
Last active December 11, 2025 22:38
How to disable Google Search AI Overview in Firefox
  • In Firefox, open a tab to about:config
  • Enter browser.urlbar.update2.engineAliasRefresh and click the + sign on the right
    • This will now show the value for the Boolean as true which is correct
    • Be setting this to true you enable the option to add a custom search engine to Firefox
  • Go to Settings or navigate to about:preferences#search
  • Under Search Shortcuts click Add
    • Search enging name : Google without AI
    • Engine URL : https://www.google.com/search?client=firefox-b-1-d&channel=entpr&udm=14&q=%s
    • Alias (if there is an alias field present) : gnai or whatever alias you'd like here. This is not required
  • Click Add Engine
@FedericoTartarini
FedericoTartarini / embed_video.tex
Last active April 2, 2025 04:46
Embed a video into LaTeX wihout using Flash
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% this code was copied from https://tex.stackexchange.com/a/516102
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[bigfiles]{pdfbase}
\ExplSyntaxOn
\NewDocumentCommand\embedvideo{smm}{
\group_begin:
\leavevmode
\tl_if_exist:cTF{file_\file_mdfive_hash:n{#3}}{