Skip to content

Instantly share code, notes, and snippets.

View aspadm's full-sized avatar
:octocat:

Asp Adm (Alexey Kirillov) aspadm

:octocat:
View GitHub Profile
@Cysu
Cysu / gist:7461066
Last active September 20, 2022 18:48
Python: PyQt- FlowLayout
#! /usr/bin/python2
# -*- coding: utf-8 -*-
from PyQt4 import QtCore, QtGui
class FlowLayout(QtGui.QLayout):
def __init__(self, parent=None, margin=0, spacing=-1):
super(FlowLayout, self).__init__(parent)
if parent is not None:
@koteyur
koteyur / EIScript.g4
Last active March 17, 2020 11:36
Fix for loop
grammar EIScript;
script
: block* ;
block
: globalVars
| declareScript
| scriptBlock
| worldScript
@loveemu
loveemu / gax_info.md
Last active April 16, 2024 03:36
Shin'en GAX Sound Engine (GBA) Specification / Research Note

Shin'en GAX Sound Engine (GBA) Specification

The research is based on GAX Engine V3. Information about V2 can be found at the end of the document.

FYI: GaXM is a tool that can analyze GAX data. You may find more information there.

FYI: You can find my IDA FLIRT signature for GAX V3 here. https://github.com/loveemu/ida-sig

FYI: Gaxtapper: Diagnostic tool / Automated GSF ripper for GAX Sound Engine.

@koteyur
koteyur / nasm_ex_sum.asm
Last active January 27, 2021 21:34
NASM Win32 example
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; NASM Win32 example: print result of X + Y
;
; Compilation:
; 1. Download NASM: https://www.nasm.us/
; Recommended version: nasm-2.14.02-win64.zip
; 2. Download Tiny C Compiler: http://tinycc.org/
; Recommended version: tcc-0.9.27-win64-bin.zip
; 3. Unpack it. For example: c:\soft\tcc, c:\soft\nasm
; 4. Compile: c:\soft\nasm\nasm.exe -felf nasm_ex_sum.asm