Skip to content

Instantly share code, notes, and snippets.

View lukasluecke's full-sized avatar
🧞‍♂️

Lukas Lücke lukasluecke

🧞‍♂️
View GitHub Profile
@stevengoldberg
stevengoldberg / Example.js
Last active June 3, 2025 04:05
Expo Module wrapper for Mantis iOS cropping library
function CropperExample({
image,
cropperRef,
isCroppingLocked,
setIsCroppingLocked,
setCroppingRatio,
setIsCropResettable,
}) {
return (
<CropperView
@techwithanirudh
techwithanirudh / schedule-x-theme.css
Last active November 13, 2024 09:50
This is a theme for schedule-x which makes it look a bit more like shadcn, and removes a bit of mui design hints.
:root {
/* Primary colors */
--sx-color-primary: hsl(var(--primary));
--sx-color-on-primary: hsl(var(--primary-foreground));
--sx-color-primary-container: hsl(var(--muted));
--sx-color-on-primary-container: hsl(var(--muted-foreground));
/* Secondary colors */
--sx-color-secondary: hsl(var(--secondary));
--sx-color-on-secondary: hsl(var(--secondary-foreground));
@lurebat
lurebat / README.md
Last active December 25, 2025 23:58
Jetmove - A script to enhance navigation and multiple carets in Jetbrains IDEs

What is this?

Jetmove is a script I wrote to myself for some navigation and multiple carets features I felt were missing in Jetbrains IDEs.

It uses the excellent Live Plugin to run the script in the IDE.

All features support multiple carets, and are designed to work with them.

Features

@chapmanjacobd
chapmanjacobd / gitls.md
Last active December 26, 2025 00:21
a few interesting git commands

gitls

git ls-files --sparse --full-name -z | 
  xargs -0 -I FILE -P 20 git log --date=iso-strict-local --format='%ad %>(14) %cr %<(5) %an  %h ./FILE' -- FILE | 
  sort --general-numeric-sort

This lists the files and hashes for each git commit and file:

2021-12-05T13:32:32-06:00  1 year, 11 months ago  Jacob Chapman  cc91fa0 ./.gitattributes

2021-12-05T13:32:32-06:00 1 year, 11 months ago Jacob Chapman cc91fa0 ./.gitignore

@itsMapleLeaf
itsMapleLeaf / example.tsx
Last active January 28, 2026 01:29
React suspense with Convex
import { Suspense } from 'react'
import { api } from 'convex/_generated'
import { useQuerySuspense } from './useQuerySuspense'
function App() {
return (
<Suspense fallback="Loading...">
<TodoList />
</Suspense>
)
@jordienr
jordienr / tailwind.config.ts
Created July 15, 2023 09:10
Tailwind SVG Grid Background
// Remember to install mini-svg-data-uri
// Follow me on twitter for memes @jordienr
import { type Config } from "tailwindcss";
const {
default: flattenColorPalette,
} = require("tailwindcss/lib/util/flattenColorPalette");
const svgToDataUri = require("mini-svg-data-uri");
export default {
@legowerewolf
legowerewolf / readme.md
Last active April 7, 2024 02:13
Tailscale on Steam Deck
# Instructions for fresh install
$ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume --daemon
# reboot
$ source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
$ echo 'export NIX_PATH=darwin-config=$HOME/.nixpkgs/darwin-configuration.nix:$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH' | tee -a ~/.zshrc
$ echo 'source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh' | tee -a ~/.zshrc
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
$ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
@vasilvestre
vasilvestre / README.md
Last active June 18, 2020 15:05
Programmatically login as User in Symfony 4.3+ to 5 App with Behat + Mink 1.8 + FriendsOfBehat/SymfonyExtension

The TestBrowserToken is a copy modified for my needs and taken from here

It's first a Symfony feature implemented in 5.1 here, it's just the mink adaptation with new super Symfony extension.

@chriselsner
chriselsner / nix-on-macos-catalina.md
Last active October 19, 2025 12:44
Nix on macOS Catalina

Nix on macOS Catalina

I'm writing this gist for my own records but it might help someone else too.

Installing Nix

Support for Catalina has improved a lot since the update was first rolled out.

Note: See the NixOS manual for discussion of the --darwin-use-unencrypted-nix-store-volume option.