Skip to content

Instantly share code, notes, and snippets.


Alexey Seliverstov seliver

View GitHub Profile
seliver / gifjs.asm
Created Sep 13, 2016 — forked from ajinabraham/gifjs.asm
A Valid GIF and JS file
View gifjs.asm
; a hand-made GIF containing valid JavaScript code
; abusing header to start a JavaScript comment
; inspired by Saumil Shah's Deadly Pixels presentation
; Ange Albertini, BSD Licence 2013
; yamal gifjs.asm -o img.gif
WIDTH equ 10799 ; equivalent to 2f2a, which is '/*' in ASCII, thus starting an opening comment
You can’t perform that action at this time.