Skip to content

Instantly share code, notes, and snippets.

View jerkovicl's full-sized avatar

Luka Jerković jerkovicl

  • Croatia / Madrid
View GitHub Profile
@burkeholland
burkeholland / game.prompt.md
Last active October 28, 2025 03:31
GPT-5 Mini Games Prompt

You are an expert game developer and visual designer.
Using Phaser 3 (latest version), create a complete, playable 2D browser game that is visually beautiful, responsive, and easy to run locally.

Requirements:

  • Theme: [Let the AI choose a unique, cohesive theme with mood and tone]
  • Gameplay: Must be simple to learn but addictive (e.g., score-based survival, puzzle, or endless runner).
  • Art Style: Aesthetic and polished — use a consistent color palette, smooth animations, and subtle particle effects.
  • Audio: Include simple background music and sound effects (royalty-free links).
  • Code Quality: Well-commented, clean, and easy to modify.
  • File Structure: Provide all HTML, JS, and asset links in a way that runs locally by just opening index.html in a browser.
@zadjii-msft
zadjii-msft / README.md
Last active October 14, 2025 23:37
Warp Workflows for the Windows Terminal

Add all the Warp Workflows to Windows Terminal

With a combination of features all available in Windows Terminal 1.22, you can now add all your favorite Warp Workflows directly to the Windows Terminal.

image image

This works by adding the workflows to your settings via a "settings fragment". You can then open a menu with all these workflows with the openSuggestions action.

@OrionReed
OrionReed / dom3d.js
Last active November 16, 2025 19:47
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@craigloewen-msft
craigloewen-msft / autoMemoryReclaim.sh
Created September 18, 2023 20:01
Auto memory reclaim shell script
#!/bin/bash
# Put under /etc/autoMemoryReclaim.sh
# set variables at the top
low_cpu_usage=50 # Note: We work with integer percentages (e.g., 50%)
idle_time=2 # Minutes
cached_memory_limit=1000 # MB
percent_memory_to_reclaim=5 # Percentage as an integer
wait_period=3
@hyperupcall
hyperupcall / settings.jsonc
Last active October 11, 2025 12:44
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@tcartwright
tcartwright / CreateAppsJson.bat
Last active April 21, 2024 22:59
WINGET: MY winget installs
@rem bat file to ease use of the script
@%~d0
@cd "%~dp0"
winget export --output "%~dp0apps_temp.json" --accept-source-agreements
@tcartwright
tcartwright / ListWingetPackages.ps1
Last active November 11, 2022 15:15
POWERSHELL: Winget list all packages in alphabetical order
Clear-Host
# scanning winget is not perfect, but it allows you to get a list of packages avaialable from the winget store in alphabetical order.
# seems to have an issue with parsing non-english languages, possibly because of the unicode byte width
$includeUnicodeResults = $false #change this to include or exclude them from the results
$results = winget search --query `"`" |
Select-Object -Skip 3 |
ForEach-Object {
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active October 27, 2025 03:47
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!


Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).

I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.


@khle
khle / User.ts
Created April 17, 2021 12:19
User.ts
// To parse this data:
//
// import { Convert, User } from "./file";
//
// const user = Convert.toUser(json);
//
// These functions will throw an error if the JSON doesn't
// match the expected interface, even if the JSON is valid.
export interface User {
@LanceMcCarthy
LanceMcCarthy / UltimateListIds.md
Last active November 15, 2025 02:45
List of Package Ids
Name Package Id Version Source
7Zip 7zip.7zip 19.0.0 winget
Altap Salamander salamander choco
Alt-Tab Terminator alt-tab-terminator choco
AutoHotkey Lexikos.AutoHotkey 1.1.33.02 winget
AutoHotkey Store Edition HaukeGtze.AutoHotkeypoweredbyweatherlights.com Latest msstore (via winget)
Carnac