Skip to content

Instantly share code, notes, and snippets.

View AScriver's full-sized avatar
🚩
Learning

Austin AScriver

🚩
Learning
View GitHub Profile
@AScriver
AScriver / RecurringJob.php
Created February 27, 2024 19:06 — forked from jesperborgstrup/RecurringJob.php
Quick way to perform recurring jobs with php-resque-scheduler
<?php
use Resque;
use ResqueScheduler\ResqueScheduler;
/**
* Base class for recurring Resque jobs.
*
* Jobs must implement the recurrentSetUp(), recurrenctPerform(), and recurrentTearDown()
* methods instead of the normal setUp(), perform(), and tearDown() methods.
*
@AScriver
AScriver / cleanup-win10.ps1
Last active March 18, 2023 18:59 — forked from halkyon/cleanup-win10.ps1
Cleanup Windows 10 Powershell script
## Instructions
## 1. Run this script (under Powershell as Administrator):
## powershell -ExectionPolicy Bypass .\cleanup-win10.ps1
## 2. Let it run through, you may see a few errors, this is normal
## 3. Reboot
## shutdown /r /t 0
## 5. Done!
##
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT