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
// File Paths | |
var paths = { | |
input: 'src/**/*', | |
output: 'dist/', | |
js: { | |
input: 'src/js/**/*.js', | |
output: 'dist/js/' | |
}, | |
css: { | |
input: 'src/scss/**/*.scss', |
# For the master branch | |
# Delete all local branches except master | |
$ git branch | grep -v "master" | xargs git branch -D | |
# Delete all local branches except those containing 'master' | |
$ git branch | grep -ve " master$" | xargs git branch -D | |
--- | |
# For the develop branch |
import { ReCaptchaInstance } from 'recaptcha-v3'; | |
declare module '@vue/runtime-core' { | |
interface ComponentCustomProperties { | |
$recaptcha: (action: string) => Promise<string>; | |
$recaptchaLoaded: () => Promise<boolean>; | |
$recaptchaInstance: ReCaptchaInstance; | |
} | |
} |
# TypeScript declaration to use $style in a Vue CSS Modules setup | |
import Vue from 'vue'; | |
declare module 'vue/types/vue' { | |
interface Vue { | |
$style: { [key: string]: string }; | |
} | |
} |
# 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> |
// Vessel from Models does not work | |
using Citadel.Models; | |
// Vessel from Entities works | |
using Vessel = Citadel.Entities.Vessel; | |
namespace Citadel | |
{ | |
public class AutoMapperProfile : Profile | |
{ |
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)); |
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} /> |
: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; |