Skip to content

Instantly share code, notes, and snippets.

[General]
MainWindowLeft=1289
MainWindowTop=515
[Profile_0]
Name=his
GPU_P0=300;800
GPU_P1=466;818
GPU_P2=751;824
GPU_P3=952;827

launcher.exe

5cb878a6e95db7921631fb77ad2b54f41c035112

0x00009e53 01 => 03 0x00009e53
0x00013f6a 74 => eb 0x00013f6a

superposition.exe

b90722a975b126c1533f2841da086b54629f29d1

0x0002cb63 75 => eb 0x0002cb63

#!/bin/sh
set -e
test -f "$1"
cat <<EOF
<style>
.markdown-body .octicon {
display: inline-block;
; ml /coff woke.asm /link /subsystem:console
.386
.model flat, stdcall
option casemap :none
include \masm32\include\kernel32.inc
include \masm32\include\windows.inc
includelib \masm32\lib\kernel32.lib
.code
/*
** Buggy-Mouse.ahk - Fix a buggy mouse. Stop it from double-clicking when you try to single-click.
**
** NOTE: Please use this URL when linking to Buggy Mouse: r.secsrv.net/AutoHotkey/Scripts/Buggy-Mouse
**
** Updated: Thu, Nov 1, 2012 --- 11/1/12, 10:19:19am EDT
** Location: r.secsrv.net/AutoHotkey/Scripts/Buggy-Mouse
**
** Keywords: mouse double clicks when I click once
** Keywords: mouse double clicks when I single click
@nguyendown
nguyendown / archwsl.ps1
Last active April 10, 2021 08:04
windows pls
Import-Module -DisableNameChecking $PSScriptRoot\download.psm1
$Content = Invoke-RestMethod -Uri https://api.github.com/repos/yuk7/ArchWSL/releases/latest
$latestVersion = $Content.tag_name
$currentVersion = (Get-AppxPackage -Name yuk7.archwsl).Version
if ($currentVersion -eq $latestVersion) {
Write-Host 'Already have the latest version.'
Write-Host 'Press enter to reinstall.'
Read-Host
}
@nguyendown
nguyendown / ppt2pdf.ps1
Created April 25, 2019 23:52 — forked from mp4096/ppt2pdf.ps1
Batch convert PowerPoint files to PDF
# Batch convert all .ppt/.pptx files encountered in folder and all its subfolders
# The produced PDF files are stored in the invocation folder
#
# Adapted from http://stackoverflow.com/questions/16534292/basic-powershell-batch-convert-word-docx-to-pdf
# Thanks to MFT, takabanana, ComFreek
#
# If PowerShell exits with an error, check if unsigned scripts are allowed in your system.
# You can allow them by calling PowerShell as an Administrator and typing
# ```
# Set-ExecutionPolicy Unrestricted