This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import requests | |
import pandas as pd | |
from time import sleep | |
import json | |
import csv | |
update = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Timed trigger | |
function sheetTrigger() { | |
ScriptApp.newTrigger("copyData") | |
.timeBased() | |
.everyMinutes(1) //Check every (1) minutes | |
.create(); | |
} | |
//Copy data function | |
function copyData() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Trigger function | |
function sheetTrigger() { | |
ScriptApp.newTrigger("copyData") | |
.timeBased() | |
.everyMinutes(1) | |
.create(); | |
} | |
//Copy function | |
function copyData() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!env/bin/python | |
import pyperclip, time, re | |
import keyboard | |
import pyautogui as pug | |
import click | |
pug.PAUSE = 1 | |
pug.FAILSAFE = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Merges two sorted lists into a single sorted list. | |
* | |
* @param {Array} listOne | |
* @param {Array} listTwo | |
* @returns {Array} - listOne and listTwo sorted and combined. | |
* | |
*/ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": { |