Skip to content

Instantly share code, notes, and snippets.

View pmache's full-sized avatar
💭
I'm always slow to respond.

Athema pmache

💭
I'm always slow to respond.
View GitHub Profile
-- @description ReaLauncher
-- @author solger
-- @version 2.5.4
-- @changelog
-- + General: Changed the default double click behavior setting for new installs from 'Show prompt' to 'Load'
-- + Project Lists: Bugfix to consider file extensions in both upper and lower case when accessing files (.rpl and .RPL)
-- + Tabs: Bugfix for using the mousewheel to scroll through the tabs
-- + UI: Improvements in the display of some label texts
-- @screenshot https://forum.cockos.com/showthread.php?t=208697
-- @about
@pmache
pmache / browser
Last active July 8, 2024 17:55
Reaper Alternative Media Browser
-- Media Browser for REAPER using ReaImGui
-- Version 1.2.0 (Orange and Gray Theme with Plugin Enhancements)
local r = reaper
local ctx = r.ImGui_CreateContext('Media Browser')
-- Set standard fonts
local font_size = 16
local font = r.ImGui_CreateFont("Segoe UI", font_size)
using System;
using System.Drawing;
using System.IO;
using System.Net;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Diagnostics;
namespace FileManager
@pmache
pmache / Service KMS
Last active April 7, 2022 16:00 — forked from judero01col/Service KMS
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
@pmache
pmache / ports.txt
Created April 7, 2022 15:58 — forked from TheCodonist/ports.txt
ports and their names
0/tcp Reserved
tcpmux 1/tcp TCP Port Service Multiplexer
compressnet 2/tcp Management Utility
compressnet 3/tcp Compression Process
rje 5/tcp Remote Job Entry
echo 7/tcp Echo
discard 9/tcp Discard
systat 11/tcp Active Users
daytime 13/tcp Daytime (RFC 867)
qotd 17/tcp Quote of the Day
@pmache
pmache / unixToolbox.md
Created April 7, 2022 15:58 — forked from tokhi/unixToolbox.md
Collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users.

#Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

##Unix Toolbox revision 14.4

The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are m
@pmache
pmache / reclaimWindows10.ps1
Created June 4, 2021 20:45 — forked from alirobe/reclaimWindows10.ps1
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.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@pmache
pmache / trash.sh
Created April 2, 2021 12:50 — forked from geek-at/trash.sh
The script used to trash a banking phishing site
#!/bin/bash
while :; do
verf=$(cat /dev/urandom | tr -dc '0-9' | fold -w 8 | head -n 1)
pin=$(cat /dev/urandom | tr -dc '0-9' | fold -w 5 | head -n 1)
ip=$(printf "%d.%d.%d.%d\n" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))")
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@pmache
pmache / auth.php
Created January 28, 2014 13:31 — forked from mwesten/auth.php
<?php
class Auth_Controller extends Base_Controller {
public $restful = true;
public function __construct() {
$this->filter( 'before', 'guest' )->except( array( 'logout', 'validate' ) );
// Note: We may not always require CSRF on login for system based logins so ignore it here.
$this->filter( 'before', 'csrf' )->on( 'post' )->except( array( 'login' ) );
}