This file contains hidden or 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
var a, b, brightness, checked, e, g, getBrightnessOf, icanvas, ictx, j, l, margin, pixels, r, ref, ref1, ref2, rx, ry, threshold, weight, x, y; | |
try | |
{ | |
icanvas = document.createElement('canvas'); | |
icanvas.width = img.naturalWidth; | |
icanvas.height = img.naturalHeight; | |
chunkSize *= renderer.canvas.height / 1000; | |
ictx = icanvas.getContext('2d'); | |
ictx.drawImage(img, 0, 0, Math.floor(renderer.canvas.height * icanvas.width / icanvas.height / chunkSize), Math.floor(renderer.canvas.height / chunkSize)); | |
map.clearResize(Math.floor(renderer.canvas.width / chunkSize), Math.floor(renderer.canvas.height / chunkSize)); |
This file contains hidden or 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
// Generated by CoffeeScript 1.12.6 | |
var AbstractClassError, AbstractFunction, AbstractionError, BadInheritanceError, abstractClass, | |
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, | |
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | |
hasProp = {}.hasOwnProperty, | |
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | |
AbstractFunction = (function() { | |
function AbstractFunction(name) { | |
this.name = name; |
This file contains hidden or 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
package usr.gustavo6046.sponge.sickle; | |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.charset.Charset; | |
import java.nio.file.Files; | |
import java.nio.file.NoSuchFileException; | |
import java.nio.file.Paths; | |
import java.util.LinkedList; |
This file contains hidden or 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
//============================================================================= | |
// BSPNode. | |
//============================================================================= | |
class BSPNode expands Info; | |
struct TriPlane | |
{ | |
var Vector points[3]; | |
}; |
This file contains hidden or 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
#ifndef RENDERER_H | |
#define RENDERER_H | |
#include <SFML/Graphics.hpp> | |
#include <vector> | |
#include <string> | |
#include <functional> | |
#include "Vector.hpp" | |
using std::function; |
This file contains hidden or 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 "Renderer.hpp" | |
#include <vector> | |
#include <SFML/Graphics.hpp> | |
#include <SFML/Window.hpp> | |
#include <SFML/System.hpp> | |
#include <string> | |
#include <iostream> | |
#include <memory> | |
#include <thread> |
This file contains hidden or 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
Insert at position 292176: | |
ACCCCCCATCTTTATGGCAACCCTCGCTTGATCTAGGTCAATCAACTGATAGCTACTACCCCGCGCTTACATCTGGCCTTAAGTAAAAACCTGTCAAATTTACCTACCACGTAATTCAGACGGGGGCCTGGAACCTTGCGACACCTCAGTCTCAGACAGCGCCTATTCTAAAAAGATACCGCCGGGGGCGAAAGGCATAATAGGGGCTGATGTCTTTGGGTCAACGATGGGGTGCCTGGAGGGACCCTAGTGATTTCTTCCTATACCCGCCAATGGCTGTAGTTGAGTCCTCCGTTTCCTCAGAGGAACGGATTAATTAGCCGGCATACGTGCAGAGCAACTGACACAGAATGGCACTTACGTAAAGCAGGAAGGCTAGTCGTAGTTGGGTTGGCCTTCAACCGCAGCGGATTAGGGACGTTGACAACGACAATTTGCACCTACATAACAGCGAAAGGTACCGAGCCTTACTTGGGAATCCTTGCCCCCCCGGGCCCACACCATCCATAACTGTGGCTTAATCTCCACTCCAAGAATCAACTGAGGCAGGCTACGAGTGACATGATTCGAGCCTATACATATTCATAGAGAACGTCCTGATGTACCCGTCCCATGATTAATAATCGTCGGATTCTGTCCGTTGCGCGCCGAATCGGGCAACCTTATAGCCTGGGGTTGATTACATTGATGGAGTCCCTCACAGTTGGGAATTGCGGTATTACTTCGACTTTCGAAGGGCCAACTGAAGGGAACTTCGGTAAGTGGGTGGTTACCGCTAACATGTGGGTCACCTGGCCAAGCCATGGCCGGCTCCTCTATAGTTGCACCCCATCATATAGAGGCATTTTAGGGATGATGTGTTGGCATGAGATTAAAGTCAGTCGTTATAGCCAAACCGGCGTCACCAACCCCCGAACCCCTTGGCCCAACCGTACGTCACGCCATGAGCTCCGGGCCAGAGTGAGAGACCACGTAGTGGGCAGGGGTCGGATCTCAC |
This file contains hidden or 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
/* | |
* +------------------------+ | |
* | Executable Patch Table | | |
* +------------------------+ | |
* (not necessarily for executables though) | |
* | |
* This file describes a possible file format for | |
* patching binary files. | |
* | |
* I know, I know, there are already bsdiff and |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import atexit | |
import json | |
import os | |
import random | |
import socket | |
import sys | |
import threading | |
import traceback | |
import time |
This file contains hidden or 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
@echo off | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
SET /a i=0 | |
SET task=[none] | |
SET cpu=0 | |
SET biggestCpu=0 | |
SET biggestTask=[none] | |
SET midList=0 |