Skip to content

Instantly share code, notes, and snippets.

View umkl's full-sized avatar
:atom:
online

Mike Ungar umkl

:atom:
online
  • where my computer is at
  • 08:23 (UTC +01:00)
View GitHub Profile
@umkl
umkl / globals.css
Created November 19, 2023 10:20
add text outline to tailwind
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
.font-outline-1 {
-webkit-text-stroke: 1px white;
}
.font-outline-2 {
-webkit-text-stroke: 2px white;
@umkl
umkl / prefix_remover_script.bash
Created November 19, 2023 09:43
bash_script to remove filename prefixes
#!/bin/bash
# Check if the prefix is provided as an argument
if [ -z "$1" ]; then
echo "Usage: $0 <prefix>"
exit 1
fi
# Get the prefix from the command line argument
prefix="$1"
const player = "p";
const wall = "w";
const enemy = "e";
const obstacle = "o";
setLegend(
[ player, bitmap`
....288888......
...222888888....
...222880808....
@umkl
umkl / _document.tsx
Last active August 3, 2022 16:17
nextjs styled-components missing style on reload issue
import Document, { Head, Html, Main, NextScript } from "next/document";
import { ServerStyleSheet } from "styled-components";
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
const sheet = new ServerStyleSheet();
const originalRenderPage = ctx.renderPage;
try {
ctx.renderPage = () =>
@umkl
umkl / da0ff952c0d40e95a5015fd636b222ea.txt
Last active June 8, 2021 06:54
Typeracer Statistics
ungarmichael Typeracer Statistics