View 99bottles.c
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
#if U64_MIN //\ | |
""" | |
#endif | |
/* """ | |
from __future__ import print_function | |
def printf(fmt, *args): | |
print(fmt % args, end = "") | |
return 1 | |
""" |
View all_upgrades.txt
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
Name: Gray | |
Price: 20 CP | |
Description: | |
Everything doesn't always have to be black and white. Give your | |
programs and GUI some depth by mixing black and white together to form | |
grey. Note: You are unable to make controls grey until you buy the | |
Shifter. | |
Tutorial: |
View SaveSystem.cs
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
// Define BINARY_SAVE before release so the player has | |
// to put some effort into cheating ;) | |
// During development, leave it undefined to use the | |
// easily modifiable JSON serialised format | |
//#define BINARY_SAVE | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; |
View fractran.py
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 sys | |
if len(sys.argv) != 3: | |
sys.stderr.write("usage: " + sys.argv[0] + " PROGRAM INPUT\n") | |
sys.exit(1) | |
inp = int(sys.argv[2]) | |
sys.stdout.write(str(inp) + " ") | |
symbols = [] |
View README
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
GNOME Technology Release for Red Hat Linux 5.1 | |
---------------------------------------------- | |
This is a preview of the GNOME desktop environment (see http://www.gnome.org | |
for all the details). This is a BETA release - you can run it and try | |
it out for a demonstration of what GNOME will bring to your PC. However, | |
GNOME is being activitely developed every minute of the day by programmers | |
worldwide, so this snapshot of their efforts is not quite a finished work yet. | |
Hopefully you will find that it has many useful features, but understand | |
that if some parts aren't quite finely polished yet that this is just a |
View arooo_sdl.c
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
/* | |
Copyright 2017 Declan Hoare | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
View shuffle.cpp
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 <random> | |
#include <algorithm> | |
#include <string> | |
#include <vector> | |
#include <iostream> | |
int main() | |
{ | |
std::vector<std::string> files; | |
std::random_device rd; |
View 99bottles.c
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
/* | |
<script type="text/javascript"> | |
var ourtext = ""; | |
function printf(format, number) | |
{ | |
ourtext += format.replace("%d", number).replace("\n", "<br />"); | |
} | |
function display() | |
{ | |
document.body.innerHTML = ourtext; |
View LLFS_design.txt
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
at the start: "LLFS" | |
8-byte pointer to first used node or NULL | |
8-byte pointer to last used node or NULL | |
8-byte pointer to first free file node or NULL | |
8-byte pointer to last free file node or NULL | |
8-byte pointer to first free directory node or NULL | |
8-byte pointer to last free directory node or NULL | |
8-byte pointer to end of file system | |
Each node has: |
View EXAM_8_8.C
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
/* Chapter 8 Example 8.8 */ | |
/* ////////////////////////////////////////// | |
program: EXAM_8_8.C | |
This program reads strings from a 2-d array | |
and stores them in a data file | |
///////////////////////////////////////// */ | |
#include <stdio.h> | |
#include <conio.h> |
NewerOlder