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
/* szomon :] */ | |
/* | |
* Fallout-like password-guessing game. | |
* | |
* Copyright: Szymon Urbaś | |
* Licensed under the BSD (2-clause) license. | |
*/ | |
#include <ctype.h> |
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
*.cmi | |
*.cmx | |
*.o | |
gaidhlig |
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 some of the exercises found in "A Gentle Introduction to ML" *) | |
(* right here: http://www.cs.nmsu.edu/~rth/cs/cs471/sml.html *) | |
(* Compiled using Moscow ML compiler version 2.01 *) | |
fun double x = 2 * x; | |
fun inc x = x + 1; | |
fun adda s = s ^ "a"; | |
fun triple x = 3 * x; |
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
/* | |
* | |
* exec_order.c | |
* | |
* Created at: Fri 22 Nov 16:52:08 2013 16:52:08 | |
* | |
* Author: Szymon Urbaś <[email protected]> | |
* | |
* License: MIT (X11) | |
* |
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
SRCS=skelkld.c | |
KMOD=skeleton | |
.include <bsd.kmod.mk> |
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
/* | |
* kldmempeek.c | |
* | |
* Author: Szymon Urbaś <[email protected]> | |
* | |
* Description: Take a hexdump-like peek at a module's bytes. It is very | |
* platform specific and _probably_ works _only_ under FreeBSD. | |
* | |
* License: the MIT (X11) License | |
* |
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 program defines two functions (excluding 'main') and makes a random call | |
* to one of those. | |
* | |
* Just wandering if C supports this kind of 'feature'. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> |
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
/* | |
* | |
* hash.c | |
* | |
* A simple hash implementation. | |
* | |
* It's not mine, the credit goes to The Book. | |
* | |
*/ |
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
/* | |
* | |
* alloc.c | |
* | |
* Created at: Thu 17 Oct 2013 17:23:59 CEST 17:23:59 | |
* | |
* Author: Szymon Urbaś <[email protected]> | |
* | |
* License: the MIT license | |
* |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
struct st { | |
int num; | |
char ch; | |
}; |
NewerOlder