Skip to content

Instantly share code, notes, and snippets.

@phil-loops
phil-loops / do-it.py
Created October 2, 2023 19:07
CSV --> Loops Api
import csv
import requests
import time
file_path = 'my-csv.csv'
headers = {"Authorization": "Bearer ......"}
# Open the CSV file
with open(file_path, newline='') as csvfile:
# Create a CSV reader object
////////////////
//
// Using Framer?
// See https://www.framer.com/learn/code-components/ for more info
//
////////////////
import { useState } from "react";
const INIT = "INIT";
@phil-loops
phil-loops / gist:c0cb5d84d502a3949651934252d306af
Created September 11, 2023 18:57
Example ICS - Oil Change
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//ical.marudot.com//iCal Event Maker
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
LAST-MODIFIED:20230407T050750Z
TZURL:https://www.tzurl.org/zoneinfo-outlook/America/Los_Angeles
X-LIC-LOCATION:America/Los_Angeles
BEGIN:DAYLIGHT