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 <iostream> | |
#include <windows.h> | |
#include <stdio.h> | |
#include <tchar.h> | |
#include <string.h> | |
#define MAX_KEY_LENGTH 255 | |
#define MAX_VALUE_NAME 16383 | |
bool isNeedMoreThenOne; |
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 "stdafx.h" | |
#include <iostream> | |
#include <stdlib.h> | |
#include <time.h> | |
struct DataType { | |
int value; | |
}; | |
struct Vector { |
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
#!/bin/bash | |
DIR="/home/minecraft/mc-$1/" | |
SCR="mc-$1" | |
MAX_STOP=10 | |
if [[ "$1" == "s1" ]] ; then | |
memory=12288 | |
else | |
memory=8192 | |
fi |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script> | |
var xColor = "black"; | |
$(document).ready(function() { | |
var canvas = document.getElementById("myCanvas"); | |
var ctx = canvas.getContext("2d"); |
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
Queue = function(){ | |
this.stopped = false; | |
this.array = []; | |
} | |
Queue.prototype = { | |
add: function(fn) { this.array.push(fn) }, | |
pause: function() { this.stopped = true }, | |
go: function() { this.stopped = false; this.exec(); }, | |
exec: function() { |
NewerOlder