Skip to content

Instantly share code, notes, and snippets.

@tuzz
tuzz / github.css
Last active July 17, 2024 06:55
Github Markdown Stylesheet
/*
Copyright (c) 2017 Chris Patuzzo
https://twitter.com/chrispatuzzo
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:
@marlun
marlun / readability.user.js
Last active July 25, 2016 02:33
Temporary fix for images not being loaded on readability.com
// On readability.com images are delivered through a secure-assets domain
// but for some reason they aren't loading. Every image is linked to their
// original source so I made this greasemonkey script which switches
// the src out for the original and it seems to work.
var imgs = document.querySelectorAll('img[src*="secure-asset"]');
for (var i = 0; i < imgs.length; i++) {
var oldImg = imgs[i];
var parentNode = oldImg.parentNode;
var newImg = new Image();
newImg.src = parentNode.href.match(/\/\/.*/)[0];
<#
.SYNOPSIS
Checks parameters of a specific command for parameters that should have a value but are not Mandatory.
.DESCRIPTION
If a parameter is not marked as Mandatory but the intention is for a value to be supplied, this function
will look for an alias that begins with the string "Required_". If such an alias is found and the
parameter is not bound, this function will throw an exception or set a breakpoint depending on the
options supplied.
@Wizmann
Wizmann / workflowy-with-image.js
Last active June 14, 2023 13:29
workflowy-with-image.js
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://workflowy.com/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@alirobe
alirobe / reclaimWindows10.ps1
Last active November 15, 2024 12:08
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###