Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard.
This is the base javascript:
(function (text) {
var node = document.createElement('textarea')
var selection = document.getSelection()
/* | |
SortTable | |
version 2 | |
7th April 2007 | |
Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/ | |
Instructions: | |
Download this file | |
Add <script src="sorttable.js"></script> to your HTML | |
Add class="sortable" to any table you'd like to make sortable |
Decompiled DLL with ILSpy to identify various commands.
Most commands can be found in DDM2._0_UX.CmdBackground.cmdService_DoWork
Write commands can be prefixed with int:command to specify which monitor to send the command to.
.\DDM.exe /0:writebrightnesslevel 50
--- Firefox places.sqlite exploration | |
-- https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/Database | |
-- https://wiki.mozilla.org/images/d/d5/Places.sqlite.schema3.pdf | |
-- http://forensicswiki.org/wiki/Mozilla_Firefox_3_History_File_Format (probably somewhat outdated) | |
-- [select text -> right click -> search] does not set from_visit :( | |
--- Magic numbers |
/* | |
This file is now hosted here: | |
https://github.com/victornpb/undiscord | |
*/ |
javascript:(function(){ | |
//inspired by http://userscripts.org/scripts/show/8924 | |
var s = document.createElement('script'); | |
s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'); | |
if(typeof jQuery=='undefined') document.getElementsByTagName('head')[0].appendChild(s); | |
(function() { | |
if(typeof jQuery=='undefined') setTimeout(arguments.callee, 100) | |
else{ | |
jQuery("*").one("click",function(event){ | |
//http://snippets.dzone.com/posts/show/4349 |
# This code is based on tutorial by slicktechies modified as needed to use oauth token from Twitch. | |
# You can read more details at: https://www.junian.net/2017/01/how-to-record-twitch-streams.html | |
# original code is from https://slicktechies.com/how-to-watchrecord-twitch-streams-using-livestreamer/ | |
import requests | |
import os | |
import time | |
import json | |
import sys | |
import subprocess |
# Created by @PhilippIRL | |
# This script patches Spotify's offline.bnk file (this file caches the remote config) to trick Spotify into thinking that your account is enabled for dev tools. | |
# Spotify will automatically revert this local change after some time when it next fetches the remote config. | |
# Of course you will have to completely close Spotify before running this script. | |
import os, sys, platform | |
systemPlatform = platform.system() | |
if systemPlatform == 'Windows': |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> |
REM you need to execute in adminstrator command prompt | |
REM based on | |
REM https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup | |
REM All existing service packs and updates cannot be uninstalled after this command is completed. | |
REM This will not block the uninstallation of future service packs or updates | |
Dism.exe /online /Cleanup-Image /SPSuperseded | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase |