Skip to content

Instantly share code, notes, and snippets.

View MaherSaif's full-sized avatar

Maher Saif MaherSaif

View GitHub Profile
@MaherSaif
MaherSaif / youtube_formats.md
Created August 27, 2026 21:32 — forked from MartinEesmaa/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Before this gist has been forked, AgentOak made original gist on November 13 2019 and it was last updated on May 5 2021.

From now on, this forked gist is maintained by Martin Eesmaa since 17 September 2022. I joined to yt-dlp Discord server on 3rd April 2026 with my Discord username: martineesmaa.

Last updated: 20 August 2026

@MaherSaif
MaherSaif / meet-new.sh
Created August 25, 2026 10:16 — forked from jankeesvw/meet-new.sh
Start a new Google Meet and put the link on your clipboard (Hyprland + Chromium)
#!/bin/bash
# meet-new — start a new Google Meet and put its link on the clipboard.
#
# https://meet.google.com/new redirects to the real meeting URL, but that
# happens inside the browser, so the code never reaches us directly. Chromium
# does put it in the window title though ("Meet - abc-defg-hij"), and Hyprland
# hands us those titles, so we poll for a code that was not on screen before we
# launched and rebuild the URL from it.
set -euo pipefail

37signals Open Source Releases (2021–2026)

2021

@MaherSaif
MaherSaif / Gemfile
Created November 27, 2025 20:35 — forked from robzolkos/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@MaherSaif
MaherSaif / prompt.md
Created November 27, 2025 20:33 — forked from robzolkos/prompt.md
Project specification prompt template for AI coding assistants

You are a senior software architect creating detailed project specifications for AI coding assistants. Generate a comprehensive project specification document for building an application.

Output Format Requirements

Structure your response as an XML document with the following exact structure and tags:

<project_specification>
  <project_name>[Concise, descriptive project title]</project_name>
@MaherSaif
MaherSaif / default.md
Created July 8, 2025 20:25 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@MaherSaif
MaherSaif / grab.rb
Created July 7, 2025 09:30 — forked from peterc/grab.rb
Grab all text visible on a Web page with Ruby and Ferrum
# notice the cheating technique of selecting all,
# copying to clipboard, then reading the
# clipboard back via JavaScript(!!)
# there's also some stuff to rip content out of
# shadow roots which can be useful if a page
# is doing dynamic rendering
#
# MIT licensed, (c) 2022 Peter Cooper
require 'ferrum'
@MaherSaif
MaherSaif / useful.md
Created July 7, 2025 09:20 — forked from peterc/useful.md
Useful random stuff
@MaherSaif
MaherSaif / groq_client.rb
Created July 7, 2025 09:09 — forked from peterc/groq_client.rb
Basic Groq API client for Ruby
require 'http'
require 'json'
class GroqClient
def initialize(api_key: nil, api_url: "https://api.groq.com/openai/v1/chat/completions", model: "mixtral-8x7b-32768")
@api_key = api_key || ENV['GROQ_API_KEY']
@api_url = api_url
@model = model
end
@MaherSaif
MaherSaif / pg.txt
Created July 1, 2025 10:28 — forked from peterc/pg.txt
Ruby pg (Postgres) library notes
# gem 'pg'
# https://github.com/ged/ruby-pg
# http://deveiate.org/code/pg
#
# I always find it a nightmare to look up how it works because
# it's not intuitive at all. So here are some notes.
# CONNECTION
# ==========
# No connection URL support, so..