This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bridge controller: | |
open | |
self lock. | |
self getBridgeParts do: [ :part | | |
part move: 1@0. | |
self wait: 1. | |
]. | |
self getUpperDoor move: -2@0 steps: 2. | |
self getLowerDoor move: 2@0 steps: 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>local a,b,c; c = a and b | |
; function [0] definition (level 1) | |
; 0 upvalues, 0 params, 3 stacks | |
.function 0 0 2 3 | |
.local "a" ; 0 | |
.local "b" ; 1 | |
.local "c" ; 2 | |
[1] testset 2 0 0 ; to [3] if true | |
[2] jmp 1 ; to [4] | |
[3] move 2 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ben@95lx:~$ cat .Xmodmap | |
remove Lock = Caps_Lock | |
clear Lock | |
keycode 66 = Multi_key | |
keycode 173 = Caps_Lock | |
add Lock = Caps_Lock | |
ben@95lx:~$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SampleOffset | |
MOVEQ #0,D0 | |
MOVE.B n_cmdlo(A6),D0 | |
BEQ sononew | |
MOVE.B D0,n_sampleoffset(A6) | |
sononew MOVE.B n_sampleoffset(A6),D0 | |
LSL.W #7,D0 | |
CMP.W n_length(A6),D0 | |
BGE sofskip | |
SUB.W D0,n_length(A6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################################################################ | |
################################################################################################################################ | |
################################################################################################ ######### ######### | |
################################################################################################ ######### ######### | |
################################################# ############################# ######### ######### | |
################################ ####### ############################# ######### ######### | |
################################ ####### ############################# ######### ######### | |
################################ ####### ############################# ######### ## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ben@95lx:~/Desktop/appage/py$ python mmpunk.py Creagaia.it | |
unknown 1: 000E | |
unknown 2: 130F | |
blocks: 0011 | |
unpacked size: 00047329 | |
unknown 3: 0018 | |
unknown 4: 0000 | |
unknown 5: 0200 | |
block at 0000005C | |
unpacked size: 00000030 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Distance(x1 as double,y1 as double,x2 as double,y2 as double) as double | |
Distance = sqr((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)) | |
end function | |
function Max(a as double,b as double) as double | |
if a > b then | |
Max = a | |
else | |
Max = b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
k; | |
double sin(),cos(); | |
main() | |
{ | |
float A=0,B=0,i,j,z[1760]; | |
char b[1760]; | |
printf("\x1b[2J"); | |
for(;;) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Filter base stuff | |
def recv_identity(f, game, mtype, src, dest, **kwargs): | |
f(game, mtype, src, dest, **kwargs) | |
def send_identity(f, game, mtype, src, dests, **kwargs): | |
for dest in dests: | |
game.enqueue(f, mtype, src, dest, **kwargs) | |
class ClassFilter: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
pygame.init() | |
def gen_timer(delay): | |
t_target = pygame.time.get_ticks() | |
while True: | |
t_current = pygame.time.get_ticks() | |
if t_current > t_target: | |
yield False |
OlderNewer