Skip to content

Instantly share code, notes, and snippets.

View RFlintstone's full-sized avatar

Ruben Flinterman RFlintstone

  • 05:48 (UTC +02:00)
View GitHub Profile
@RFlintstone
RFlintstone / Get-Dependencies-Flux-Kubernetes-Cluster.sh
Last active June 28, 2023 15:49
Install necessary workstation dependencies for repo 'Flux-Kubernetes-Cluster', a Kubernetes cluster template using Flux
#!/bin/bash
setup_script() {
echo "INITIALIZING SCRIPT"
echo "SETTING ENV..."
OS=$(uname | tr [:upper:] [:lower:])
ARCH=$(dpkg --print-architecture)
# PACKAGE VERSIONS
VERSION_GO="1.20.5"
@RFlintstone
RFlintstone / gist:b2a4ea4cf98d3357627611ad8908ab1e
Last active April 24, 2023 12:36
Noob Changes - Server.js
const express = require('express');
const fs = require('fs');
const https = require('https');
const mysql = require('mysql2');
const validator = require('validator');
const messages = require('./messages.json');
const filepaths = require('../../../filepaths.json');
const dbcreds = require('../../../dbcreds.json');
const countrySchema = require(filepaths.landSchema);
@RFlintstone
RFlintstone / gist:9c2fb076e6f438890a1f7b08d261350b
Created April 24, 2023 11:08
Proposal NOOB changes - Server.js
**Goal of this proposal**
- Optimize the implementation of the API for all countries
- Make the use of a universal JSON body easier
**Files which would need to be changed**
- src/noob-server/server.js
**Original URL**
https://145.24.222.82:8443/api/:requestType
@RFlintstone
RFlintstone / gist:a1e6e86e572cb8b1c94052c38f525c4f
Created January 12, 2020 19:51
Simple player controller in C# (Unity) with ability to double jump
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
Rigidbody rb;
public float Speed = 0.05f;
public float JumpHeight = 2.0f;
@RFlintstone
RFlintstone / nl_NL.lang
Last active May 3, 2018 12:43 — forked from mark-barrett/en_IE.lang
Donation Store - Dutch Translation File
#Some things will stay the same as almost all dutch people speak english.
#-----------------------------------------------------------------------
{
"meta": {
"locale": "nl_NL",
"name": "English"
},
"translations": {
"logged_in_as_minecraft_user": "Je bent ingelogd als Minecraft gebruiker",
"logout": "Uitloggen",
using Discord;
using Discord.WebSocket;
using System.Threading.Tasks;
namespace VoxBot
{
public class Program
{
static void Main(string[] args)
=> new Program().StartAsync().GetAwaiter().GetResult();