Skip to content

Instantly share code, notes, and snippets.

@Rudo2204
Rudo2204 / batch_editor_pkhex_status_condition.txt
Created March 27, 2022 18:09
Batch Editor PKHeX to give pokemon status condition (useful for nuzlocke idk)
=OT_Name=Rosa
=Slot=6
.Status_Condition=05
First line will narrow down to the mons of trainer Rosa (for more accurate filter, use TID, which you can get from SAV -> Trainer Info)
=TID=23569 or whatever
Then second line will narrow down to the slot 6 (then click Party on top of the Batch Editor to apply to the slot 6 of the current party)
Then the third line will give it the status
1 = paralysis
@rlaphoenix
rlaphoenix / bdsp-glitch.md
Last active April 14, 2024 19:27
Pokémon Brilliant Diamond & Shining Pearl Glitching

Pokémon Brilliant Diamond & Shining Pearl Glitching

Note: This document is fairly out of date. While a lot of the information within it is valid, the strategies to various tricks in here has since been improved or trumped by another strategy.

I might not be updating this document in this future, so if anyone wants to fork this git to continue it, feel free. In the meantime check out BLAINES YouTube as he has covered glitches found since I stopped documenting them.

Do note that I do not agree with BLAINES strategy of obtaining information on some of those glitches

@hooke007
hooke007 / ScaleModels.json
Last active February 17, 2025 02:51
[Magpie] 示例缩放配置
[
// 适用版本 Magpie release v0.9.1
// 关于子选项数值的具体含义请阅读 https://github.com/Blinue/Magpie/wiki/自定义缩放配置
// 调用单项着色器的示例
{"name":"ACNet","effects":[
{"effect":"ACNet"},
]},
@44213
44213 / ffmpeg-commands.sh
Created September 17, 2021 19:51 — forked from rowe-morehouse/ffmpeg-commands.sh
ffmpeg commands.
# To extract the sound from a video and save it as MP3:
ffmpeg -i <video.mp4> -vn <sound>.mp3
# To convert frames from a video or GIF into individual numbered images:
ffmpeg -i <video.mpg|video.gif> <frame_%d.png>
# To combine numbered images (frame_1.jpg, frame_2.jpg, etc) into a video or GIF:
ffmpeg -i <frame_%d.jpg> -f image2 <video.mpg|video.gif>
# To quickly extract a single frame from a video at time mm:ss and save it as a 128x128 resolution image:

For Windows 10, change these keys in regedit:

  • Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command
  • Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open\command
  • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\edit\command
  • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shell\edit\command

From: %SystemRoot%\system32\NOTEPAD.EXE %1 To: "%ProgramFiles%\Sublime Text 3\sublime_text.exe" "%1" Or: "%ProgramFiles%{insert-path-to-fave-editor}" "%1"

@samchoi69
samchoi69 / Remove BlueStacks Ads
Last active April 16, 2025 08:11 — forked from CHEF-KOCH/Remove BlueStacks Ads
Remove BlueStacks Ads
# Windows
1. Open Windows Command Prompt
2. Run command
"C:\Program Files (x86)\BlueStacks\HD-Adb.exe" shell
# Within BlueStacks shell
/system/xbin/bstk/su
pm disable-user com.bluestacks.s2p
@Tazeki
Tazeki / Reghook.js
Last active June 12, 2024 18:21
YouTube / HookTube RegEx based URL conversion.
// ==UserScript==
// @name URL Conversion | YouTube - HookTube
// @namespace Tazeki
// @description The smallest, possibly most useful YouTube-HookTube conversion script. RegEx based. Report bugs to [email protected]. Sends any /www.youtube.com/ sites to HookTube before page load. Does not affect /other.youtube.com/, (gaming.youtube.com, creatoracademy.youtube.com, etc.).
// @include *youtube*
// @version 1
// @grant none
// @run-at document-start
// ==/UserScript==
@protrolium
protrolium / ffmpeg.md
Last active April 8, 2025 01:38
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@bangonkali
bangonkali / batch.bat
Created April 17, 2015 01:53
Attaching Notepad++ to git commit editor.
git config core.editor "'C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
@egel
egel / auto-remove-sublime-license-popup
Last active April 14, 2025 09:58
Auto-remove Sublime's license popup
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sublime_plugin
import subprocess
from time import sleep
import sys
cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
log = lambda message: sys.stderr.write("Log: %s\n" % message)