Skip to content

Instantly share code, notes, and snippets.

@cosmo0
cosmo0 / dekudeals.user.js
Last active April 23, 2025 10:00
Better Dekudeals - Tampermonkey / Greasemonkey / Violentmonkey
// ==UserScript==
// @name Better Dekudeals
// @namespace http://dekudeals.com/
// @version 1.2
// @description Various improvements to Dekudeals
// @author cosmo0
// @match https://www.dekudeals.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=dekudeals.com
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @downloadURL https://gist.githubusercontent.com/cosmo0/1154d158f9dc1f3b7f5fe841079b0cf0/raw/dekudeals.user.js
@cosmo0
cosmo0 / romset-clean.ps1
Last active March 31, 2021 10:52
Script to clean and sort a full console romset
$folder = $Args[0]
if ($folder -eq $null) {
echo "please call 'clean.ps1 [folder path]'"
}
function movedest {
$file = $args[0]
$dest = $args[1]
$name = [System.IO.Path]::GetFileName($file)
[user]
name =
email =
[gui]
recentrepo =
[core]
autocrlf = true
excludesfile = ~/.gitignore
[diff]
tool = bc3
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2016-10-05 13:16:21" build="161002">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::PowerShell}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
@echo off
rem stackoverflow.com/a/8995407/6776
NET SESSION >nul 2>&1
IF %ERRORLEVEL% EQU 0 (
ECHO Administrator PRIVILEGES Detected!
) ELSE (
echo ######## ######## ######## ####### ########
echo ## ## ## ## ## ## ## ## ##
echo ## ## ## ## ## ## ## ## ##