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
{ | |
"InvasionMultiplier": 1, | |
"DefaultMaximumSpawns": 5, | |
"DefaultSpawnRate": 600, | |
"ServerPort": 7777, | |
"EnableWhitelist": false, | |
"InfiniteInvasion": false, | |
"PvPMode": "normal", | |
"SpawnProtection": true, | |
"SpawnProtectionRadius": 10, |
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
{ | |
"config":{ | |
"pattern":"!!", | |
"welcomeMessage":"Welcome to the JavaScript chat! Please review the [room rules](http://rlemon.github.com/so-chat-javascript-rules/). Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.", | |
"weatherKey":"44db6a862fba0b067b1930da0d769e98" | |
}, | |
"users":{ | |
"4":true, | |
"27":true, | |
"65":true, |
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
// Welcome! require() some modules from npm (like you were using browserify) | |
// and then hit Run Code to run your code on the right side. | |
// Modules get downloaded from browserify-cdn and bundled in your browser. | |
window.Buffer = require('buffer').Buffer; | |
console.log(new Buffer([0, 1, 2]).subarray(0, 0)); | |
console.log(new Buffer([0, 1, 2]).subarray(0, 1)); | |
console.log(new Buffer([0, 1, 2]).subarray(0, 2)); | |
console.log(new Buffer([0, 1, 2]).subarray(0, 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
// ==UserScript== | |
// @name SEMobileChatEnter | |
// @namespace http://vulpin.com/ | |
// @description Makes the enter key work properly on mobile chat | |
// @match *://chat.stackexchange.com/* | |
// @match *://chat.stackoverflow.com/* | |
// @version 1.0.0 | |
// @grant none | |
// ==/UserScript== |
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
$TypeDef = @" | |
using System; | |
using System.Text; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using System.Diagnostics; | |
namespace Api | |
{ |
This file has been truncated, but you can view the full file.
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
# | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
[General] | |
mut=SSL | |
mutversion=1.0 | |
htmlout=NOW |
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 <cstdio> | |
#define BUFFER_SIZE 1024 | |
int main() { | |
FILE* file = stdin; | |
char buffer[BUFFER_SIZE]; | |
long long bytes_read = 0; | |
while (bytes_read = fread(buffer, 1, BUFFER_SIZE, file)) { |
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 <cstdio> | |
#define BUFFER_SIZE 1024 | |
int main() { | |
FILE* file = stdin; | |
char buffer[BUFFER_SIZE]; | |
long long bytes_read = 0; | |
long long progress = 0; | |
long long nonzero = 0; |