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
DCPU-16 Hardware Info: | |
Name: DPU16 -- DCPU Protection Unit (16-process version) | |
ID: 0x1071c17b, version: 0x1000 | |
Manufacturer: 0xcafe31aa | |
Description: | |
The DPU prevents unauthorized access to memory and hardware peripherals. | |
Access permissions are determined by the process ID's bit being set in the | |
corresponding mask. |
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
public boolean a(ei camera, boolean firstRun) | |
{ | |
hz cmp = new hz(camera); | |
bz[] toAdd = new bz[3]; //TODO: throughout: bz should be something like "Chunk" | |
ArrayList<bz> nearChunks = null; | |
int pendingChunkSize = this.m.size(); | |
int pendingChunkRemoved = 0; |
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
/* | |
** 2011 January 5 | |
** | |
** The author disclaims copyright to this source code. In place of | |
** a legal notice, here is a blessing: | |
** | |
** May you do good and not evil. | |
** May you find forgiveness for yourself and forgive others. | |
** May you share freely, never taking more than you give. | |
**/ |
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
gages = range(1001, 1010) + range(1010, 1491, 10) + range(500, 9501, 500) + range(10000, 40001, 10000) | |
gages.sort() | |
assert len(gages) == 81 | |
def get_dists(n): | |
# Return distances using the LARGEST blocks possible. | |
# Track whether a block is used in a combination using a bitset. | |
if n == 0: | |
return {gages[0]: 1 << 0} | |
this = gages[n] |
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
#!/usr/bin/env python | |
# Copyright 2016 The Kubernetes Authors. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
#!/usr/bin/env python | |
# Problem: Our maternity photos were mixed digital and film, | |
# and the exif dates/times for the film photos were wrong, preventing | |
# "sort by date" working in Google Photos. | |
# | |
# Solution: the filenames are in the right order, simply interpolate | |
# over the gaps to inject "correct" times. | |
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
{"tickrate":"20","backgroundColor":"#640","fillColor":"#A5A","buzzColor":"#FFAA00","quietColor":"#000000","shiftQuirks":false,"loadStoreQuirks":false} |
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
#!/usr/bin/env python2 | |
''' | |
A tiny .torrent file creator with no external dependencies. | |
Easy to hack! | |
''' | |
import argparse | |
import hashlib | |
import os |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
title Liquid War Alpha | |
author Ryan Hitchman | |
realtime_interval .1 | |
======== | |
OBJECTS | |
======== | |
Bg |