Skip to content

Instantly share code, notes, and snippets.

maphew / PS-BGInfo.ps1
Created Apr 27, 2022 — forked from dieseltravis/PS-BGInfo.ps1
update wallpaper background image with powershell (like Sysinternals BGInfo)
View PS-BGInfo.ps1
# PS-BGInfo
# Powershell script that updates the background image with a random image from a folder and writes out system info text to it.
# run as a lower priority task
[System.Threading.Thread]::CurrentThread.Priority = 'BelowNormal'
# Configuration:
# Font Family name
maphew / flash-autoupdate.bat
Last active Aug 29, 2015 — forked from karlhorky/flash-autoupdate.bat
Trigger Adobe Flash Player Auto-Update mechanism on Windows
View flash-autoupdate.bat
:: On-Demand Flash Autoupdate
:: Author: Karl Horky
:: Date: 22 June 2012
:: Version: 0.2
:: Homepage:
@echo off
pushd C:\Windows\System32\Macromed\Flash\
if exist *ActiveX.exe (
echo Updating Flash Player Plugin for Internet Explorer
View Install-Programs
# ==========================================================================
# Script Name: Install-Programs.ps1
# Author: Andy Parkhill
# Date Created: 27/03/2014
# Description: A simple environment setup script for my personal laptop.
maphew /
Last active Apr 19, 2020 — forked from anonymous/push_to_Gist.txt
=== Leo editor script to publish from a node to Gist === At present everything is done anonymously, so there's no way to delete an old push, or make the next a push a revision to a previous one. In other words it's trivial to create **many** duplicates. So I wouldn't actually use this yet; it's just proof of concept (and wickedly easy!).
import requests
import json
description = "published from Leo" # todo: derive from docstring, if present, otherwise 1st para
public = True
filename = p.h # node headline
content = p.b # node body
api_url = ''