Skip to content

Instantly share code, notes, and snippets.

View mintyplanet's full-sized avatar

Yuki Saito mintyplanet

View GitHub Profile
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | tee -a /etc/apt/sources.list.d/10gen.list
sudo apt-get -y update
sudo apt-get -y install mongodb-10gen
@mintyplanet
mintyplanet / A1c.488
Last active December 11, 2015 08:29
Sample program for the 488 project language, demonstrating all loop exit constructs
% a program using all forms of loop building and exit constructs including multi-level exit.
begin
integer sum(integer start, integer end)
begin
integer i, sum
i := start
sum := 0
loop
if i > end then exit fi
### Keybase proof
I hereby claim:
* I am mintyplanet on github.
* I am mintyplanet (https://keybase.io/mintyplanet) on keybase.
* I have a public key ASDfx0p7d3OAbCSY1D3cQ877bsqGX73_EE0RAD0BW8kLswo
To claim this, I am signing this object: