Skip to content

Instantly share code, notes, and snippets.

@dannylee8
dannylee8 / shopifySampleOrder.json
Last active April 19, 2020 02:44
Shopify sample (single) order
{
"order": {
"id": 450789469,
"email": "bob.norman@hostmail.com",
"closed_at": null,
"created_at": "2008-01-10T11:00:00-05:00",
"updated_at": "2008-01-10T11:00:00-05:00",
"number": 1,
"note": null,
"token": "b1946ac92492d2347c6235b4d2611184",
@dannylee8
dannylee8 / sijo.txt
Created April 11, 2020 15:26
sijo.txt
Sijo is a traditional Korean vernacular poetic form that emerged in the Koryǒ period, flourished during the Chosǒn Dynasty, and is still written today. Common themes include, but are not limited to, the following: nature, nostalgia of the past, love interests, historical events, moral instruction. Most were written and enjoyed by the educated yangban class. However, there was an exception to this. Kisaengs were of the lowest class, yet they could partake in creating and reciting sijo.
Structurally, 'sijo' is widely known to have three lines averaging 14-16 syllables, for a total of 44-46: theme (3, 4,4,4); elaboration (3,4,4,4); counter-theme (3,5) and completion (4,3). However, only a small percentage of sijo actually follow this structure. Instead of syllabic count, it is more accurate to structure sijo with hemistichs or syntactic units. Each line is composed of 2 hemistichs and within each hemistich is a syntactic unit, which is why there are 2 syntactic units in each sijo line. This structure, however,
@dannylee8
dannylee8 / shopifySampleOrders.json
Last active April 19, 2020 02:55
Shopify sample (multiple) orders
{
"orders": [
{
"id": 450789469,
"email": "bob.norman@hostmail.com",
"closed_at": null,
"created_at": "2008-01-10T11:00:00-05:00",
"updated_at": "2008-01-10T11:00:00-05:00",
"number": 1,
"note": null,
Bracket Pair Colorizer 2
Ruby and Rails Snippets
Prettier
Liver Server
Liquid
Indent Rainbow
Indenticator
ES7 REact/Redux/GraphQL/React-Native snippets
JS JSX Snippets
Json
@dannylee8
dannylee8 / FlattenShopifyOrders
Created April 23, 2020 17:42
Flatten (multiple) Orders using jq's paths(scalar) aka leaf_paths
{
"0.id": 450789469,
"0.email": "bob.norman@hostmail.com",
"0.created_at": "2008-01-10T11:00:00-05:00",
"0.updated_at": "2008-01-10T11:00:00-05:00",
"0.number": 1,
"0.token": "b1946ac92492d2347c6235b4d2611184",
"0.gateway": "authorize_net",
"0.total_price": "598.94",
"0.subtotal_price": "597.00",
@dannylee8
dannylee8 / FlattenSHopifyOrders_singleObject
Created April 23, 2020 17:55
Flatten (single element in array) Orders using jq's paths(scalar) aka leaf_paths
{
"id": 450789469,
"email": "bob.norman@hostmail.com",
"created_at": "2008-01-10T11:00:00-05:00",
"updated_at": "2008-01-10T11:00:00-05:00",
"number": 1,
"token": "b1946ac92492d2347c6235b4d2611184",
"gateway": "authorize_net",
"total_price": "598.94",
"subtotal_price": "597.00",
@dannylee8
dannylee8 / portfolio_related.php
Created April 29, 2020 00:01
Visual Composer (Hind Theme) portfolio_related.php edits nothing happens / changes don't show up.
@dannylee8
dannylee8 / scroller.pl
Created May 26, 2020 16:59
Found one of the first programs I ever wrote. This one was at escape.com and was a text scroller on sunos.
#!/usr/local/bin/perl
#
# scroller for text files
#
##############################################################################
# configuration
#
$clear_command = '/usr/ucb/clear'; # command to clear screen
##############################################################################
@dannylee8
dannylee8 / eslint-configurations-feature-checking-comparision.md
Last active January 27, 2023 16:14
ESLint Configuration Feature Comparision (airbnb vs google vs eslint recommended vs standard)
🏄🏻‍♂️ Eslint Airbnb Google Standard
Error Checking [docs]
@dannylee8
dannylee8 / Website_problems_list.md
Last active August 1, 2020 23:07
Finding Problems on Websites

Crunchbase

ERROR: Trying to update profile email fails. DESC: I signed up with linkedin, but recently changed my email on linkedin. Without disconnecting from CB. When i tried to log into cb it didnt work so I reset my password. In profile section, when I click on my email to update it, type in a new address and click save, it doesnt do anything. I get the following error in Chrome console when I load the page:

polyfills-es2015.9f509c5561b54b6c051d.js:1 GET https://www.crunchbase.com/v4/md/personalizations/crunchbase 404

And another, when I click the save button: