Skip to content

Instantly share code, notes, and snippets.

View milushov's full-sized avatar
😏
crafting new bugs

roma milushov

😏
crafting new bugs
View GitHub Profile
@milushov
milushov / 2026-05-27-comparison-avatar-dots.html
Created May 27, 2026 12:32
Lapster — lap comparison map: avatars inside racing dots (3 variants)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lap comparison — avatar dots (person vs person)</title>
<style>
:root {
--bg: #0e1014;
--panel: #14171c;
@milushov
milushov / 2026-05-27-island-toast-padding-variants.html
Created May 27, 2026 08:40
Lapster island toast — left-padding variants comparison
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Island toast — padding variants comparison</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
:root {
--pill-h: 88px;
--pill-w: 360px; /* worst-case expanded width */
@milushov
milushov / 2026-05-26-island-toast-morph-r2.html
Created May 26, 2026 18:49
Lapster island toast — DI grows DOWN, top stays as DI
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Island Toast Morph — DI grows DOWN, top stays as DI</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
:root {
--bg: #f2f2f7; /* iOS systemGroupedBackground */
--card: #ffffff;
@milushov
milushov / notifications-design.html
Last active May 23, 2026 13:45
Lapster — Notifications color direction (3 token-only variants, light + dark)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lapster — Notifications Color Proposals</title>
<style>
/* ---------- LapsterTheme tokens (mirrored from ios/Lapster/Common/Theme/LapsterTheme.swift) ---------- */
:root {
/* Light scheme */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CA-5591/CA-5592 Architecture</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f172a; color: #e2e8f0; padding: 40px; }
h1 { text-align: center; margin-bottom: 8px; font-size: 24px; color: #f8fafc; }
.subtitle { text-align: center; color: #94a3b8; margin-bottom: 40px; font-size: 14px; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CA-5591/CA-5592 Architecture</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f172a; color: #e2e8f0; padding: 40px; }
h1 { text-align: center; margin-bottom: 8px; font-size: 24px; color: #f8fafc; }
.subtitle { text-align: center; color: #94a3b8; margin-bottom: 40px; font-size: 14px; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CA-5591/CA-5592 Architecture</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f172a; color: #e2e8f0; padding: 40px; }
h1 { text-align: center; margin-bottom: 8px; font-size: 24px; color: #f8fafc; }
.subtitle { text-align: center; color: #94a3b8; margin-bottom: 40px; font-size: 14px; }
@milushov
milushov / up.sh
Created November 28, 2023 18:55
up.sh
#!/bin/bash
# Don't forget chmod +x up.sh
# Installation:
# brew install jq
#
# Define function in ~/.zshrc
# container_name() {
# docker ps --format "{{.Names}}" | grep "app-1"
@milushov
milushov / .gitlab-ci.yml
Last active September 26, 2025 00:26
Kamal (Ex Mrsk) deploy with Gitlab CI (docker in docker)
services:
- docker:24.0.5-dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" # don't start over TLS
meta-build-image:
interruptible: true
https://julien.danjou.info/why-you-should-care-that-your-sql-ddl-is-transactional/