The frobots_client repository contains the scenic elements that you need to run the FUBARs arena to develop your own Frobots locally.
git clone git@github.com:Bittoku/frobots_client.git| # Environment variables declared in this file are automatically made available to Prisma. | |
| # See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema | |
| # Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. | |
| # See the documentation for all the connection string options: https://pris.ly/d/connection-strings | |
| DATABASE_URL="postgresql://morag_admin:J3tisnsd9@localhost:5432/morag?schema=public" | |
| API_BASE_URL="http://localhost:3000" | |
| NEXT_PUBLIC_API_URL="http://localhost:3000" |
| package resolvers | |
| import ( | |
| schema "github.com/tailor-inc/platform-core-services/cmd/tailorctl/schema/v1:pipeline" | |
| "{{ .Values.cue.package }}/{{ .Values.cue.dist }}/directory:directories" | |
| "{{ .Values.cue.package }}/{{ .Values.cue.dist }}/pipeline:settings" | |
| ) | |
| // input moveToDeletedWorkrecordInput | |
| // id: ID! |
| { | |
| "description": "Escape Key", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_control" | |
| ] |
| import { NextResponse, type NextRequest } from 'next/server'; | |
| export function middleware(req: NextRequest) { | |
| const { pathname } = req.nextUrl; | |
| if (pathname == '/') { | |
| return NextResponse.next(); | |
| } | |
| return NextResponse.redirect(new URL('/', req.url)); |
| :root { | |
| --color-secondary: #5c1c93; | |
| --color-alert: #fafa4d; | |
| --color-black: black; | |
| --color-black2: #1a1a1a; | |
| --color-white: white; | |
| --color-grey-1: #141414; | |
| --color-grey-2: #4b4b4b; | |
| --color-grey-3: #adadad; | |
| --color-grey-4: #5a5a5a; |
| import React from 'react'; | |
| import styles from './DocsLayout.module.css'; | |
| import { Header, HeaderType } from '~/components/_shared/Header'; | |
| type DocsLayoutProps = HasChildrenProps; | |
| export const Layout: React.FC<LayoutProps> = ({ children }) => { | |
| return ( | |
| <> | |
| <Header layout={HeaderType.DOCSLAYOUT} /> |
| var lua_script = (function() { | |
| var tmp; | |
| var G = lua_newtable2(lua_core); | |
| for (var i in lua_libs) { | |
| G.str[i] = lua_newtable2(lua_libs[i]); | |
| } | |
| G.str['arg'] = lua_newtable(); | |
| G.str['_G'] = G; | |
| G.str['module'] = function (name) { | |
| lua_createmodule(G, name, slice(arguments, 1)); |
| // Vessel from Models does not work | |
| using Citadel.Models; | |
| // Vessel from Entities works | |
| using Vessel = Citadel.Entities.Vessel; | |
| namespace Citadel | |
| { | |
| public class AutoMapperProfile : Profile | |
| { |
| # Use case: | |
| # I have a route where there's an ID parameter and I want to be able to pass data through Vue Router. | |
| # Code setup is Vue + TypeScript using vue-class-component | |
| # Home.vue template section | |
| # This list is rendered after fetching data from an API call. | |
| <template> | |
| <li v-for="item in items" :key="item.id" @click.prevent="goToItem(item)">...</li> | |
| </template> |