Skip to content

Instantly share code, notes, and snippets.

View crazywolf132's full-sized avatar
😈

Brayden Moon crazywolf132

😈
  • CBA
  • Australia
  • 09:26 (UTC +11:00)
View GitHub Profile

📝 Description

<!--
📝 Pull Request Template
========================
Thank you for contributing to [REPO NAME HERE]! Please follow this template to ensure a smooth and efficient review process.
❌ Please delete any sections that are not relevant to your PR.
-->
## 📄 Description
@crazywolf132
crazywolf132 / combine.go
Created May 23, 2024 02:33
This is a script to combine all the files in a repo into a single `.txt` file for LLM's
package main
import (
"flag"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
)
import { Router } from 'express';
import passport from 'passport';
import isAuth from '../middleware/isAuth';
import validateToken from '../middleware/validateToken';
import search from '../middleware/search';
const fetch = require('node-fetch');
const Sub = require(`${process.cwd()}/models/Subscriptions`);
const Events = require(`${process.cwd()}/models/EventModel`);
@crazywolf132
crazywolf132 / Hospital-CaseStudy.md
Created July 3, 2019 00:08
A hospital REST API case study

Hospital

We are going to build another hospital. This time we are going to work only on api's

Design

 Hospital - Way to access everything.

 Patients - Holding patient information

 Staff - Holding staff information.
@crazywolf132
crazywolf132 / Micro-Services-Task.md
Last active July 2, 2019 01:43
Simple case study for micro-services

TASK

Create a Library.

A simple java application will be used to test this, so please use the end-points provided.

Everything should be done in rest, and a simple database will be setup with some basic info for testing.

Services

-- DBF Sem 1 2019
-- Schema Definition
-- New Endor Integrated Data Infrastructure
DROP TABLE MODEL CASCADE CONSTRAINTS;
DROP TABLE LOCATION CASCADE CONSTRAINTS;
DROP TABLE TICKET CASCADE CONSTRAINTS;
DROP TABLE ROUTE CASCADE CONSTRAINTS;
DROP TABLE IRREGULAR_EVENT CASCADE CONSTRAINTS;
DROP TABLE SERVICE CASCADE CONSTRAINTS;
@crazywolf132
crazywolf132 / Department.java
Created April 30, 2019 04:17
Complete Hospital task template
package com.myhospital;
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
private static ArrayList<Patient> allPatients = new ArrayList<>();
private static ArrayList<Department> allDepartments = new ArrayList<>();
@crazywolf132
crazywolf132 / Hospital.md
Created April 9, 2019 00:11
Task to learn java

Hospital

Your task today is to create a hospital management system. You only have to work with departments and patients.

What should happen.

Each department has to have the following:

  • Name
  • Capacity
  • List of patients
  • Teatment type