Skip to content

Instantly share code, notes, and snippets.

View lupinitylabs's full-sized avatar

Oliver Matla lupinitylabs

View GitHub Profile
@lupinitylabs
lupinitylabs / GameOfBowling.php
Created May 5, 2023 19:18
This is an attempt of the `StarCoder` AI to generate a PHP class simulating a game of bowling. Looks like the request broke it... 😅
<?php namespace App\Models;
/**
* Class GameOfBowling
*/
class GameOfBowling {
private $_rolls = [];
protected static $_scores = ['' => ''];
@lupinitylabs
lupinitylabs / nuxt.config.js
Last active May 31, 2022 21:58
Custom Nuxt.config.js configuration for running showcode.app in Homestead VMs
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
import path from 'path'
import fs from 'fs'
module.exports = {
server: {
host: '0',
https: {
key: fs.readFileSync(path.resolve(__dirname, 'server.key')),