Skip to content

Instantly share code, notes, and snippets.

View natalyjazzviolin's full-sized avatar

Nataly Merezhuk natalyjazzviolin

View GitHub Profile
{
"name": "Post Slack message on ticket creation",
"description": "Posts ticket data to Slack channel on ticket creation",
"zis_template_version": "2019-10-14",
"resources": {
"get_zendesk_ticket_http_action": {
"type": "ZIS::Action::Http",
"properties": {
"name": "get_zendesk_ticket_http_action",
"definition": {
@natalyjazzviolin
natalyjazzviolin / airbyte_exercise.js
Last active May 10, 2022 21:43
Take home exercise for Airbyte.
/**
* Merges two sorted lists into a single sorted list.
*
* @param {Array} listOne
* @param {Array} listTwo
* @returns {Array} - listOne and listTwo sorted and combined.
*
*/
/**
@natalyjazzviolin
natalyjazzviolin / calendar.js
Last active April 29, 2022 14:00
Google Calendar API call to connect with Fullcalendar
import React, { useRef, useEffect, useState, useContext } from "react";
import Calendar from "@fullcalendar/react"; // must go before plugins
import dayGridPlugin from "@fullcalendar/daygrid";
import "../styles/Calendar.module.scss";
import { Container } from "react-bootstrap";
import { getEvents } from "../components/API/fetch";
import EventModal from "../components/Events/EventModal";
import AppContext from "../components/AppContext";
import Layout from "../components/Layout";
@natalyjazzviolin
natalyjazzviolin / rename.py
Created July 12, 2021 19:32
# Identifier '--name--' is never reassigned; use 'const' instead of 'let'. #
#!env/bin/python
import pyperclip, time, re
import keyboard
import pyautogui as pug
import click
pug.PAUSE = 1
pug.FAILSAFE = True
@natalyjazzviolin
natalyjazzviolin / sheets_calendar.gs
Created June 10, 2021 13:17
Create row in sheet on Google Calendar event creation/deletion
//Function triggered on event creation/deletion
function eventTrigger() {
var trigger = ScriptApp.newTrigger('updateEvents')
.forUserCalendar('snedecello@gmail.com')
.onEventUpdated()
.create();
}
//Function to update spreadsheet
function updateEvents() {
@natalyjazzviolin
natalyjazzviolin / student_grades.gs
Last active June 14, 2021 17:55
A script to copy student grades from one sheet to another.
//Trigger function
function sheetTrigger() {
ScriptApp.newTrigger("copyData")
.timeBased()
.everyMinutes(1)
.create();
}
//Copy function
function copyData() {
@natalyjazzviolin
natalyjazzviolin / squarespace-shipstation.gs
Last active June 14, 2021 18:01
Squarespace - Google Sheets - Shipstation integration
//Timed trigger
function sheetTrigger() {
ScriptApp.newTrigger("copyData")
.timeBased()
.everyMinutes(1) //Check every (1) minutes
.create();
}
//Copy data function
function copyData() {
@natalyjazzviolin
natalyjazzviolin / Scrape.py
Last active June 14, 2021 18:11
Scraping emails from known database.
from bs4 import BeautifulSoup
import requests
import pandas as pd
from time import sleep
import json
import csv
update = [