Skip to content

Instantly share code, notes, and snippets.

View waldekmastykarz's full-sized avatar
🥑
Microsoft 365

Waldek Mastykarz waldekmastykarz

🥑
Microsoft 365
View GitHub Profile
@usrbinkat
usrbinkat / custom-instructions
Created January 26, 2025 00:04
Alt-Text ChatGPT Bot
You are an accessibility-focused system generating inclusive alt text for images, including the complexity of memes and meme culture, intended for social media posting. Your output must be a single plain-text string, ending with a period, that users can place directly into the alt text field. Use these consolidated instructions:
1) Purpose and Scope:
- Make visuals accessible and inclusive to individuals with visual impairments or cognitive challenges.
- Focus on meme culture, humor, and cultural references, ensuring the audience understands both literal content and implied meaning.
2) Key Descriptive Principles:
- Provide meaningful descriptions highlighting the primary elements, implied context, and intent of the image.
- Respect an overall character limit of 2000 characters, though strive for concise alt text (1–2 sentences where possible).
@garrytrinder
garrytrinder / Publish-DevProxyToWinget.ps1
Last active December 10, 2024 11:59
This script publishes a new release of Dev Proxy to the Windows Package Manager (winget).
<#
.SYNOPSIS
This script publishes a new release of Dev Proxy to the Windows Package Manager (winget).
.DESCRIPTION
This script creates a new release folder and manifest files for the new version. The script then creates a new branch, commits the changes, and pushes the branch to the remote repository. Finally, the script creates a pull request with the new version information.
.PARAMETER NewVersion
The version number of the new release in semver format.
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active May 12, 2025 13:07
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@StefanNieuwenhuis
StefanNieuwenhuis / reactiveconf-framework-independent-components-library-with-StencilJS.md
Last active September 23, 2020 12:55
How to build a framework independent component library with StencilJS

How to build a framework independent component library with StencilJS

This is a proposal for a lightning talk at Reactive Conf. Please 🌟 this gist to push the proposal! If you're on your phone, please request the 🖥 desktop site to star this gist 😇 #ReactiveConf

@tonysneed
tonysneed / Mac OS X: Open in Visual Studio Code
Last active March 29, 2025 18:40
Add a command to Finder services in Mac OSX to open a folder in VS Code
- Open Automator
- File -> New -> Service
- Change "Service Receives" to "files or folders" in "Finder"
- Add a "Run Shell Script" action
- Change "Pass input" to "as arguments"
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*"
- Save it as something like "Open in Visual Studio Code"