Skip to content

Instantly share code, notes, and snippets.

@DrEmpiricism
DrEmpiricism / Start-WindowsCleanup.ps1
Last active October 14, 2024 22:30
Clean-up system clutter and reclaim disk space
Function Start-WindowsCleanup
{
<#
.SYNOPSIS
`Start-WindowsCleanup` cleans-up a system clutter and reclaims disk space.
.DESCRIPTION
The `Start-WindowsCleanup` cmdlet performs the following clean-up tasks to reclaim disk space:
Clears the contents of common directories of the Windows file system for both the current running user and the global system that are used to store temporary, logging, backup, cache and dump files.
@rithvikvibhu
rithvikvibhu / LICENSE
Last active April 6, 2025 09:31
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@beporter
beporter / add_to_cart.user.js
Last active January 14, 2025 19:33
Greasemonkey script to repeatedly refresh a given page, look for specific "Add to Cart" buttons, click them if present, and make a lot of noise on success.
// ==UserScript==
// @name Add Saved Items to Cart
// @namespace https://gist.github.com/beporter/ce76204bcba35d9edb66b395bb5e9305
// @version 0.5
// @description Repeatedly refresh a given "saved items" page (Amazon, Walmart, BestBuy), look for specific "Add to Cart" buttons, click them if present, and make a lot of noise on success.
// @author https://github.com/beporter
// @match https://www.amazon.com/gp/registry/wishlist/*
// @match https://www.amazon.com/hz/wishlist/ls/*
// @match https://www.bestbuy.com/cart
// @match https://www.bestbuy.com/site/customer/lists/manage/saveditems
@bryant988
bryant988 / zillow.js
Last active April 9, 2025 02:19
Zillow Image Downloader
/**
* NOTE: this specifically works if the house is for sale since it renders differently.
* This will download the highest resolution available per image.
*/
/**
* STEP 1: Make sure to *SCROLL* through all images so they appear on DOM.
* No need to click any images.
@routeback
routeback / notes.md
Last active March 12, 2025 10:14
SEC487 Notes
@stewartmcgown
stewartmcgown / takeout-discovery.json
Last active October 15, 2024 07:58
Google Takeout API
{
"title": "Takeout API",
"discoveryVersion": "v1",
"ownerName": "Google",
"version_module": true,
"resources": {
"exports": {
"methods": {
"get": {
"flatPath": "v2/{service}/exports/{exportId}",
@roysubs
roysubs / BeginSystemConfig.ps1
Last active September 13, 2024 07:21
Run this script using iex (Invoke-Expression) to configure apps, create profile-extensions, install modules and other custom setup
########################################
#
# BeginSystemConfig.ps1
# iex ((New-Object System.Net.WebClient).DownloadString('https://bit.ly/2R7znLX'));
#
# Author: [email protected]
#
# 2019-11-25 Initial setup
# 2020-10-19 Latest Version
#
@yanniskatsaros
yanniskatsaros / references.txt
Last active December 16, 2023 20:43
Get Zillow Property ID's (zpid) for a given zipcode.
- https://www.scrapehero.com/how-to-scrape-real-estate-listings-on-zillow-com-using-python-and-lxml/
- https://gist.github.com/scrapehero/5f51f344d68cf2c022eb2d23a2f1cf95
- https://rapidapi.com/dimashirokov/api/Zillow/details
- https://www.zillow.com/howto/api/GetZestimate.htm
E:\> Get-PackageProvider | fl
Name : NuGet
ProviderName : NuGet
Features : {[supports-powershell-modules, System.Collections.Generic.List`1[System.String]], [file-extensions, System.Collections.Generic.List`1[System.String]], [uri-schemes,
System.Collections.Generic.List`1[System.String]], [magic-signatures, System.Collections.Generic.List`1[System.String]]}
Version : 3.0.0.1
ProviderPath : C:\Users\marck\OneDrive\Documents\PowerShell\Modules\PackageManagement\1.4.5\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll
SupportedFileExtensions : {nupkg}
SupportedUriSchemes : {http, https, file}
@curran
curran / README.md
Last active March 31, 2022 09:00
IHME HIV / AIDS Dataset