Skip to content

Instantly share code, notes, and snippets.

@nyanpasu64
nyanpasu64 / in_yansf.ini
Last active November 4, 2017 03:30
Chrono Trigger - World Revolution - Famitracker
[NSFplug]
5B_ENVELOPE_COL=0000FF
5B_FILTER=0
5B_MUTE=0
5B_NOISE_COL=000000
5B_QUALITY=3
5B_THRESHOLD=100
5B_VOLUME=128
APU1_FILTER=0
APU1_MUTE=0
@nyanpasu64
nyanpasu64 / instructions.md
Last active February 23, 2026 01:14
mod of Furrykef's waveform generator (n163.ny) + 60hz interval generator (zz_beater.ny)

Just updated my N163 Waveform Generator with "full normalize" mode, to get a bit of extra amplitude out of your waves.

  • Scroll to n163-nyanpasu64.ny. Click "raw" and save it to %appdata%\audacity\Plug-Ins

    • Optionally, install my 60hz beat track generator. Save zz_beater.ny to the same folder.
    • To generate a beat track, click menu Generate/Beat Track... and specify how many beats. Mute the resulting track, collapse, and drag it above your sound sample.
    • Alternatively, menu Analyze/Regular Interval Labels...
  • Under Preferences (Ctrl+P), on the left click Keyboard. On the right, search N163, and Set to Shift+Enter.

  • Zoom into your audio.

@nyanpasu64
nyanpasu64 / medium.com-cleartype.md
Last active February 21, 2017 10:37
Restoring Cleartype to Medium.com on Chrome

Restoring Cleartype to Medium.com on Chrome

Medium.com disables Cleartype on Chrome, because fuck sharp text. Enable the following userstyle on ALL pages (this will also fix other domains using Medium to host their content):

* {
   -webkit-font-smoothing: subpixel-antialiased !important;
}

.postShowScreen canvas {
 display: none !important;
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTP\Win10]
"2FingerTapAction"=dword:00000004
"3FingerTapAction"=dword:00000004
"3FingerTapPlugInActionID"=dword:00000000
"3FingerTapPlugInID"="SynTP"
"3FingerPressButtonAction"=dword:00000004
"MiddleButtonPlugInActionID"=dword:00000061
"MiddleButtonPlugInID"="SynTP"
@nyanpasu64
nyanpasu64 / textUtils.js
Last active November 21, 2016 06:22
University of California - An excellent word count system
var numInstancesCRLFs = countInstances(inputText, '\r\n');
if (numInstancesCRLFs > 0) {
padLengthBy = numInstancesCRLFs * 4;
charCounter = charCounter + padLengthBy;
}
else {
var numInstancesLFCRs = countInstances(inputText, '\n\r');
if (numInstancesLFCRs > 0) {
padLengthBy = numInstancesLFCRs * 4;
charCounter = charCounter + padLengthBy;
@nyanpasu64
nyanpasu64 / 0 Saga of the "Give Me CRX" Virus.md
Last active May 17, 2018 14:44
Saga of the "Give Me CRX" Virus

UPDATE

Adam Carbonell has created a non-malicious extension, called "Get CRX": https://chrome.google.com/webstore/detail/get-crx/dijpllakibenlejkbajahncialkbdkjc

Google has removed the original extension, along with several other extensions with similar malware.

Relavant links:

{
"GEN_BTTR_NTF": true,
"GEN_SUB_LIST": true,
"GEN_INF_SCRL": false,
"GEN_BLUE_GLOW": true,
"GEN_PPOT_ON": true,
"VID_END_SHRE": true,
"VID_DFLT_QLTY": "auto",
"VID_PLST_ATPL": true,
"VID_PLST_RVRS": true,
% gdb RELEASE/polyphone
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
let endian = big
func thread(addr) {
var notes[8] // which pitch to turn off?
// 1..7
Loop: for {
switch ev {
Hang report for C:\Program Files (x86)\Anvil Studio 2015\astudio2.exe
Generated by using WhatIsHang on 8/26/2016 5:30:46 AM
Web site: http://www.nirsoft.net
Remarks:
* The program hangs in a single system call. You can look in the call stack and stack data to find out which API function cause this hang.
Strings found in the stack: