Skip to content

Instantly share code, notes, and snippets.

View simonmurdock's full-sized avatar
🐟
Playing Slime Rancher 2

simonmurdock

🐟
Playing Slime Rancher 2
View GitHub Profile
@simonmurdock
simonmurdock / ShowAllJobSchedules.sql
Created May 23, 2017 14:03
SQL Server show all Job Schedules
SELECT [JobName] = [jobs].[name]
,[Category] = [categories].[name]
,[Owner] = SUSER_SNAME([jobs].[owner_sid])
,[Enabled] = CASE [jobs].[enabled] WHEN 1 THEN 'Yes' ELSE 'No' END
,[Scheduled] = CASE [schedule].[enabled] WHEN 1 THEN 'Yes' ELSE 'No' END
,[Description] = [jobs].[description]
,[Occurs] =
CASE [schedule].[freq_type]
WHEN 1 THEN 'Once'
WHEN 4 THEN 'Daily'
@simonmurdock
simonmurdock / Scraper.cs
Last active February 23, 2021 18:30
scraper
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using HtmlAgilityPack;
namespace scraper