Skip to content

Instantly share code, notes, and snippets.

View ginatrapani's full-sized avatar
🏳️‍🌈
a work in progress

Gina Trapani ginatrapani

🏳️‍🌈
a work in progress
View GitHub Profile
@ginatrapani
ginatrapani / README.md
Created November 3, 2017 16:13 — forked from jaymollica/README.md
Emojis to Words

Emojis to Words

  1. json encode an emoji to get its surrogate pair
$surrogate_pair = json_encode(🌊);
print $surrogate_pair; //"\ud83c\udf0a"
  1. The surrogate pair is the key in the array, check if the key exists and send back the associated keyword. The $emojis_to_words variable is an array you need to include in your project.
@ginatrapani
ginatrapani / README.md
Created November 3, 2017 16:13 — forked from jaymollica/README.md
Emojis to Words

Emojis to Words

  1. json encode an emoji to get its surrogate pair
$surrogate_pair = json_encode(🌊);
print $surrogate_pair; //"\ud83c\udf0a"
  1. The surrogate pair is the key in the array, check if the key exists and send back the associated keyword. The $emojis_to_words variable is an array you need to include in your project.
layout title description tags
default
SQL Style Guide
A guide to writing clean, clear, and consistent SQL.
data
process

Purpose

@ginatrapani
ginatrapani / todo.txt final filter
Created January 19, 2011 17:31
Specially colorizes priority, date and project.
#!/bin/bash
COLOR_CONTEXT=$GREEN
COLOR_PROJECT=$RED
COLOR_DATE=$LIGHT_GREEN
# Force gawk to behave posixly. Comment out if you get an error about
# no such option -W.
# AWK_OPTIONS="-W posix"
if [ "$TODOTXT_PLAIN" -eq "0" ]; then
awk $AWK_OPTIONS "
{ color = \"$DEFAULT\" }
@ginatrapani
ginatrapani / sizing.md
Created July 27, 2016 15:50 — forked from mutewinter/sizing.md
T-Shirt sizes we use for estimation at Postlight

Table

Size What it means
▁ S 💅 I can get this done in one session at the computer with no breaks
▃ M ☕ This will require breaks, less than a day
▅ L 💦 This will require more than one day
▇ XL 😱 Rare! This will require a week or more. Try breaking into multiple smaller issues

On Wealth

Mike Karnjanaprakorn @mikekarnj

Twitter Thread

Over time, I've changed my views on wealth. When I was in my early 20s, I wrote it off as something I would figure out later. When I started a company at 27, I figured that my stock as founder would be good enough. I was wrong in both. Here's what I've learned…

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'DESCRIPTION: This script will clean up any files that have a last modified
' date greater than or equal to the number specified.
'CREATED BY: Brian Plexico - microISV.com
'MODIFIED BY: Gina Trapani (ginatrapani@gmail.com)
'CREATE DATE: 07/19/2005
'UPDATED: 08/10/2007
'
'INSTRUCTIONS: 1. Enter the path to the directory you'd like to clean on line 28.
' Make sure to only change the text that currently reads: