Skip to content

Instantly share code, notes, and snippets.

View antekone's full-sized avatar
🪤
Focusing

Grzegorz Antoniak antekone

🪤
Focusing
View GitHub Profile
@macournoyer
macournoyer / Output
Last active January 9, 2023 15:12
A Neural Network framework in 25 LOC
$ python xor.py
Training:
Epoch 0 MSE: 1.765
Epoch 100 MSE: 0.015
Epoch 200 MSE: 0.005
* Target MSE reached *
Evaluating:
1 XOR 0 = 1 ( 0.904) Error: 0.096
0 XOR 1 = 1 ( 0.908) Error: 0.092
1 XOR 1 = 0 (-0.008) Error: 0.008
@rodionovd
rodionovd / mach_exceptions.cpp
Last active October 6, 2023 01:35
Mach exception handling examples by Apple
/*
File: ExceptionTest.c
Contains: Test code for Mach exception handling.
Written by: DTS
Copyright: Copyright (c) 2006 by Apple Computer, Inc., All Rights Reserved.
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc.
@weiju
weiju / dalf.rexx
Created July 6, 2012 20:18
This is the dalf.rexx tool for dumping information about Amiga Hunk files. I modified it to handle rel32short blocks as well as the drel32/rel32short hack that AmigaDOS supports since Kickstart V37
/************************************************\
* dalf.rexx - Dumps Amiga Load Files. *
* C 1990 Mikael Karlsson (micke@slaka.sirius.se) *
* 2012 Wei-ju Wu, V37 enhancements *
\************************************************/
parse arg file /* File to examine */
signal on break_c /* We want a nice clean break */