I hereby claim:
- I am thatotherperson on github.
- I am davidbeckley (https://keybase.io/davidbeckley) on keybase.
- I have a public key ASDBdlTJZiNvASEQawrNwxcSBRmOZkylS003Yi2rhCzWngo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# See original source code from: | |
# http://stackoverflow.com/questions/17262941/multiple-windowsbaloontip-traytip-notifications | |
# Adapted to HexChat by Assaf Koss, March 2014. | |
# The Bubble's Icon: http://www.sendspace.com/file/pg1n2n | |
# Put it in the same folder of the bubbles.py file. | |
from win32api import * | |
from win32gui import * | |
import win32con |
-- | | |
-- Module: Math.NumberTheory.Primes.Factorisation | |
-- Copyright: (c) 2011 Daniel Fischer | |
-- Licence: MIT | |
-- Maintainer: Daniel Fischer <[email protected]> | |
-- Stability: Provisional | |
-- Portability: Non-portable (GHC extensions) | |
-- | |
-- Various functions related to prime factorisation. | |
-- Many of these functions use the prime factorisation of an 'Integer'. |
<!DOCTYPE html> | |
<html> | |
<head><title>Piet test</title></head> | |
<body> | |
<canvas id="piet" width="640" height="480"></canvas> | |
<script type="text/javascript"> | |
function renderEntity(ctx, entity) { |
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from galaxpy import saturn | |
>>> cpu = saturn.dcpu() | |
>>> cpu.A | |
0 | |
>>> class test_device(saturn.device): | |
... def interrupt(self): | |
... print("Interrupted") | |
... def cycle(self): |
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (In | |
tel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from galaxpy import saturn | |
>>> cpu = saturn.dcpu() | |
>>> cpu.PC | |
0 | |
>>> cpu.A | |
0 | |
>>> cpu[0] |
SET j, 0 | |
SET x, 0 ; Fib 1 | |
SET y, 1 ; Fib 2 | |
SET c, 10 ; Maximum | |
SUB c, 1 | |
SET a, x | |
JSR printnum |