Author: | Daniel Keep <[email protected]> |
---|---|
Version: | 1.0 |
Licence: | http://creativecommons.org/publicdomain/zero/1.0/ |
SSFS is designed to be an as-simple-as-possible filesystem for use with the
#!/usr/bin/env python3 | |
import sys | |
if len(sys.argv) != 2: | |
print('Usage: gen-code.py LIMIT') | |
sys.exit(1) | |
LIMIT = int(sys.argv[1]) | |
print( |
<# | |
.SYNOPSIS | |
Downloads Rust installers for Windows. | |
.DESCRIPTION | |
Tries to download the latest available release for a given version of the Rust compiler. It does this by checking the date the currently installed compiler was built against the timestamp of the remote installer. These do not always match up, so do not be surprised if this script keeps trying to re-download the same archive. | |
Once downloaded, provided you specified either 'exe' or 'msi', the script will run the installer for you. |
use std::fmt; | |
#[derive(Debug)] | |
struct BinTree<T> | |
where T: Ord { | |
root: Option<Box<BinNode<T>>>, | |
} | |
#[derive(Debug)] | |
struct BinNode<T> |
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# 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 2 | |
# 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 | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Author: | Daniel Keep <[email protected]> |
---|---|
Version: | 1.0 |
Licence: | http://creativecommons.org/publicdomain/zero/1.0/ |
SSFS is designed to be an as-simple-as-possible filesystem for use with the
/* | |
* Binary Image Exchange Format reference implementation. | |
* | |
* Note that not everything here has been exhaustively tested. There may be | |
* bugs a-lurkin'. | |
* | |
* This implementation is written to conform to version 1.0.3 of the BIEF spec. | |
* | |
* Latest version: | |
* https://gist.github.com/2585085 |
You can get a pre-generated disk image here: | |
http://ompldr.org/vZGlzZA/hello.zip |
HIT_HMD2043 | |
__ __ | |
|| || | |
||==|| I T | |
_|| ||_ | |
Harold Innovation Technologies | |
"If it ain't a HIT, it's a piece of..." |
""" | |
DCPU Font converter. | |
Written by Daniel Keep <[email protected]>. | |
Released under the MIT license. | |
""" | |
from PIL import Image |
import "/ouro/ast" : * | |
import "/ouro/stdio" : * | |
(-- | |
These functions haven't been exposed via a module yet, so I have to bind them | |
manually. The '~' means the function modifies the environment. | |
--) | |
let loadLibrary~ = __builtin__("ouro.native.loadLibrary") | |
let loadFunction~ = __builtin__("ouro.native.loadFunction") | |
let invoke~ = __builtin__("ouro.native.invoke") |