Skip to content

Instantly share code, notes, and snippets.

View Sapd's full-sized avatar

Denis Arnst Sapd

View GitHub Profile
[root@gameserver daemon]# npm start --trace-warnings
> pteronode@0.6.11 start /srv/daemon
> node src/index.js | node_modules/bunyan/bin/bunyan -o short
23:48:24.334Z INFO wings: + ------------------------------------ +
23:48:24.336Z INFO wings: | Running Pterodactyl Daemon v0.6.11 |
23:48:24.336Z INFO wings: | https://pterodactyl.io |
23:48:24.336Z INFO wings: | Copyright 2015 - 2018 Dane Everitt |
# ----------------------------------
# Pterodactyl Dockerfile for Eco
# Environment: Mono
# Minimum Panel Version: 0.6.0
# ----------------------------------
FROM mono:5.8
MAINTAINER Denis Arnst, <mail@arnst.cc>
RUN useradd -m container
#include <stdio.h>
#include <stdlib.h>
#include "hidapi.h"
#define MAX_STR 255
int main(int argc, char* argv[])
{
int res;
unsigned char buf[65];
@Sapd
Sapd / error.log
Created May 25, 2017 09:51
Pterodactyl Laravel error log
[2017-05-25 11:38:29] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getKey() on array in /var/www/html/pterodactyl/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Collection.php:116
Stack trace:
#0 /var/www/html/pterodactyl/app/Repositories/ServerRepository.php(736): Illuminate\Database\Eloquent\Collection->merge(Array)
#1 /var/www/html/pterodactyl/app/Repositories/ServerRepository.php(308): Pterodactyl\Repositories\ServerRepository->parseVariables(Object(Pterodactyl\Models\Server))
#2 /var/www/html/pterodactyl/app/Http/Controllers/Admin/ServersController.php(94): Pterodactyl\Repositories\ServerRepository->create(Array)
#3 [internal function]: Pterodactyl\Http\Controllers\Admin\ServersController->store(Object(Illuminate\Http\Request))
#4 /var/www/html/pterodactyl/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array)
#5 /var/www/html/pterodactyl/vendor/laravel/framework/src/Illuminate/Routing/Control
@Sapd
Sapd / alpine-install.sh
Created May 7, 2017 13:08 — forked from thde/alpine-install.sh
A script to install alpine linux. Tested on Hetzner, Kimsufi / OVH
#!/bin/sh
set -ex
PATH=/bin:/sbin:/usr/bin:/usr/sbin
KEYMAP="us us"
HOST=alpine
USER=anon
ROOT_FS=ext4
BOOT_FS=ext4
@Sapd
Sapd / Corsair
Created February 15, 2016 13:36
Sidetone: 0
00000000 FF 0B 00 FF 04 0E FF 05 01 04 00 C0 00 00 00 00 ÿ . . ÿ . . ÿ . . . . À . . . .
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . . . . . . . . . . . . . . . .
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . . . . . . . . . . . . . . . .
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . . . . . . . . . . . . . . . .
Sidetone: 100
00000000 FF 0B 00 FF 04 0E FF 05 01 04 00 F4 00 00 00 00 ÿ . . ÿ . . ÿ . . . . ô . . . .
<!doctype HTML>
<html>
<head>
<title>jo</title>
<link rel=stylesheet href=960.css>
<style type=text/css>
.schach > div > div:nth-child(2n+0) {
background: black;
}