Skip to content

Instantly share code, notes, and snippets.

View yupiel's full-sized avatar
💀

Yupiel yupiel

💀
  • Berlin, Germany
View GitHub Profile
@yupiel
yupiel / heists.rs
Created September 2, 2024 14:11
All to date released Payday2 heists in Rust structs
pub struct Heist {
pub id: i32,
pub name: String,
pub days: i16,
pub contractor: Contractor,
pub origin: Origin,
pub playstyle: Playstyle,
}
#[derive(Clone, Copy)]
@yupiel
yupiel / serverconfig.txt
Created March 18, 2022 20:49
Terraria Docker Server Config
port=7777
worldpath=./worlds
@yupiel
yupiel / discordBotLog.js
Last active June 21, 2018 20:49
discord bot logging
"use strict";
const Discord = require("discord.js");
const request = require("request");
const mkdirp = require("mkdirp");
const co = require("co");
const pify = require("pify");
const fs = require("fs");
const config = require("./config.json");
@yupiel
yupiel / GamepadInput.cs
Created January 24, 2017 17:32
Cycles to connected controllers and let's the user Assign Keys
IEnumerator ControllerSetup()
{
running = true;
Debug.Log("COROUTINE STARTED");
for (int i = 0; i < gamepadList.Count; i++)
{
Debug.Log("Gamepad Assignment " + gamepadList[i].assigned.ToString());
if (!gamepadList[i].assigned)
{
//TODO: Show Prompt asking for input