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 <fstream> | |
#include <cstring> | |
using namespace std; | |
class rom { | |
public: | |
rom ( ifstream & stream ); | |
~rom(); |
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/sh | |
gcc -std=gnu99 -o fbtoy main.c framebuffer.c draw.c -lm -g |
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
# Generated by the protocol buffer compiler. DO NOT EDIT! | |
# source: chat.proto | |
import sys | |
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) | |
from google.protobuf import descriptor as _descriptor | |
from google.protobuf import message as _message | |
from google.protobuf import reflection as _reflection | |
from google.protobuf import symbol_database as _symbol_database | |
from google.protobuf import descriptor_pb2 |
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
Start | End | Event Name | Waypoint Link | |
---|---|---|---|---|
07:00 | 07:15 | Tequatl the Sunless | [&BNABAAA=] | |
11:30 | 11:45 | Tequatl the Sunless | [&BNABAAA=] | |
16:00 | 16:15 | Tequatl the Sunless | [&BNABAAA=] | |
19:00 | 19:15 | Tequatl the Sunless | [&BNABAAA=] | |
00:00 | 00:15 | Tequatl the Sunless | [&BNABAAA=] | |
03:00 | 03:15 | Tequatl the Sunless | [&BNABAAA=] | |
08:00 | 08:15 | Evolv. Jungle Wurm | [&BKoBAAA=] | |
12:30 | 12:45 | Evolv. Jungle Wurm | [&BKoBAAA=] | |
17:00 | 17:15 | Evolv. Jungle Wurm | [&BKoBAAA=] |
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
java_opts="$java_opts -XX:MaxGCPauseMillis=50" | |
# Disable explicit GC. Some plugins may think it's a good idea to manually run the garbage collector. | |
# This is never a good idea with our setup, as it introduces a pause that is usually completely avoidable. | |
java_opts="$java_opts -XX:+DisableExplicitGC" | |
### OPTIMIZATION SETTINGS ### | |
# Bukkit and Spigot synchronize things for thread safety. Some of these synchronizations are never contested under ideal conditions. |
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 python3 | |
from sys import stdout, argv | |
import pickle | |
from time import sleep | |
with open(argv[1], 'rb') as f: | |
asciicast = pickle.load(f) | |
pos = 0 | |
timing = asciicast.stdout.timing.split(b'\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
{ | |
"command": "ssh -p 8822 admin@localhost", | |
"stdout": [ | |
[ | |
0.055014, | |
"admin@localhost's password: " | |
], | |
[ | |
2.633539, | |
"\r\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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <netdb.h> | |
#include <sys/time.h> | |
#include <iconv.h> |
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 "DCPU.h" | |
using namespace std; | |
DCPU::DCPU(void) { | |
// Allocate memory space | |
mem = new uint16_t[0x10000]; | |
cout << "Allocated 128k memory" << endl; | |
} |