Skip to content

Instantly share code, notes, and snippets.

View devmarcstorm's full-sized avatar

Marc devmarcstorm

  • Berlin University of Applied Sciences and Technology
  • European Union 🇪🇺
View GitHub Profile
using System.Collections;
using System.Linq;
using UnityEngine;
/// <summary>
/// This script lets you play the live output of an input source in Unity.
/// It creates an AudioSource that uses 3D spatialization (Full 3D).
/// The intended use is to use the output from Discord or Slack
/// as the voice for the "other" player in a multiplayer application.
/// You can use VB-Cable (https://vb-audio.com/Cable/)
@devmarcstorm
devmarcstorm / Base64.h
Created January 8, 2020 18:15 — forked from tomykaira/Base64.h
C++ single header base64 decode/encoder.
#ifndef _MACARON_BASE64_H_
#define _MACARON_BASE64_H_
/**
* The MIT License (MIT)
* Copyright (c) 2016 tomykaira
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@devmarcstorm
devmarcstorm / ui_userstory_writer.py
Last active October 5, 2019 14:24
Ein kleines Python-Script um Userstories in eine txt zu schreiben.
from tkinter import Tk, Label, Button, Entry
def write_to_txt(rolle, ziel, nutzen):
string = "Als {} möchte ich {}, um {}.".format(rolle, ziel, nutzen)
print(string)
log_file = open('user_stories.txt', 'a')
log_file.write("{}\n".format(string))
root = Tk()
root.title("Userstories to txt [DE]")
def getCodes(url='http://orcz.com/Borderlands_Pre-Sequel:_Shift_Codes', cell=4):
source = requests.get(url).text
soup = BS(source, 'lxml')
table = soup.find('table')
redCodes = []
reds = soup.findAll(style="color:red")
for red in reds:
@devmarcstorm
devmarcstorm / flutterSetup_macOS.md
Created June 9, 2019 14:57
You can use this guide to install and set up flutter on macOS and develop cross-platform apps.
@devmarcstorm
devmarcstorm / GitTips.md
Last active June 13, 2019 20:28
A collection of git commands that can be helpful. I will continue to expand this list.
@devmarcstorm
devmarcstorm / ObjectSpawner.cs
Created May 21, 2019 09:15
Random object spawner - Unity C#
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectSpawner : MonoBehaviour
{
[Header("Objects to spawn")]
public List<GameObject> objects = new List<GameObject>();
[Header("Reference")]