Skip to content

Instantly share code, notes, and snippets.

View umkl's full-sized avatar
🏗️
/dɪˈvɛləpɪŋ/

umkl

🏗️
/dɪˈvɛləpɪŋ/
View GitHub Profile
@umkl
umkl / show-hide-macos-desktop-icons.zshrc
Last active April 9, 2024 14:35
easily hide and show desktop icons on macos
alias hide-desktop="defaults write com.apple.finder CreateDesktop false; killall Finder"
alias show-desktop="defaults write com.apple.finder CreateDesktop true; killall Finder"
@umkl
umkl / script.js
Created January 12, 2024 14:40
Notifications remover automation javascript
function run(input, parameters) {
const appNames = [];
const skipAppNames = [];
const verbose = true;
const scriptName = "close_notifications_applescript";
const CLEAR_ALL_ACTION = "Clear All";
const CLEAR_ALL_ACTION_TOP = "Clear";
@umkl
umkl / default
Created December 9, 2023 17:57
default nginx config
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
#
# In most cases, administrators will remove this file from sites-enabled/ and
# leave it as reference inside of sites-available where it will continue to be
# updated by the nginx packaging team.
@umkl
umkl / 🎵 My Spotify Top Tracks
Last active February 19, 2024 13:43
My top tracks to focus on work 🥽
Track Artist
------------------------------------------------------
Voyage Leavv
Spatial Sequence Endel, Dream Park
Sand Drawing Endel
School Rooftop Hisohkah, WMD
Deep Surf Jetson
Butterfly Swørn
Far Away Swørn
mocean tusken.
@umkl
umkl / ⌨️ TypeRacer | Statistics of ungarmichael
Last active December 8, 2023 09:41
⌨️ TypeRacer | Statistics of ungarmichael
64 Games played | 31 Games won | 👑 114 WPM | ø 83 WPM
―― Recent races (Average ø 84 WPM)
████████████████████████▎░░░░░░░░░░ 79 WPM
█████████████████████▉░░░░░░░░░░░░░ 71 WPM
███████████████████████▍░░░░░░░░░░░ 76 WPM
█████████████████████████▎░░░░░░░░░ 82 WPM
███████████████████████░░░░░░░░░░░░ 75 WPM
██████████████████████████▊░░░░░░░░ 87 WPM
███████████████████████████▎░░░░░░░ 89 WPM
█████████████████████████████▊░░░░░ 97 WPM
.no-scrollbar::-webkit-scrollbar {
display: none;
}
@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 = () =>