Skip to content

Instantly share code, notes, and snippets.

View piazzatron's full-sized avatar

Michael Piazza piazzatron

View GitHub Profile
@nquinlan
nquinlan / AddCountryCode.scpt
Last active December 6, 2024 23:03 — forked from mzcu/AddCountryCode.scpt
Add country code to OS X Address book entries
(*
AddCountryCode.scpt
=====================
Customized version of @bluestarstuido's script posted on https://gist.github.com/mzcu/3771916?permalink_comment_id=4508047#gistcomment-4508047
Forked from @mzcu's script https://gist.github.com/mzcu/3771916
Originally built from Andreas Amann's script posted on https://discussions.apple.com/message/9169756#9169756
@milankorsos
milankorsos / redux-actions.ts
Last active January 10, 2025 19:22
Correct TypeScript typing example for Redux Thunk actions
import {Action, ActionCreator, Dispatch} from 'redux';
import {ThunkAction} from 'redux-thunk';
// Redux action
const reduxAction: ActionCreator<Action> = (text: string) => {
return {
type: SET_TEXT,
text
};
};
@bendc
bendc / easing.css
Created September 23, 2016 04:12
Easing CSS variables
:root {
--ease-in-quad: cubic-bezier(.55, .085, .68, .53);
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19);
--ease-in-quart: cubic-bezier(.895, .03, .685, .22);
--ease-in-quint: cubic-bezier(.755, .05, .855, .06);
--ease-in-expo: cubic-bezier(.95, .05, .795, .035);
--ease-in-circ: cubic-bezier(.6, .04, .98, .335);
--ease-out-quad: cubic-bezier(.25, .46, .45, .94);
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);