Skip to content

Instantly share code, notes, and snippets.

View jaymollica's full-sized avatar

Jay Mollica jaymollica

View GitHub Profile
# -*- coding: utf-8 -*-
CRAYOLA_COLORS = [
{u'rgb_color': [239, 222, 205], u'hex_color': u'#EFDECD', u'crayola_color_name': u'Almond'
},
{u'rgb_color': [205, 149, 117], u'hex_color': u'#CD9575',
u'crayola_color_name': u'Antique Brass'},
{u'rgb_color': [253, 217, 181], u'hex_color': u'#FDD9B5', u'crayola_color_name': u'Apricot'
},
{u'rgb_color': [120, 219, 226], u'hex_color': u'#78DBE2',
u'crayola_color_name': u'Aquamarine'},
@jaymollica
jaymollica / .block
Last active October 23, 2019 21:34
Stacked Pie Chart
license: gpl-3.0
height: 300
@jaymollica
jaymollica / README.md
Last active July 12, 2024 13:48
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.