Skip to content

Instantly share code, notes, and snippets.

View comtom's full-sized avatar

Tomás Dowling comtom

View GitHub Profile
@DeRegem
DeRegem / g2ej6.asm
Last active November 3, 2015 18:24
format PE
entry main
section '.text' code readable executable
main:
push str_intro
push format_output
call [printf]
format PE
entry main
section '.text' code readable executable
main:
;EBX=Divisor que va a ir de n-1 hasta 2
mov ebx,17
;Alojo en ECX el resultado, presumo numero primo
mov ecx,1
@DeRegem
DeRegem / g2ej8.asm
Last active November 3, 2015 18:14
format PE
entry main
section '.text' code readable executable
main:
push intro1
push format_output
call [printf]
add esp,8
@matteomattei
matteomattei / pyside_signal_slot_qthread_example.py
Last active May 22, 2018 17:43
PySide Signals and Slots with QThread example
#!/usr/bin/env python2
import sys, time
from PySide.QtGui import *
from PySide.QtCore import *
class MySignal(QObject):
sig = Signal(str)
class MyLongThread(QThread):