Skip to content

Instantly share code, notes, and snippets.

View cdinnison's full-sized avatar
🍊

Clark Dinnison cdinnison

🍊
View GitHub Profile
@Saadnajmi
Saadnajmi / Ripple.tsx
Created December 29, 2024 06:31
Ripple Effect Shader with react-native-skia
import { Canvas, Circle, Group, Rect, Shader, Skia, useClock, RuntimeShader, SkRuntimeEffect, RoundedRect } from "@shopify/react-native-skia";
import { SafeAreaView, StyleSheet } from "react-native";
import { useDerivedValue, useSharedValue } from "react-native-reanimated";
import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler';
const styles = StyleSheet.create({
centered: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
@cdinnison
cdinnison / .gitconfig
Last active December 20, 2024 06:25
AI-Powered Commit Messages from Unstaged Changes
[alias]
save = "!f() { commit_message=$(bash ~/developer/scripts/git_save.sh); if [ \"$commit_message\" != \"No unstaged changes to commit.\" ] && [ -n \"$commit_message\" ]; then git add . && echo \"$commit_message\" | xargs -I {} git commit -m \"{}\" && git push; else echo \"No commit message generated\"; fi; }; f"
message = !bash ~/developer/scripts/git_save.sh
@slavingia
slavingia / create_pr.sh
Created September 13, 2024 17:13
Create a (draft) pull request using GitHub CLI
#!/bin/bash
# Create a (draft) pull request using GitHub CLI.
# It assigns the PR to the current user, fills in the title from the first commit,
# and uses the PR template file for the description.
set -euo pipefail
# Colors for output
RED='\033[0;31m'
@Blackshome
Blackshome / appliance-notifications.yaml
Last active May 5, 2026 14:20
appliance-notifications.yaml
blueprint:
name: Appliance Notifications & Actions
description: >
# 📳 Appliance Notifications & Actions
**Version: 4.0**
🤔 Watts your appliance up to, you're always in the know from start to finish! 🛎️🔌💸
@rain-1
rain-1 / LLM.md
Last active March 27, 2026 08:10
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

//
// BottomSheetView.swift
//
// Created by Majid Jabrayilov
// Copyright © 2019 Majid Jabrayilov. All rights reserved.
//
import SwiftUI
fileprivate enum Constants {
static let radius: CGFloat = 16
@sdwfrost
sdwfrost / counties.geojson
Created September 23, 2019 17:54
US Counties data in geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@patpohler
patpohler / Big List of Real Estate APIs.md
Last active May 4, 2026 15:06
Evolving list of Real Estate APIs by Category

Big List of Real Estate APIs

Listings / Property Data

####Rets Rabbit http://www.retsrabbit.com

Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.