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
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using AutomationTool; | |
using AutomationTool.Tasks; | |
using EpicGames.BuildGraph; | |
using EpicGames.BuildGraph.Expressions; | |
using EpicGames.Core; | |
using UnrealBuildBase; | |
using Splash.BgArgParser; |
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
--- | |
- name: "Create required directories" | |
ansible.builtin.file: | |
path: "{{ item }}" | |
state: "directory" | |
mode: 0777 | |
with_items: | |
- "{{ unrealcloudddc_data_dir }}/scylla" | |
- "{{ unrealcloudddc_data_dir }}/unrealcloudddc/config" |
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
<?xml version='1.0' ?> | |
<!-- | |
Why is this one giant script instead of a bunch of smaller scripts? | |
Mostly this comes down to BuildGraph and personal preference. As the language BuildGraph isn't | |
really much of a programming language there is no easy way to use an IDE and jump between | |
includes, find usages of variables, and just generally quickly search things. It was found to | |
be easier to have a single large file that a developer can quickly jump up and down in when | |
trying to understand what the BuildGraph script is doing. |
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
<!-- | |
########################################################## | |
# Generate NavMesh | |
########################################################## | |
To avoid cluttering the Horde UI with lots of individual maps, we bundle all the nodes into | |
GeneratedNavMeshNodes, and then append that to BuildProjectNodes as well as use that for the | |
labels. | |
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
# Build image | |
FROM node:16-bullseye as build | |
# Set working directory for easy copy from later | |
WORKDIR /app | |
# Copy everything else over so we can build | |
COPY . . | |
# Install Node packages |
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
FROM python:3.10-slim-buster | |
WORKDIR /app | |
COPY reiquirements.txt main.py | |
RUN pip install -r requirements.txt | |
CMD [ "python", "waitress_server" ] |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Backend: Debug", | |
"type": "python", | |
"request": "launch", | |
"module": "flask", | |
"cwd": "${workspaceFolder}", | |
"args": [ |
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
import socket | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
sock.bind(('0.0.0.0', 9002)) | |
while True: | |
payload, client_address = sock.recvfrom(1024) | |
if payload: | |
len(payload) |
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
package dispatcher | |
import ( | |
"crypto/md5" | |
"fmt" | |
"os" | |
"time" | |
"github.com/go-redis/redis" |
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
### Keybase proof | |
I hereby claim: | |
* I am regner on github. | |
* I am regner (https://keybase.io/regner) on keybase. | |
* I have a public key ASBLses20IhKehmSeGo8mwww-__UEtW4H-f4sb3FmQcYgwo | |
To claim this, I am signing this object: |
NewerOlder