Skip to content

Instantly share code, notes, and snippets.

View hising's full-sized avatar

Mattias Hising hising

View GitHub Profile
@hising
hising / create_ai_agents.md
Created December 11, 2025 23:20
AI Agent bootstrap new repo

AI Agent Setup Instruction Generator

This markdown is meant to be given to an AI agent (Claude, Copilot, Junie, etc.) so it can generate all supporting repository markdown files needed for effective agent-assisted development.

The agent should read this document and then create the following files in the repository:

  1. README.md
  2. CONTRIBUTING.md
  3. ARCHITECTURE.md (or docs/architecture.md)
  4. AGENTS.md
@hising
hising / svff.md
Last active October 15, 2025 16:37
Svenska fotbollslandslaget

Jag är inte speciellt teoretiskt kunnig när det kommer till fotboll, det får jag medge. Men idag tänker jag skita i det och skriva av mig lite om ett lag jag investerat en jädrans massa känslor i och hittat spelare, tränare och andra runt laget jag ser upp till av olika anledningar. Det kommer bli högt och lågt, en hel del killgissningar och säkert mer än 50% fel fotbollstekniskt, men hey, bättre att resonera kring ett aktuellt problem än att hänga ut enskilda individer för att ett lag man investerat en hel del i, inte är där man vill att det ska vara.

Genom mitt liv så har jag gillat ett gäng saker (utvalda delar, gillar en hel del annat också): Bibliotek, kommunala simhallar, musikskolor, studieförbund, universitet, gymnasiet, lumpen, idrott och andra företeteelser som för människor samman, inte på grund av vem som råkade knulla fram dem, utan snarare pga deras egna drivkrafter och samhällets solidariska regler (lagar eller normer). Platser man möts på. Som det ska vara. Människor som aldrig annars skulle

@hising
hising / vvs.md
Last active September 4, 2025 22:01
Rörmokare annons

Junior rörmokare (PEX, Backventil, Kulvert, Muff, Renslucka) - med seniora drag.

Passionerad problemlösare med känsla för flöde, rör, vatten, luft, exkrementer och urin.

  • Plats: Stockholm med omnejd
  • Start: Snarast
  • Typ: Heltid
  • Lön: Junior lön från Senior debitering.

@hising
hising / guidelines.md
Last active May 3, 2025 21:14
Junie Guidelines

IMPORTANT GUIDELINES

  • Make sure to add files to git that you create
  • Make a commit for each task you complete, as atomic as possible
  • Make sure you fix eslint errors and warnings
  • Make sure all added md docs are linked in README.md
  • For larger tasks, create a new branch and make a pull request
  • When fixing tasks from docs/tasks.md, make sure to set the task to done in the file
  • Make sure to push the branch to the remote repository
  • Do not be to generic in your suggestions, be specific
  • Make sure you are in the correct branch when you make changes
@hising
hising / crt.html
Created January 24, 2025 21:16
Try to mimic a CRT-screen when embedding retro game longplays
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CRT YouTube Player</title>
<style>
body {
display: flex;
flex-direction: column;
@hising
hising / sirius.html
Created October 5, 2024 19:44
IK Sirius - Last 5 2024
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Football Points Simulation</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<canvas id="resultsChart" width="400" height="200"></canvas>
@hising
hising / useModals.tsx
Created August 29, 2024 18:38 — forked from statico/useModals.tsx
Chakra UI await-able alert, confirm, and prompt modal dialogs
/*
* Usage:
* const { alert, confirm, prompt } = useModals()
* alert("Hey!") // awaitable too
* if (await confirm("Are you sure?")) ...
* const result = await prompt("Enter a URL", "http://")
*/
import React, {
createContext,
@hising
hising / .zshrc
Created November 23, 2023 19:38
.zshrc
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="nord-extended/nord"
HIST_STAMPS="yyyy-mm-dd"
source ~/.zplug/init.zsh
zplug "plugins/git", from:oh-my-zsh
zplug "zsh-users/zsh-completions"
zplug 'zsh-users/zsh-syntax-highlighting', defer:2
zplug 'zsh-users/zsh-history-substring-search', defer:3
@hising
hising / pods.sh
Created April 21, 2022 08:23
Reinstall pods
rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/*
pod deintegrate
pod setup
pod install