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
# Check if Chocolatey is installed, if not, install it | |
if (!(Get-Command choco -ErrorAction SilentlyContinue)) { | |
Set-ExecutionPolicy Bypass -Scope Process -Force; | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
} | |
# Install the required packages | |
$packages = @("googlechrome", "vlc", "7zip", "vcredist140", "adobereader", "everything", "choco-cleaner") | |
foreach ($package in $packages) { | |
choco install $package -y |
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 selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
import requests | |
import time | |
from urllib.parse import unquote, urlparse | |
import datetime | |
import openpyxl | |
filename = 'path/data.xlsm' | |
wb = openpyxl.load_workbook(filename) |
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 calendarsync() { | |
var spreadsheet = SpreadsheetApp.getActiveSheet(); | |
var calendarId = spreadsheet.getRange("C3").getValue(); | |
var eventCal = CalendarApp.getCalendarById(calendarId); | |
var signups = spreadsheet.getRange("A38:D51").getValues(); | |
for (x = 0; x < signups.length; x++) { | |
var shift = signups[x]; | |
var nameEvent = shift[0] | |
var startEvent = shift[1]; | |
var endEvent = shift[2]; |